Destroy service chain if service instance is deleted
Currently, once a service chain is created, we do not check again until the service instance is removed from policy or policy is detached from VN. But it is possible that either the VM, VMI or service instance has been deleted or has some problem. In those cases, we should check the validity of the service chain again and destroy it if everything is no longer valid.
Reviewed: https:/ /review. opencontrail. org/14095 github. org/Juniper/ contrail- controller/ commit/ b8d047ecab31f8f 6a7da498aad71f4 bc6730bad3
Committed: http://
Submitter: Zuul
Branch: master
commit b8d047ecab31f8f 6a7da498aad71f4 bc6730bad3
Author: Sachin Bansal <email address hidden>
Date: Mon Sep 28 14:29:19 2015 -0700
Destroy service chain if service instance is deleted
Currently, once a service chain is created, we do not check again until the service instance is removed from policy or policy is detached from VN. But it is possible that either the VM, VMI or service instance has been deleted or has some problem. In those cases, we should check the validity of the service chain again and destroy it if everything is no longer valid.
Change-Id: Ic16d4af50057f6 e842d1d4e2356d7 2728681a182
Closes-Bug: 1499125