From 190b662532c9f97ba1249b6b5a0631f05862250a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 11 Feb 2021 22:16:26 +0100 Subject: T3267: T2181: migrate per interface routing protocol settings to vyos-1x --- interface-templates/ipv6/ospfv3/bfd/node.def | 3 --- interface-templates/ipv6/ospfv3/cost/node.def | 8 -------- interface-templates/ipv6/ospfv3/dead-interval/node.def | 10 ---------- interface-templates/ipv6/ospfv3/hello-interval/node.def | 10 ---------- interface-templates/ipv6/ospfv3/ifmtu/node.def | 7 ------- interface-templates/ipv6/ospfv3/instance-id/node.def | 8 -------- interface-templates/ipv6/ospfv3/mtu-ignore/node.def | 3 --- interface-templates/ipv6/ospfv3/network/node.def | 9 --------- interface-templates/ipv6/ospfv3/node.def | 1 - interface-templates/ipv6/ospfv3/passive/node.def | 3 --- interface-templates/ipv6/ospfv3/priority/node.def | 8 -------- interface-templates/ipv6/ospfv3/retransmit-interval/node.def | 10 ---------- interface-templates/ipv6/ospfv3/transmit-delay/node.def | 10 ---------- interface-templates/ipv6/ripng/node.def | 1 - interface-templates/ipv6/ripng/split-horizon/disable/node.def | 6 ------ interface-templates/ipv6/ripng/split-horizon/node.def | 1 - .../ipv6/ripng/split-horizon/poison-reverse/node.def | 9 --------- 17 files changed, 107 deletions(-) delete mode 100644 interface-templates/ipv6/ospfv3/bfd/node.def delete mode 100644 interface-templates/ipv6/ospfv3/cost/node.def delete mode 100644 interface-templates/ipv6/ospfv3/dead-interval/node.def delete mode 100644 interface-templates/ipv6/ospfv3/hello-interval/node.def delete mode 100644 interface-templates/ipv6/ospfv3/ifmtu/node.def delete mode 100644 interface-templates/ipv6/ospfv3/instance-id/node.def delete mode 100644 interface-templates/ipv6/ospfv3/mtu-ignore/node.def delete mode 100644 interface-templates/ipv6/ospfv3/network/node.def delete mode 100644 interface-templates/ipv6/ospfv3/node.def delete mode 100644 interface-templates/ipv6/ospfv3/passive/node.def delete mode 100644 interface-templates/ipv6/ospfv3/priority/node.def delete mode 100644 interface-templates/ipv6/ospfv3/retransmit-interval/node.def delete mode 100644 interface-templates/ipv6/ospfv3/transmit-delay/node.def delete mode 100644 interface-templates/ipv6/ripng/node.def delete mode 100644 interface-templates/ipv6/ripng/split-horizon/disable/node.def delete mode 100644 interface-templates/ipv6/ripng/split-horizon/node.def delete mode 100644 interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def (limited to 'interface-templates') diff --git a/interface-templates/ipv6/ospfv3/bfd/node.def b/interface-templates/ipv6/ospfv3/bfd/node.def deleted file mode 100644 index 74d02f4f..00000000 --- a/interface-templates/ipv6/ospfv3/bfd/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Enable Bidirectional Forwarding Detection (BFD) support -create:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 bfd" -delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 bfd" diff --git a/interface-templates/ipv6/ospfv3/cost/node.def b/interface-templates/ipv6/ospfv3/cost/node.def deleted file mode 100644 index be2335a0..00000000 --- a/interface-templates/ipv6/ospfv3/cost/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: u32 -help: Interface cost -default: 1 -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -val_help: u32:1-65535; OSPFv3 cost - -update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 cost $VAR(@)" - diff --git a/interface-templates/ipv6/ospfv3/dead-interval/node.def b/interface-templates/ipv6/ospfv3/dead-interval/node.def deleted file mode 100644 index 37a44b64..00000000 --- a/interface-templates/ipv6/ospfv3/dead-interval/node.def +++ /dev/null @@ -1,10 +0,0 @@ -type: u32 -help: Interval after which neighbor is declared dead -default: 40 -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -val_help: u32:1-65535; Neighbor dead interval in seconds (default 40) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 dead-interval $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 dead-interval 40" diff --git a/interface-templates/ipv6/ospfv3/hello-interval/node.def b/interface-templates/ipv6/ospfv3/hello-interval/node.def deleted file mode 100644 index f81ac5e4..00000000 --- a/interface-templates/ipv6/ospfv3/hello-interval/node.def +++ /dev/null @@ -1,10 +0,0 @@ -type: u32 -help: Interval between hello packets -default: 10 -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -val_help: u32:1-65535; Interval between OSPFv3 hello packets in seconds (default 10) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 hello-interval $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 hello-interval 10" diff --git a/interface-templates/ipv6/ospfv3/ifmtu/node.def b/interface-templates/ipv6/ospfv3/ifmtu/node.def deleted file mode 100644 index 18d6d515..00000000 --- a/interface-templates/ipv6/ospfv3/ifmtu/node.def +++ /dev/null @@ -1,7 +0,0 @@ -type: u32 -help: Interface MTU -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -val_help: u32:1-65535; Interface MTU - -update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 ifmtu $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 ifmtu" diff --git a/interface-templates/ipv6/ospfv3/instance-id/node.def b/interface-templates/ipv6/ospfv3/instance-id/node.def deleted file mode 100644 index 7e87411e..00000000 --- a/interface-templates/ipv6/ospfv3/instance-id/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: u32 -help: Instance-id -default: 0 -syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" -val_help: u32:0-255; Instance Id (default 0) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id 0" diff --git a/interface-templates/ipv6/ospfv3/mtu-ignore/node.def b/interface-templates/ipv6/ospfv3/mtu-ignore/node.def deleted file mode 100644 index 2edf5205..00000000 --- a/interface-templates/ipv6/ospfv3/mtu-ignore/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Disable Maximum Transmission Unit mismatch detection -create:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 mtu-ignore" -delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 mtu-ignore" diff --git a/interface-templates/ipv6/ospfv3/network/node.def b/interface-templates/ipv6/ospfv3/network/node.def deleted file mode 100644 index d1f6292d..00000000 --- a/interface-templates/ipv6/ospfv3/network/node.def +++ /dev/null @@ -1,9 +0,0 @@ -type: txt -help: Network type -syntax:expression: $VAR(@) in "broadcast", "point-to-point"; \ - "Must be (broadcast|point-to-point)" -update:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf network $VAR(@)" -delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf network" - -val_help: broadcast; Broadcast network type -val_help: point-to-point; Point-to-point network type diff --git a/interface-templates/ipv6/ospfv3/node.def b/interface-templates/ipv6/ospfv3/node.def deleted file mode 100644 index 43905a53..00000000 --- a/interface-templates/ipv6/ospfv3/node.def +++ /dev/null @@ -1 +0,0 @@ -help: IPv6 Open Shortest Path First (OSPFv3) diff --git a/interface-templates/ipv6/ospfv3/passive/node.def b/interface-templates/ipv6/ospfv3/passive/node.def deleted file mode 100644 index b4665b34..00000000 --- a/interface-templates/ipv6/ospfv3/passive/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Disable forming of adjacency -create: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 passive" -delete: 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 deleted file mode 100644 index 61f7c9be..00000000 --- a/interface-templates/ipv6/ospfv3/priority/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: u32 -help: Router priority -default: 1 -syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" -val_help: u32:0-255; Priority (default 1) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 priority $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 priority 1" diff --git a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def deleted file mode 100644 index 3271bd50..00000000 --- a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def +++ /dev/null @@ -1,10 +0,0 @@ -type: u32 -help: Interval between retransmitting lost link state advertisements -default: 5 -syntax:expression: $VAR(@) >= 3 && $VAR(@) <= 65535; "Must be between 3-65535" -val_help: u32:3-65535; Retransmit interval in seconds (default 5) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 retransmit-interval $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 retransmit-interval 5" diff --git a/interface-templates/ipv6/ospfv3/transmit-delay/node.def b/interface-templates/ipv6/ospfv3/transmit-delay/node.def deleted file mode 100644 index 137e5a89..00000000 --- a/interface-templates/ipv6/ospfv3/transmit-delay/node.def +++ /dev/null @@ -1,10 +0,0 @@ -type: u32 -help: Link state transmit delay -default: 1 -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" -val_help: u32:1-65535; Link state transmit delay (default 1) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 transmit-delay $VAR(@)" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ospf6 transmit-delay 1" diff --git a/interface-templates/ipv6/ripng/node.def b/interface-templates/ipv6/ripng/node.def deleted file mode 100644 index 69d49298..00000000 --- a/interface-templates/ipv6/ripng/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Routing Information Protocol (RIPng) diff --git a/interface-templates/ipv6/ripng/split-horizon/disable/node.def b/interface-templates/ipv6/ripng/split-horizon/disable/node.def deleted file mode 100644 index ce6ab8a6..00000000 --- a/interface-templates/ipv6/ripng/split-horizon/disable/node.def +++ /dev/null @@ -1,6 +0,0 @@ -help: Disable split horizon -create: vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ripng split-horizon" -delete: 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 deleted file mode 100644 index c4fb5ddc..00000000 --- a/interface-templates/ipv6/ripng/split-horizon/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Split horizon parameters diff --git a/interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def b/interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def deleted file mode 100644 index 82010036..00000000 --- a/interface-templates/ipv6/ripng/split-horizon/poison-reverse/node.def +++ /dev/null @@ -1,9 +0,0 @@ -help: Enable poison reverse for split-horizon -create: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ipv6 ripng split-horizon poisoned-reverse" - -delete: 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" -- cgit v1.2.3