summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-09 20:25:24 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-09 20:25:24 +0200
commit96049e6fdad05bd73423ea64780e90b385807cb9 (patch)
tree74d9e2d31367cb4d134f3008584505e99b3411f1 /python
parentb40e57cc9b516f4ce206681a17f8624a2ab04139 (diff)
downloadvyos-1x-96049e6fdad05bd73423ea64780e90b385807cb9.tar.gz
vyos-1x-96049e6fdad05bd73423ea64780e90b385807cb9.zip
ipsec: T3720: assigning vti secondary address caused interface in A/D state
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/vti.py7
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