summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-06-02 20:11:41 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-06-02 20:11:41 +0100
commit9afec49a625e9c84db5a42db95005bb7976a624f (patch)
treec53d3239a929a1eae4abbe7ddd81bb8e8099389b /python/vyos
parent78fad655a3894a59880a0385b1b7fd0226eb27ee (diff)
downloadvyos-1x-9afec49a625e9c84db5a42db95005bb7976a624f.tar.gz
vyos-1x-9afec49a625e9c84db5a42db95005bb7976a624f.zip
vtun: T2542: do not attempt to create the vtun interface
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/ifconfig/vtun.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/vtun.py b/python/vyos/ifconfig/vtun.py
index 07d39fcbb..60c178b9a 100644
--- a/python/vyos/ifconfig/vtun.py
+++ b/python/vyos/ifconfig/vtun.py
@@ -31,4 +31,14 @@ class VTunIf(Interface):
},
}
- # The _create and _delete need to be moved from interface-ppoe to here
+ # stub this interface is created in the configure script
+
+ def _create(self):
+ # we can not create this interface as it is managed outside
+ # it requires configuring OpenVPN
+ pass
+
+ def _delete(self):
+ # we can not create this interface as it is managed outside
+ # it requires configuring OpenVPN
+ pass