diff options
Diffstat (limited to 'vicn/resource/linux/link.py')
-rw-r--r-- | vicn/resource/linux/link.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vicn/resource/linux/link.py b/vicn/resource/linux/link.py index a930b8a3..ad77bfb9 100644 --- a/vicn/resource/linux/link.py +++ b/vicn/resource/linux/link.py @@ -120,14 +120,14 @@ class Link(Channel): if hasattr(self.src_node, 'vpp') and not self.src_node.vpp is None: vpp_src = VPPInterface(parent = self._src, vpp = self.src_node.vpp, - ip_address = Reference(self._src, 'ip_address'), + ip4_address = Reference(self._src, 'ip4_address'), device_name = 'vpp' + self._src.device_name) manager.commit_resource(vpp_src) if hasattr(self.dst_node, 'vpp') and not self.dst_node.vpp is None: vpp_dst = VPPInterface(parent = self._dst, vpp = self.dst_node.vpp, - ip_address = Reference(self._dst, 'ip_address'), + ip4_address = Reference(self._dst, 'ip4_address'), device_name = 'vpp' + self._dst.device_name) manager.commit_resource(vpp_dst) |