From 8c7a42c7776df784cb3adff150dee08e473f3265 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 3 Mar 2009 17:06:53 -0800 Subject: Add initial "interface <> ipv6 ripng" nodes. More work to be done to support this on adsl and serial. --- templates/interfaces/bonding/node.tag/ipv6/node.def | 1 + templates/interfaces/bonding/node.tag/ipv6/ripng/node.def | 1 + .../node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../bonding/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ templates/interfaces/bridge/node.tag/ipv6/node.def | 1 + templates/interfaces/bridge/node.tag/ipv6/ripng/node.def | 1 + .../node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../bridge/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ templates/interfaces/ethernet/node.tag/ipv6/ripng/node.def | 1 + .../node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../ethernet/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ .../ethernet/node.tag/vif/node.tag/ipv6/ripng/node.def | 1 + .../vif/node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../node.tag/vif/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ templates/interfaces/loopback/node.tag/ipv6/ripng/node.def | 1 + .../node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../loopback/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ templates/interfaces/multilink/node.tag/ipv6/ripng/node.def | 1 + .../node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../multilink/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ templates/interfaces/tunnel/node.tag/ipv6/ripng/node.def | 1 + .../node.tag/ipv6/ripng/split-horizon/disable/node.def | 12 ++++++++++++ .../tunnel/node.tag/ipv6/ripng/split-horizon/node.def | 1 + .../ipv6/ripng/split-horizon/poison-reverse/node.def | 13 +++++++++++++ 30 files changed, 191 insertions(+) create mode 100644 templates/interfaces/bonding/node.tag/ipv6/node.def create mode 100644 templates/interfaces/bonding/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/bonding/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def create mode 100644 templates/interfaces/bridge/node.tag/ipv6/node.def create mode 100644 templates/interfaces/bridge/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/bridge/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def create mode 100644 templates/interfaces/ethernet/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/ethernet/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/ethernet/node.tag/vif/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def create mode 100644 templates/interfaces/loopback/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/loopback/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def create mode 100644 templates/interfaces/multilink/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/multilink/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def create mode 100644 templates/interfaces/tunnel/node.tag/ipv6/ripng/node.def create mode 100644 templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/disable/node.def create mode 100644 templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/node.def create mode 100644 templates/interfaces/tunnel/node.tag/ipv6/ripng/split-horizon/poison-reverse/node.def (limited to 'templates') 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/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/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(../../../../@)" -- cgit v1.2.3