diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-10 19:58:46 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-10 19:58:46 -0800 |
commit | b83bab57ebbe9f295d517301ebd96402c836f25e (patch) | |
tree | 777080c9660ee2ae4dc3da97114e279d3425426d /templates/protocols/ospf/neighbor | |
parent | a1b390197920264609b903062156a22782ffff8e (diff) | |
download | vyatta-cfg-quagga-b83bab57ebbe9f295d517301ebd96402c836f25e.tar.gz vyatta-cfg-quagga-b83bab57ebbe9f295d517301ebd96402c836f25e.zip |
Add more OSPF configuration.
Diffstat (limited to 'templates/protocols/ospf/neighbor')
3 files changed, 21 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 $(@)\"; " diff --git a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def new file mode 100644 index 00000000..f0422442 --- /dev/null +++ b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def @@ -0,0 +1,7 @@ +type: u32 +help: "Dead neighbor polling interval" +syntax: $(@) >= 1 && $(@) <= 65535; "Must be between 1-65535 seconds" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"neighbor $(../@) poll-interval $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no neighbor $(../@) poll-interval $(@)\"; " diff --git a/templates/protocols/ospf/neighbor/node.tag/priority/node.def b/templates/protocols/ospf/neighbor/node.tag/priority/node.def new file mode 100644 index 00000000..a62838a3 --- /dev/null +++ b/templates/protocols/ospf/neighbor/node.tag/priority/node.def @@ -0,0 +1,7 @@ +type: u32 +help: "Neighbor priority in seconds" +syntax: $(@) >= 0 && $(@) <= 255; "Priority must be between 0-255" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"neighbor $(../@) priority $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no neighbor $(../@) priority $(@)\"; " |