diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-07 13:44:45 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-07 13:44:45 -0800 |
commit | a217f94c2264a681c97a7a76dabcacb8fce2a57e (patch) | |
tree | 007791d2c30994cbbd651c814407a74fa1733ab4 /templates/interfaces | |
parent | da9b9d773588e20b60b46538c46f7c4e14903935 (diff) | |
parent | cae1b1454c0961e4a1733af93ce41d3db6f4b4b8 (diff) | |
download | vyatta-cfg-quagga-a217f94c2264a681c97a7a76dabcacb8fce2a57e.tar.gz vyatta-cfg-quagga-a217f94c2264a681c97a7a76dabcacb8fce2a57e.zip |
Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-quagga into jenner
Diffstat (limited to 'templates/interfaces')
48 files changed, 351 insertions, 82 deletions
diff --git a/templates/interfaces/bonding/node.tag/ipv6/node.def b/templates/interfaces/bonding/node.tag/ipv6/node.def new file mode 100644 index 00000000..6ad8bff4 --- /dev/null +++ b/templates/interfaces/bonding/node.tag/ipv6/node.def @@ -0,0 +1 @@ +help: Set IPv6 parameters for specified interface diff --git a/templates/interfaces/bonding/node.tag/ipv6/ripng/node.def b/templates/interfaces/bonding/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/bonding/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..825f24ab --- /dev/null +++ b/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..e3b1663b --- /dev/null +++ b/templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/bridge/node.tag/ipv6/node.def b/templates/interfaces/bridge/node.tag/ipv6/node.def new file mode 100644 index 00000000..6ad8bff4 --- /dev/null +++ b/templates/interfaces/bridge/node.tag/ipv6/node.def @@ -0,0 +1 @@ +help: Set IPv6 parameters for specified interface diff --git a/templates/interfaces/bridge/node.tag/ipv6/ripng/node.def b/templates/interfaces/bridge/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/bridge/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..825f24ab --- /dev/null +++ b/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..e3b1663b --- /dev/null +++ b/templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" 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) diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ripng/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..825f24ab --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..e3b1663b --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/cost/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/cost/node.def index 2c653c8f..7bae7638 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/cost/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 cost $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/dead-interval/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/dead-interval/node.def index fcc3be00..d6967b69 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/dead-interval/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 dead-interval $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/hello-interval/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/hello-interval/node.def index ae277b4c..450d2b4b 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/hello-interval/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 hello-interval $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/ifmtu/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/ifmtu/node.def index b6b84a87..5f66af6f 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/ifmtu/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 ifmtu $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/instance-id/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/instance-id/node.def index 4df3aea7..9cd33f16 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/instance-id/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 instance-id $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/passive/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/passive/node.def index d5a43377..c40b17de 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/passive/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 passive" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$VAR(../../../@)" \ + -c "no ipv6 ospf6 passive" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/priority/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/priority/node.def index efd10574..d459e07f 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/priority/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 priority $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/retransmit-interval/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/retransmit-interval/node.def index 34651d7a..acc85823 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/retransmit-interval/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 retransmit-interval $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$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/vif/node.tag/ipv6/ospfv3/transmit-delay/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/transmit-delay/node.def index 0b623a42..0fc8a699 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ospfv3/transmit-delay/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../../@).$VAR(../../../@)" \ + -c "ipv6 ospf6 transmit-delay $VAR(@)" +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@).$VAR(../../../@)" \ + -c "no ipv6 ospf6 transmit-delay" comp_help: possible completions: - <1-65535> Seconds (default 1) + <1-65535> Seconds (default 1) diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..c2dbb4f3 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../../@).$VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../../@).$VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..dc6fc0e6 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../../@).$VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../../@).$VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/loopback/node.tag/ipv6/ripng/node.def b/templates/interfaces/loopback/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/loopback/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..825f24ab --- /dev/null +++ b/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..e3b1663b --- /dev/null +++ b/templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/multilink/node.tag/ipv6/ripng/node.def b/templates/interfaces/multilink/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/multilink/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..825f24ab --- /dev/null +++ b/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..e3b1663b --- /dev/null +++ b/templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/tunnel/node.tag/ipv6/ripng/node.def b/templates/interfaces/tunnel/node.tag/ipv6/ripng/node.def new file mode 100644 index 00000000..cb2d89aa --- /dev/null +++ b/templates/interfaces/tunnel/node.tag/ipv6/ripng/node.def @@ -0,0 +1 @@ +help: Set Routing Information Protocol (RIPng) for specified interface diff --git a/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/disable/node.def b/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..825f24ab --- /dev/null +++ b/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,12 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" diff --git a/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/node.def b/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def b/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..e3b1663b --- /dev/null +++ b/templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,13 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh \ + -c "configure terminal" \ + -c "interface $VAR(../../../../@)" \ + -c "no ipv6 ripng split-horizon" \ + -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet interface $VAR(../../../../@)" |