From 8454bb0c2c859a919b0b163d505b9d89212bcfd2 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 29 Jul 2008 15:25:55 -0700 Subject: First pass at gluing ripng cli to quagga. --- templates/protocols/ripng/network/node.def | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/protocols/ripng/network/node.def (limited to 'templates/protocols/ripng/network') diff --git a/templates/protocols/ripng/network/node.def b/templates/protocols/ripng/network/node.def new file mode 100644 index 00000000..0df3d570 --- /dev/null +++ b/templates/protocols/ripng/network/node.def @@ -0,0 +1,13 @@ +multi: +type: ipv6net +help: Set RIPng network + +syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" + +create: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ripng" \ + -c "network $VAR(@)" + +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ripng" \ + -c "no network $VAR(@)" -- cgit v1.2.3