summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/vtun.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-02 21:29:46 +0200
committerGitHub <noreply@github.com>2020-06-02 21:29:46 +0200
commitfcb185eb080a2fb3a234a79fdedb669354f1e8dc (patch)
tree4bb1449773e2602bfab121b1d0c4cd70ac0405e5 /python/vyos/ifconfig/vtun.py
parent78fad655a3894a59880a0385b1b7fd0226eb27ee (diff)
parent1e7134004ae50548e9ec9d5dfa45a1f3d19c1eff (diff)
downloadvyos-1x-fcb185eb080a2fb3a234a79fdedb669354f1e8dc.tar.gz
vyos-1x-fcb185eb080a2fb3a234a79fdedb669354f1e8dc.zip
Merge pull request #440 from thomas-mangin/T2542
vtun: T2542: do not attempt to create the interface
Diffstat (limited to 'python/vyos/ifconfig/vtun.py')
-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