Ejemplo n.º 1
0
 def hard_delete(self):
     etcd.delete('artifact', None, self.uuid)
     etcd.delete_all('attribute/artifact', self.uuid)
     etcd.delete_all('event/artifact', self.uuid)
Ejemplo n.º 2
0
 def hard_delete(self):
     etcd.delete('macaddress', None, self.macaddr)
     etcd.delete('networkinterface', None, self.uuid)
     etcd.delete_all('attribute/networkinterface', self.uuid)
     etcd.delete_all('event/networkinterface', self.uuid)
     db.delete_metadata('networkinterface', self.uuid)
Ejemplo n.º 3
0
 def hard_delete(self):
     etcd.delete('blob', None, self.uuid)
     etcd.delete_all('attribute/blob', self.uuid)
     etcd.delete_all('event/blob', self.uuid)
Ejemplo n.º 4
0
 def hard_delete(self):
     etcd.delete('instance', None, self.uuid)
     db.delete_metadata('instance', self.uuid)
     etcd.delete_all('attribute/instance', self.uuid)
     etcd.delete_all('event/instance', self.uuid)
Ejemplo n.º 5
0
def hard_delete_network_interface(interface_uuid):
    etcd.delete('networkinterface', None, interface_uuid)
    etcd.delete_all('event/networkinterface', interface_uuid)
Ejemplo n.º 6
0
def hard_delete_instance(instance_uuid):
    etcd.delete('instance', None, instance_uuid)
    etcd.delete_all('event/instance', instance_uuid)
    delete_metadata('instance', instance_uuid)
Ejemplo n.º 7
0
def hard_delete_network(network_uuid):
    etcd.delete('network', None, network_uuid)
    etcd.delete_all('event/network', network_uuid)
    delete_metadata('network', network_uuid)
Ejemplo n.º 8
0
 def hard_delete(self):
     etcd.delete('network', None, self.uuid)
     etcd.delete('vxid', None, self.vxid)
     etcd.delete_all('attribute/network', self.uuid)
     etcd.delete_all('event/network', self.uuid)
     db.delete_metadata('network', self.uuid)