blob: 21fe87f00b3b9cfc900acc3df55dde648f193b34 [file] [log] [blame]
from core.models import NetworkInstance
from synchronizers.base.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()