From 6a58c1175a40d3afcb3ca7164852465011cfd544 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 10 Dec 2007 18:07:41 -0800 Subject: Redo RIP cli to remove interface/network requirement. --- templates/protocols/rip/network/node.def | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/protocols/rip/network/node.def (limited to 'templates/protocols/rip/network') diff --git a/templates/protocols/rip/network/node.def b/templates/protocols/rip/network/node.def new file mode 100644 index 00000000..f8188dca --- /dev/null +++ b/templates/protocols/rip/network/node.def @@ -0,0 +1,8 @@ +multi: +type: ipv4net +help: "RIP network" +syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \ + -c \"network $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \ + -c \"no network $(@)\"; " -- cgit v1.2.3