blob: 71ba0409693506bb4b8a1875c7d8f9154403292c [file] [log] [blame]
from core.models import NetworkSliver
from observer.deleter import Deleter
class NetworkSliverDeleter(Deleter):
model='NetworkSliver'
def call(self, pk):
network_sliver = NetworkSlivers.objects.get(pk=pk)
# handle openstack delete
network_sliver.delete()