From bfe06683fd7dd50abc2ad5067a598f4ecf6b9a19 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 25 Feb 2020 11:16:35 +0100 Subject: pppoe: T2070: rewrite (dis-)connect op-mode commands in XML and Python --- op-mode-definitions/connect-disconnect.xml | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 op-mode-definitions/connect-disconnect.xml (limited to 'op-mode-definitions/connect-disconnect.xml') diff --git a/op-mode-definitions/connect-disconnect.xml b/op-mode-definitions/connect-disconnect.xml new file mode 100644 index 000000000..77c334180 --- /dev/null +++ b/op-mode-definitions/connect-disconnect.xml @@ -0,0 +1,35 @@ + + + + + Establish a connection + + + + + Bring up a connection-oriented network interface + + + + + sudo ${vyos_op_scripts_dir}/connect_disconnect.py --connect "$3" + + + + + + Take down a connection + + + + + Take down a connection-oriented network interface + + + + + sudo ${vyos_op_scripts_dir}/connect_disconnect.py --disconnect "$3" + + + + -- cgit v1.2.3