Skip to content

Commit

Permalink
Update service on static route changes
Browse files Browse the repository at this point in the history
Update service state so that any property changes are reflected.
This does not relaunch the service VMs but only updates the properties
that have changed (in this case interface static routes)

Change-Id: I1b49be6bc159dab962f002c1f134cf45dc41fe41
Closes-Bug: #1479283
(cherry picked from commit 4c3fca5)
  • Loading branch information
rrugge authored and Hampapur Ajay committed Oct 2, 2015
1 parent f143a24 commit ea7b272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/svc-monitor/svc_monitor/svc_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def _vnc_subscribe_actions(self, oper_info):
for si_id in dependency_tracker.resources.get('service_instance', []):
si = ServiceInstanceSM.get(si_id)
if si:
si.state = 'launch'
self._create_service_instance(si)
else:
for vm_id in dependency_tracker.resources.get(
Expand Down

0 comments on commit ea7b272

Please sign in to comment.