diff options
Diffstat (limited to 'vicn/resource/vpp/vpp_commands.py')
-rw-r--r-- | vicn/resource/vpp/vpp_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vicn/resource/vpp/vpp_commands.py b/vicn/resource/vpp/vpp_commands.py index 63c74808..40315c19 100644 --- a/vicn/resource/vpp/vpp_commands.py +++ b/vicn/resource/vpp/vpp_commands.py @@ -21,7 +21,7 @@ CMD_VPP_CREATE_IFACE = ''' vppctl create host-interface name {vpp_interface.parent.device_name} hw-addr {vpp_interface.parent.mac_address} vppctl set interface state {vpp_interface.device_name} up ''' -CMD_VPP_SET_IP = 'vppctl set int ip address {netdevice.device_name} {netdevice.ip_address}/{netdevice.prefix_len}' +CMD_VPP_SET_IP = 'vppctl set int ip address {netdevice.device_name} {netdevice.ip4_address}/{netdevice.prefix_len}' CMD_VPP_SET_UP = 'vppctl set int state {netdevice.device_name} up' ##### VPP IP ROUTING ##### |