From 5574bd672825a87b1983cc135ae2e0bdabbe751b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 28 Feb 2021 10:14:20 +0100 Subject: l2tpv3: T3366: migrate local-ip and remote-ip CLI options Rename CLI options local-ip to source-address and remote-ip to remote to get a consistent CLI experience for the user. --- python/vyos/ifconfig/l2tpv3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/vyos') diff --git a/python/vyos/ifconfig/l2tpv3.py b/python/vyos/ifconfig/l2tpv3.py index 34f8cd4d3..b717394a6 100644 --- a/python/vyos/ifconfig/l2tpv3.py +++ b/python/vyos/ifconfig/l2tpv3.py @@ -41,8 +41,8 @@ class L2TPv3If(Interface): cmd += ' udp_sport {source_port}' cmd += ' udp_dport {destination_port}' cmd += ' encap {encapsulation}' - cmd += ' local {local_ip}' - cmd += ' remote {remote_ip}' + cmd += ' local {source_address}' + cmd += ' remote {remote}' self._cmd(cmd.format(**self.config)) # setup session -- cgit v1.2.3