diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-25 14:23:20 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-25 14:23:20 -0700 |
commit | 214f3a847b510cea455eb1e4100c3d6a8a08a089 (patch) | |
tree | b7e5aa42a79ca69a54f713a16eee9a2a1f35cfb1 /interface-templates/ipv6 | |
parent | e00178c2c5e1e7d21a811bb93ac869be1d583ac8 (diff) | |
parent | eedd04171ff3c6017e52830e8e07ec437e1c6663 (diff) | |
download | vyatta-cfg-quagga-214f3a847b510cea455eb1e4100c3d6a8a08a089.tar.gz vyatta-cfg-quagga-214f3a847b510cea455eb1e4100c3d6a8a08a089.zip |
Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg-quagga into jenner
Diffstat (limited to 'interface-templates/ipv6')
15 files changed, 94 insertions, 0 deletions
diff --git a/interface-templates/ipv6/node.def b/interface-templates/ipv6/node.def new file mode 100644 index 00000000..6ad8bff4 --- /dev/null +++ b/interface-templates/ipv6/node.def @@ -0,0 +1 @@ +help: Set IPv6 parameters for specified interface diff --git a/interface-templates/ipv6/ospfv3/cost/node.def b/interface-templates/ipv6/ospfv3/cost/node.def new file mode 100644 index 00000000..cee09b44 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/cost/node.def @@ -0,0 +1,7 @@ +type: u32 +help: Set interface cost +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 cost $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 cost" +comp_help: possible completions: + <1-65535> Set cost diff --git a/interface-templates/ipv6/ospfv3/dead-interval/node.def b/interface-templates/ipv6/ospfv3/dead-interval/node.def new file mode 100644 index 00000000..41c0e624 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/dead-interval/node.def @@ -0,0 +1,10 @@ +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: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "ipv6 ospf6 dead-interval $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "no ipv6 ospf6 dead-interval" +comp_help: possible completions: + <1-65535> Seconds (default 40) diff --git a/interface-templates/ipv6/ospfv3/hello-interval/node.def b/interface-templates/ipv6/ospfv3/hello-interval/node.def new file mode 100644 index 00000000..81a4d624 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/hello-interval/node.def @@ -0,0 +1,10 @@ +type: u32 +help: Set interval between hello packets +default: 10 +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "ipv6 ospf6 hello-interval $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "no ipv6 ospf6 hello-interval" +comp_help: possible completions: + <1-65535> Seconds (default 10) diff --git a/interface-templates/ipv6/ospfv3/ifmtu/node.def b/interface-templates/ipv6/ospfv3/ifmtu/node.def new file mode 100644 index 00000000..c9455838 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/ifmtu/node.def @@ -0,0 +1,7 @@ +type: u32 +help: Set interface MTU +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 ifmtu $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 ifmtu" +comp_help: possible completions: + <1-65535> Set interface MTU diff --git a/interface-templates/ipv6/ospfv3/instance-id/node.def b/interface-templates/ipv6/ospfv3/instance-id/node.def new file mode 100644 index 00000000..aab2ee2a --- /dev/null +++ b/interface-templates/ipv6/ospfv3/instance-id/node.def @@ -0,0 +1,8 @@ +type: u32 +help: Set instance-id for this interface +default: 0 +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" +update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 instance-id" +comp_help: possible completions: + <0-255> Instance Id (default 0) diff --git a/interface-templates/ipv6/ospfv3/node.def b/interface-templates/ipv6/ospfv3/node.def new file mode 100644 index 00000000..3e8380e6 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/node.def @@ -0,0 +1,2 @@ +help: Set IPv6 Open Shortest Path First (OSPFv3) parameters for specified interface +create: sudo /opt/vyatta/sbin/quagga-manager check ospf6d diff --git a/interface-templates/ipv6/ospfv3/passive/node.def b/interface-templates/ipv6/ospfv3/passive/node.def new file mode 100644 index 00000000..a01ee538 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/passive/node.def @@ -0,0 +1,3 @@ +help: Disable forming of adjacency on this interface +create: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 passive" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 passive" diff --git a/interface-templates/ipv6/ospfv3/priority/node.def b/interface-templates/ipv6/ospfv3/priority/node.def new file mode 100644 index 00000000..89484918 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/priority/node.def @@ -0,0 +1,8 @@ +type: u32 +help: Set router priority +default: 1 +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" +update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 priority $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 priority" +comp_help: possible completions: + <0-255> Priority (default 1) diff --git a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def new file mode 100644 index 00000000..073294ac --- /dev/null +++ b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def @@ -0,0 +1,10 @@ +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: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "ipv6 ospf6 retransmit-interval $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "no ipv6 ospf6 retransmit-interval" +comp_help: possible completions: + <3-65535> Seconds (default 5) diff --git a/interface-templates/ipv6/ospfv3/transmit-delay/node.def b/interface-templates/ipv6/ospfv3/transmit-delay/node.def new file mode 100644 index 00000000..a8469f57 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/transmit-delay/node.def @@ -0,0 +1,10 @@ +type: u32 +help: Set link state transmit delay +default: 1 +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "ipv6 ospf6 transmit-delay $VAR(@)" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "no ipv6 ospf6 transmit-delay" +comp_help: possible completions: + <1-65535> Seconds (default 1) diff --git a/interface-templates/ipv6/ripng/node.def b/interface-templates/ipv6/ripng/node.def new file mode 100644 index 00000000..d59da359 --- /dev/null +++ b/interface-templates/ipv6/ripng/node.def @@ -0,0 +1,2 @@ +help: Set Routing Information Protocol (RIPng) for specified interface +create: sudo /opt/vyatta/sbin/quagga-manager check ripngd diff --git a/interface-templates/ipv6/ripng/split-horizon/disable/node.def b/interface-templates/ipv6/ripng/split-horizon/disable/node.def new file mode 100644 index 00000000..817ae8e2 --- /dev/null +++ b/interface-templates/ipv6/ripng/split-horizon/disable/node.def @@ -0,0 +1,6 @@ +help: Disable split horizon on specified interface +create: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ripng split-horizon" +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ripng split-horizon" + +commit:expression: ($VAR(../poison-reverse/) == ""); \ + "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for $IFNAME" diff --git a/interface-templates/ipv6/ripng/split-horizon/node.def b/interface-templates/ipv6/ripng/split-horizon/node.def new file mode 100644 index 00000000..ba39b616 --- /dev/null +++ b/interface-templates/ipv6/ripng/split-horizon/node.def @@ -0,0 +1 @@ +help: Set to control split horizon parameters on this interface diff --git a/interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def b/interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def new file mode 100644 index 00000000..8f17f99e --- /dev/null +++ b/interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def @@ -0,0 +1,9 @@ +help: Enable poison reverse for split-horizon +create: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -c "ipv6 ripng split-horizon poisoned-reverse" + +delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \ + -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 $IFNAME" |