CORD-2865 remove creator field
Change-Id: I3f53e4fe8232fa58e48c28dc61b70ad7bc9bf55f
diff --git a/xos/synchronizer/model_policies/model_policy_voltserviceinstance.py b/xos/synchronizer/model_policies/model_policy_voltserviceinstance.py
index 435fbfb..0756b45 100644
--- a/xos/synchronizer/model_policies/model_policy_voltserviceinstance.py
+++ b/xos/synchronizer/model_policies/model_policy_voltserviceinstance.py
@@ -69,7 +69,6 @@
eastbound_si_class = model_accessor.get_model_class(si_class)
eastbound_si = eastbound_si_class()
- eastbound_si.creator = si.creator
eastbound_si.owner_id = link.provider_service_id
eastbound_si.save()
link = ServiceInstanceLink(provider_service_instance=eastbound_si, subscriber_service_instance=si)
diff --git a/xos/synchronizer/model_policies/test_model_policy_voltserviceinstance.py b/xos/synchronizer/model_policies/test_model_policy_voltserviceinstance.py
index b0c867b..6de0209 100644
--- a/xos/synchronizer/model_policies/test_model_policy_voltserviceinstance.py
+++ b/xos/synchronizer/model_policies/test_model_policy_voltserviceinstance.py
@@ -124,7 +124,6 @@
link.provider_service.get_service_instance_class_name.return_value = "VSGServiceInstance"
si = Mock()
- si.creator = 1
si.subscribed_links.all.return_value = []
si.owner.subscribed_dependencies.all.return_value = [link]
@@ -134,7 +133,6 @@
self.assertEqual(save_vsg.call_count, 1)
vsg = save_vsg.call_args[0][0]
- self.assertEqual(vsg.creator, si.creator)
# Should have created a link from OLT to vsg
diff --git a/xos/synchronizer/models/volt.xproto b/xos/synchronizer/models/volt.xproto
index 54e4ce2..54a0474 100644
--- a/xos/synchronizer/models/volt.xproto
+++ b/xos/synchronizer/models/volt.xproto
@@ -10,7 +10,6 @@
option owner_class_name = "VOLTService";
option verbose_name = "vOLT Service Instance";
- optional manytoone creator->User:created_volts = 1 [db_index = True, null = True, blank = True];
required string onu_type = 2 [help_text = "ONU Type", default = "v-ontani", null = False, db_index = False, blank = False];
optional string description = 3 [max_length = 254, null = True, db_index = False, blank = True];
}