From 9afec49a625e9c84db5a42db95005bb7976a624f Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Tue, 2 Jun 2020 20:11:41 +0100 Subject: vtun: T2542: do not attempt to create the vtun interface --- python/vyos/ifconfig/vtun.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.2.3