diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-09 20:25:24 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-09 20:25:24 +0200 |
commit | 96049e6fdad05bd73423ea64780e90b385807cb9 (patch) | |
tree | 74d9e2d31367cb4d134f3008584505e99b3411f1 /python/vyos/ifconfig/vti.py | |
parent | b40e57cc9b516f4ce206681a17f8624a2ab04139 (diff) | |
download | vyos-1x-96049e6fdad05bd73423ea64780e90b385807cb9.tar.gz vyos-1x-96049e6fdad05bd73423ea64780e90b385807cb9.zip |
ipsec: T3720: assigning vti secondary address caused interface in A/D state
Diffstat (limited to 'python/vyos/ifconfig/vti.py')
-rw-r--r-- | python/vyos/ifconfig/vti.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/python/vyos/ifconfig/vti.py b/python/vyos/ifconfig/vti.py index a217d28ea..470ebbff3 100644 --- a/python/vyos/ifconfig/vti.py +++ b/python/vyos/ifconfig/vti.py @@ -33,7 +33,7 @@ class VTIIf(Interface): # - https://man7.org/linux/man-pages/man8/ip-link.8.html # - https://man7.org/linux/man-pages/man8/ip-tunnel.8.html mapping = { - 'source_interface' : 'dev', + 'source_interface' : 'dev', } if_id = self.ifname.lstrip('vti') @@ -50,8 +50,3 @@ class VTIIf(Interface): self._cmd(cmd.format(**self.config)) self.set_interface('admin_state', 'down') - - def set_admin_state(self, state): - # function is not implemented for VTI interfaces as this is entirely - # handled by the ipsec up/down scripts - pass |