diff options
Diffstat (limited to 'templates/protocols/ospf/neighbor/node.def')
-rw-r--r-- | templates/protocols/ospf/neighbor/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/protocols/ospf/neighbor/node.def b/templates/protocols/ospf/neighbor/node.def new file mode 100644 index 00000000..4c32123a --- /dev/null +++ b/templates/protocols/ospf/neighbor/node.def @@ -0,0 +1,7 @@ +tag: +type: ipv4 +help: "Neighbor IP address" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"neighbor $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no neighbor $(@)\"; " |