예제 #1
0
 def evaluate_dependency(self):
     if not self.dependency_tracker:
         return
     super(STAmqpHandle, self).evaluate_dependency()
     for vn_id in self.dependency_tracker.resources.get(
             'virtual_network', []):
         vn = VirtualNetworkST.get(vn_id)
         if vn is not None:
             vn.uve_send()
예제 #2
0
 def evaluate_dependency(self):
     if not self.dependency_tracker:
         return
     super(STAmqpHandle, self).evaluate_dependency()
     for vn_id in self.dependency_tracker.resources.get(
             'virtual_network', []):
         vn = VirtualNetworkST.get(vn_id)
         if vn is not None:
             vn.uve_send()
예제 #3
0
 def evaluate_dependency(self):
     if not self.dependency_tracker:
         return
     super(STAmqpHandle, self).evaluate_dependency()
     for vn_id in self.dependency_tracker.resources.get(
             'virtual_network', []):
         vn = VirtualNetworkST.get(vn_id)
         if vn is not None:
             vn.uve_send()
     for bgp_router_id in \
             self.dependency_tracker.resources.get('bgp_router', []):
         bgp_router = BgpRouterST.get(bgp_router_id)
         if bgp_router is not None:
             bgp_router.update_peering()