commit | ac9bd319b1e61f30dad734f314abd577c1405e3e | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Tue Dec 19 11:17:48 2017 -0500 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Tue Dec 19 17:36:07 2017 -0500 |
tree | 77b8171fac4bb975bc9c9e3be86770e0d7be2d6a | |
parent | 11d0c9a92b13a774fa59686f8e5e44fd52120c80 [diff] |
CORD-2445: Fix race between EPC and nested service model policies Change-Id: I1b00a7f15f3f7b3f080a2582472b61c4f8de5f3e
diff --git a/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py b/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py index fa047a4..7f04b86 100644 --- a/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py +++ b/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py
@@ -94,6 +94,7 @@ s.node_label = '%s-%d'%(node_label, self.obj.id) s.no_sync = True + s.no_policy = True s.save() self.configure_service_instance(s) @@ -233,6 +234,7 @@ service_instances = self.recursive_create_instances_and_links(blueprint['graph'], None, []) for si in service_instances: + si.no_policy = False si.no_sync = False si.save()