Network sliver deleter, refactored
diff --git a/planetstack/openstack_observer/steps/sync_network_slivers.py b/planetstack/openstack_observer/steps/sync_network_slivers.py
index 92485a5..31e5572 100644
--- a/planetstack/openstack_observer/steps/sync_network_slivers.py
+++ b/planetstack/openstack_observer/steps/sync_network_slivers.py
@@ -9,9 +9,6 @@
requested_interval = 3600
provides=[NetworkSliver]
- def fetch_pending(self):
- return NetworkSliver.objects.filter(Q(enacted__lt=F('updated')) | Q(enacted=None))
-
def call(self, failed=[]):
networkSlivers = NetworkSliver.objects.all()
networkSlivers_by_id = {}
@@ -78,3 +75,8 @@
ip=port["fixed_ips"][0]["ip_address"],
port_id=port["id"])
ns.save()
+
+ def delete_record(self, network_sliver):
+ # Nothing to do, this is an OpenCloud object
+ pass
+