CORD-1008 add Dockerfile and docker-compose for fabric service
Change-Id: I292c0ab8c5b5d994f37b308ed10bffa8c950b8c2
diff --git a/xos/synchronizer/steps/sync_vroutertenant.py b/xos/synchronizer/steps/sync_vroutertenant.py
index c20795a..d549289 100644
--- a/xos/synchronizer/steps/sync_vroutertenant.py
+++ b/xos/synchronizer/steps/sync_vroutertenant.py
@@ -24,7 +24,9 @@
return fos
def get_node_tag(self, node, tagname):
- tags = Tag.select_by_content_object(node).filter(name=tagname)
+ tags = Tag.objects.filter(content_type=model_accessor.get_content_type_id(node),
+ object_id=node.id,
+ name=tagname)
if tags:
return tags[0].value
else:
@@ -40,7 +42,7 @@
if (not deleted):
objs = VRouterTenant.objects.all()
else:
- objs = VRouterTenant.deleted_objects.all()
+ objs = super(SyncVRouterTenant, self).fetch_pending(deleted)
objs = list(objs)