diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-03-03 18:20:22 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-03-03 18:20:22 -0800 |
commit | 9b4b6a9602ca58db12e753364acde539d7677569 (patch) | |
tree | ef8fd11b2d64f1d5f34b933567b50bfb01fe0cd4 | |
parent | 8c7a42c7776df784cb3adff150dee08e473f3265 (diff) | |
download | vyatta-cfg-quagga-9b4b6a9602ca58db12e753364acde539d7677569.tar.gz vyatta-cfg-quagga-9b4b6a9602ca58db12e753364acde539d7677569.zip |
Minor cleanups to "interface <> ipv6 ospfv3" before copying to other interfaces.
9 files changed, 80 insertions, 41 deletions
diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/cost/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/cost/node.def index 2c653c8f..939f5c5e 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/cost/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/cost/node.def @@ -1,8 +1,13 @@ type: u32 help: Set interface cost syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -update:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 cost $VAR(@) \"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 cost $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 cost" comp_help: possible completions: - <1-65535> Set Cost + <1-65535> Set cost diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/dead-interval/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/dead-interval/node.def index fcc3be00..f870aec0 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/dead-interval/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/dead-interval/node.def @@ -2,8 +2,13 @@ type: u32 help: Set interval after which a neighbor is declared dead default: 40 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -update:expression: "vyatta-vtysh \ - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 dead-interval $VAR(@)\"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 dead-interval $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 dead-interval" comp_help: possible completions: - <1-65535> Seconds (default 40) + <1-65535> Seconds (default 40) diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/hello-interval/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/hello-interval/node.def index ae277b4c..c2fa4198 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/hello-interval/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/hello-interval/node.def @@ -2,8 +2,13 @@ type: u32 help: Set interval between hello packets default: 10 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -update:expression: "vyatta-vtysh \ - -c \"configure terminal\" -c \"interface $VAR(../../../@) \" \ - -c \"ipv6 ospf6 hello-interval $VAR(@)\"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 hello-interval $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 hello-interval" comp_help: possible completions: - <1-65535> Seconds (default 10) + <1-65535> Seconds (default 10) diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/ifmtu/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/ifmtu/node.def index b6b84a87..12c48bf3 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/ifmtu/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/ifmtu/node.def @@ -1,11 +1,13 @@ type: u32 help: Set interface MTU syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -update:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 ifmtu $VAR(@) \"; " -delete:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"interface $VAR(../../../@)\" \ - -c \"no ipv6 ospf6 ifmtu \"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 ifmtu $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 ifmtu" comp_help: possible completions: - <1-65535> Set Cost + <1-65535> Set interface MTU diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/instance-id/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/instance-id/node.def index 4df3aea7..89505635 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/instance-id/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/instance-id/node.def @@ -2,8 +2,13 @@ type: u32 help: Set instance-id for this interface default: 0 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" -update:expression: "vyatta-vtysh \ - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 instance-id $VAR(@)\"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 instance-id $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 instance-id" comp_help: possible completions: - <0-255> Instance Id (default 0) + <0-255> Instance Id (default 0) diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/passive/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/passive/node.def index d5a43377..64d79e0c 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/passive/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/passive/node.def @@ -1,7 +1,9 @@ help: Disable forming of adjacency on this interface -create:expression: "vyatta-vtysh - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 passive\"; " -delete:expression: "vyatta-vtysh - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"no ipv6 ospf6 passive\"; " +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 passive" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 passive" diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/priority/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/priority/node.def index efd10574..1755a61d 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/priority/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/priority/node.def @@ -2,8 +2,13 @@ type: u32 help: Set router priority default: 1 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" -update:expression: "vyatta-vtysh \ - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 priority $VAR(@)\"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 priority $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 priority" comp_help: possible completions: - <0-255> Priority (default 1) + <0-255> Priority (default 1) diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/retransmit-interval/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/retransmit-interval/node.def index 34651d7a..5ca7b677 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/retransmit-interval/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/retransmit-interval/node.def @@ -2,8 +2,13 @@ type: u32 help: Set interval between retransmitting lost link state advertisements default: 5 syntax:expression: $VAR(@) >= 3 && $VAR(@) <= 65535; "Must be between 3-65535" -update:expression: "vyatta-vtysh \ - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 retransmit-interval $VAR(@)\"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 retransmit-interval $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 retransmit-interval" comp_help: possible completions: - <3-65535> Seconds (default 5) + <3-65535> Seconds (default 5) diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/transmit-delay/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/transmit-delay/node.def index 0b623a42..cc3e67ca 100644 --- a/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/transmit-delay/node.def +++ b/templates/interfaces/ethernet/node.tag/ipv6/ospfv3/transmit-delay/node.def @@ -2,8 +2,13 @@ type: u32 help: Set link state transmit delay default: 1 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -update:expression: "vyatta-vtysh \ - -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \ - -c \"ipv6 ospf6 transmit-delay $VAR(@)\"; " +update: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "ipv6 ospf6 transmit-delay $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../@)" \ + -c "no ipv6 ospf6 transmit-delay" comp_help: possible completions: - <1-65535> Seconds (default 1) + <1-65535> Seconds (default 1) |