- network = self.vnfds[src_node].get("dc").net # there should be a cleaner way to find the DCNetwork
- network.setChain(src_node, dst_node, vnf_src_interface=src_port, vnf_dst_interface=dst_port)
+ LOG.debug("vnfds.keys: %r" % list(self.vnfds.iterkeys()))
+
+ if src_node in self.vnfds:
+ network = self.vnfds[src_node].get("dc").net # there should be a cleaner way to find the DCNetwork
+ ret = network.setChain(src_node, dst_node, vnf_src_interface=src_port, vnf_dst_interface=dst_port)
+ LOG.debug("setChain return: %r" % ret)