From 665d1c5bdb24aa0aef79405dc2f2962b930fb9b3 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Tue, 3 Mar 2020 20:01:56 +0100 Subject: vrf: T31: initial support for a VRF backend in XML/Python This is a work in progress to complete T31 whoever thought it was less than 1 hour of work was ..... optimistic. Only VRF vreation and show is supported right now. No interface can be bound to any one VRF. --- op-mode-definitions/show-vrf.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 op-mode-definitions/show-vrf.xml (limited to 'op-mode-definitions/show-vrf.xml') diff --git a/op-mode-definitions/show-vrf.xml b/op-mode-definitions/show-vrf.xml new file mode 100644 index 000000000..fb2fddd49 --- /dev/null +++ b/op-mode-definitions/show-vrf.xml @@ -0,0 +1,24 @@ + + + + + + + Show VRF information + + ${vyos_completion_dir}/list_vrf.py -e + + + + Show VRF information for an interface + + + + + ${vyos_completion_dir}/list_vrf.py -e "$4" + + + + + + -- cgit v1.2.3