summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-06-02 20:12:05 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-06-02 20:12:05 +0100
commit1e7134004ae50548e9ec9d5dfa45a1f3d19c1eff (patch)
tree4bb1449773e2602bfab121b1d0c4cd70ac0405e5
parent9afec49a625e9c84db5a42db95005bb7976a624f (diff)
downloadvyos-1x-1e7134004ae50548e9ec9d5dfa45a1f3d19c1eff.tar.gz
vyos-1x-1e7134004ae50548e9ec9d5dfa45a1f3d19c1eff.zip
pppoe: T2542: do not attempt to create the pppoe interface
-rw-r--r--python/vyos/ifconfig/pppoe.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/pppoe.py b/python/vyos/ifconfig/pppoe.py
index 7504408cf..787245696 100644
--- a/python/vyos/ifconfig/pppoe.py
+++ b/python/vyos/ifconfig/pppoe.py
@@ -30,4 +30,12 @@ class PPPoEIf(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
+ pass
+
+ def _delete(self):
+ # we can not create this interface as it is managed outside
+ pass