blob: 8a8f5162a9d3be10456e14828b22e374ea41219a [file] [log] [blame]
from core.models import NetworkInstance
from observer.deleter import Deleter
class NetworkInstanceDeleter(Deleter):
model='NetworkInstance'
def call(self, pk):
network_instance = NetworkInstances.objects.get(pk=pk)
# handle openstack delete
network_instance.delete()