From 9d0e8634c79f5347545ec28fffd3612c760e07df Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 14 Mar 2021 15:28:42 +0000 Subject: static: T3280: move building blocks to subfolder As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense. --- .../include/static-route-blackhole.xml.i | 10 --- .../include/static-route-distance.xml.i | 14 ---- .../include/static-route-interface.xml.i | 17 ---- .../include/static-route-map.xml.i | 10 --- .../include/static-route-vrf.xml.i | 19 ----- interface-definitions/include/static-route.xml.i | 90 ---------------------- interface-definitions/include/static-route6.xml.i | 75 ------------------ .../include/static/static-route-blackhole.xml.i | 10 +++ .../include/static/static-route-distance.xml.i | 14 ++++ .../include/static/static-route-interface.xml.i | 17 ++++ .../include/static/static-route-map.xml.i | 10 +++ .../include/static/static-route-vrf.xml.i | 19 +++++ .../include/static/static-route.xml.i | 90 ++++++++++++++++++++++ .../include/static/static-route6.xml.i | 75 ++++++++++++++++++ 14 files changed, 235 insertions(+), 235 deletions(-) delete mode 100644 interface-definitions/include/static-route-blackhole.xml.i delete mode 100644 interface-definitions/include/static-route-distance.xml.i delete mode 100644 interface-definitions/include/static-route-interface.xml.i delete mode 100644 interface-definitions/include/static-route-map.xml.i delete mode 100644 interface-definitions/include/static-route-vrf.xml.i delete mode 100644 interface-definitions/include/static-route.xml.i delete mode 100644 interface-definitions/include/static-route6.xml.i create mode 100644 interface-definitions/include/static/static-route-blackhole.xml.i create mode 100644 interface-definitions/include/static/static-route-distance.xml.i create mode 100644 interface-definitions/include/static/static-route-interface.xml.i create mode 100644 interface-definitions/include/static/static-route-map.xml.i create mode 100644 interface-definitions/include/static/static-route-vrf.xml.i create mode 100644 interface-definitions/include/static/static-route.xml.i create mode 100644 interface-definitions/include/static/static-route6.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/static-route-blackhole.xml.i b/interface-definitions/include/static-route-blackhole.xml.i deleted file mode 100644 index 838a475d3..000000000 --- a/interface-definitions/include/static-route-blackhole.xml.i +++ /dev/null @@ -1,10 +0,0 @@ - - - - Silently discard packets when matched - - - #include - - - diff --git a/interface-definitions/include/static-route-distance.xml.i b/interface-definitions/include/static-route-distance.xml.i deleted file mode 100644 index da171fe1f..000000000 --- a/interface-definitions/include/static-route-distance.xml.i +++ /dev/null @@ -1,14 +0,0 @@ - - - - Distance for this route - - u32:1-255 - Distance for this route - - - - - - - diff --git a/interface-definitions/include/static-route-interface.xml.i b/interface-definitions/include/static-route-interface.xml.i deleted file mode 100644 index 6670c0e33..000000000 --- a/interface-definitions/include/static-route-interface.xml.i +++ /dev/null @@ -1,17 +0,0 @@ - - - - Gateway interface name - - - - - txt - Gateway interface name - - - - - - - diff --git a/interface-definitions/include/static-route-map.xml.i b/interface-definitions/include/static-route-map.xml.i deleted file mode 100644 index 48f5055aa..000000000 --- a/interface-definitions/include/static-route-map.xml.i +++ /dev/null @@ -1,10 +0,0 @@ - - - - Filter routes installed in local route map - - policy route-map - - - - diff --git a/interface-definitions/include/static-route-vrf.xml.i b/interface-definitions/include/static-route-vrf.xml.i deleted file mode 100644 index eda4d7aee..000000000 --- a/interface-definitions/include/static-route-vrf.xml.i +++ /dev/null @@ -1,19 +0,0 @@ - - - - VRF to leak route - - default - vrf name - - - txt - Name of VRF to leak to - - - ^(default)$ - - - - - diff --git a/interface-definitions/include/static-route.xml.i b/interface-definitions/include/static-route.xml.i deleted file mode 100644 index 94fbdd3d6..000000000 --- a/interface-definitions/include/static-route.xml.i +++ /dev/null @@ -1,90 +0,0 @@ - - - - VRF static IPv4 route - - ipv4net - IPv4 static route - - - - - - - - - Silently discard pkts when matched - - - #include - - - Tag value for this route - - u32:1-4294967295 - Tag value for this route - - - - - - - - - - - DHCP interface supplying next-hop IP address - - - - - txt - DHCP interface name - - - - - - - - - Next-hop IPv4 router interface - - - - - txt - Gateway interface name - - - - - - - #include - #include - #include - - - - - Next-hop IPv4 router address - - ipv4 - Next-hop router address - - - - - - - #include - #include - #include - #include - - - - - - diff --git a/interface-definitions/include/static-route6.xml.i b/interface-definitions/include/static-route6.xml.i deleted file mode 100644 index 4522ef39b..000000000 --- a/interface-definitions/include/static-route6.xml.i +++ /dev/null @@ -1,75 +0,0 @@ - - - - VRF static IPv6 route - - ipv6net - IPv6 static route - - - - - - - - - Silently discard pkts when matched - - - #include - - - Tag value for this route - - u32:1-4294967295 - Tag value for this route - - - - - - - - - - - IPv6 gateway interface name - - - - - txt - Gateway interface name - - - - - - - #include - #include - #include - - - - - IPv6 gateway address - - ipv6 - Next-hop IPv6 router - - - - - - - #include - #include - #include - #include - - - - - - diff --git a/interface-definitions/include/static/static-route-blackhole.xml.i b/interface-definitions/include/static/static-route-blackhole.xml.i new file mode 100644 index 000000000..f2ad23e69 --- /dev/null +++ b/interface-definitions/include/static/static-route-blackhole.xml.i @@ -0,0 +1,10 @@ + + + + Silently discard packets when matched + + + #include + + + diff --git a/interface-definitions/include/static/static-route-distance.xml.i b/interface-definitions/include/static/static-route-distance.xml.i new file mode 100644 index 000000000..a651b98d7 --- /dev/null +++ b/interface-definitions/include/static/static-route-distance.xml.i @@ -0,0 +1,14 @@ + + + + Distance for this route + + u32:1-255 + Distance for this route + + + + + + + diff --git a/interface-definitions/include/static/static-route-interface.xml.i b/interface-definitions/include/static/static-route-interface.xml.i new file mode 100644 index 000000000..ed4f455e5 --- /dev/null +++ b/interface-definitions/include/static/static-route-interface.xml.i @@ -0,0 +1,17 @@ + + + + Gateway interface name + + + + + txt + Gateway interface name + + + + + + + diff --git a/interface-definitions/include/static/static-route-map.xml.i b/interface-definitions/include/static/static-route-map.xml.i new file mode 100644 index 000000000..af825e043 --- /dev/null +++ b/interface-definitions/include/static/static-route-map.xml.i @@ -0,0 +1,10 @@ + + + + Filter routes installed in local route map + + policy route-map + + + + diff --git a/interface-definitions/include/static/static-route-vrf.xml.i b/interface-definitions/include/static/static-route-vrf.xml.i new file mode 100644 index 000000000..69aba253c --- /dev/null +++ b/interface-definitions/include/static/static-route-vrf.xml.i @@ -0,0 +1,19 @@ + + + + VRF to leak route + + default + vrf name + + + txt + Name of VRF to leak to + + + ^(default)$ + + + + + diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i new file mode 100644 index 000000000..254ea3163 --- /dev/null +++ b/interface-definitions/include/static/static-route.xml.i @@ -0,0 +1,90 @@ + + + + VRF static IPv4 route + + ipv4net + IPv4 static route + + + + + + + + + Silently discard pkts when matched + + + #include + + + Tag value for this route + + u32:1-4294967295 + Tag value for this route + + + + + + + + + + + DHCP interface supplying next-hop IP address + + + + + txt + DHCP interface name + + + + + + + + + Next-hop IPv4 router interface + + + + + txt + Gateway interface name + + + + + + + #include + #include + #include + + + + + Next-hop IPv4 router address + + ipv4 + Next-hop router address + + + + + + + #include + #include + #include + #include + + + + + + diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i new file mode 100644 index 000000000..0ea995588 --- /dev/null +++ b/interface-definitions/include/static/static-route6.xml.i @@ -0,0 +1,75 @@ + + + + VRF static IPv6 route + + ipv6net + IPv6 static route + + + + + + + + + Silently discard pkts when matched + + + #include + + + Tag value for this route + + u32:1-4294967295 + Tag value for this route + + + + + + + + + + + IPv6 gateway interface name + + + + + txt + Gateway interface name + + + + + + + #include + #include + #include + + + + + IPv6 gateway address + + ipv6 + Next-hop IPv6 router + + + + + + + #include + #include + #include + #include + + + + + + -- cgit v1.2.3