From 3edaff512227f19ab5108c6175d13be07cd41fc9 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 2 Feb 2021 10:20:33 +0000 Subject: conf-mode: T3280: Add XML for protocols static --- .../include/static-route-disable.xml.i | 8 + .../include/static-route-distance.xml.i | 14 + .../include/static-route-map.xml.i | 10 + .../include/static-route-next-hop-vrf.xml.i | 17 + interface-definitions/protocols-static.xml.in | 362 +++++++++++++++++++++ 5 files changed, 411 insertions(+) create mode 100644 interface-definitions/include/static-route-disable.xml.i create mode 100644 interface-definitions/include/static-route-distance.xml.i create mode 100644 interface-definitions/include/static-route-map.xml.i create mode 100644 interface-definitions/include/static-route-next-hop-vrf.xml.i create mode 100644 interface-definitions/protocols-static.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/include/static-route-disable.xml.i b/interface-definitions/include/static-route-disable.xml.i new file mode 100644 index 000000000..100ca3cbf --- /dev/null +++ b/interface-definitions/include/static-route-disable.xml.i @@ -0,0 +1,8 @@ + + + + Disable interface static route + + + + diff --git a/interface-definitions/include/static-route-distance.xml.i b/interface-definitions/include/static-route-distance.xml.i new file mode 100644 index 000000000..d6c0d3d82 --- /dev/null +++ b/interface-definitions/include/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-route-map.xml.i b/interface-definitions/include/static-route-map.xml.i new file mode 100644 index 000000000..25542b8b1 --- /dev/null +++ b/interface-definitions/include/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-route-next-hop-vrf.xml.i b/interface-definitions/include/static-route-next-hop-vrf.xml.i new file mode 100644 index 000000000..c90140856 --- /dev/null +++ b/interface-definitions/include/static-route-next-hop-vrf.xml.i @@ -0,0 +1,17 @@ + + + + VRF to leak route + + txt + Name of VRF to leak to + + + protocols vrf + + + ^[a-zA-Z0-9\-_]{1,100}$ + + + + diff --git a/interface-definitions/protocols-static.xml.in b/interface-definitions/protocols-static.xml.in new file mode 100644 index 000000000..2a9f7014f --- /dev/null +++ b/interface-definitions/protocols-static.xml.in @@ -0,0 +1,362 @@ + + + + + + + + Static route parameters + + + + + Interface based static route + + ipv4net + Interface based static route + + + + + + + + + Next-hop interface [REQUIRED] + + + + + + #include + #include + #include + + + + + + + Interface based IPv6 static route + + ipv6net + Interface based IPv6 static route + + + + + + + + + Next-hop interface [REQUIRED] + + + + + + #include + #include + + + + + #include + + + Static route + + ipv4net + Static route + + + + + + + + + Silently discard pkts when matched + + + #include + + + Tag value for this route + + u32:1-4294967295 + Tag value for this route + + + + + + + + + + + DHCP interface that supplies the next-hop IP address for this static route + + + + + txt + DHCP interface + + + + + + Next-hop router + + ipv4 + Next-hop router + + + + + + + #include + #include + + + IPv4 gateway interface name + + + + + txt + IPv4 gateway interface name + + + + #include + + + + + + + Static IPv6 route + + ipv6net + Static IPv6 route + + + + + + + + + Silently discard pkts when matched + + + #include + + + + + Next-hop IPv6 router [REQUIRED] + + ipv6 + Next-hop IPv6 router [REQUIRED] + + + + + + + #include + #include + + + IPv6 gateway interface name + + + + + txt + IPv6 gateway interface name + + + + #include + + + + + + + Policy route table number + + u32:1-200 + Policy route table number + + + + + + + + + Interface based static route + + ipv4net + Interface based static route + + + + + + + + + Next-hop interface [REQUIRED] + + + + + + #include + #include + + + + + + + Interface based IPv6 static route + + ipv6net + Interface based IPv6 static route + + + + + + + + + Next-hop interface [REQUIRED] + + + + + + #include + #include + + + + + + + Static route + + ipv4net + Static route + + + + + + + + + Silently discard pkts when matched + + + #include + + + + + DHCP interface that supplies the next-hop IP address for this static route + + + + + txt + DHCP interface + + + + + + Next-hop router + + ipv4 + Next-hop router + + + + + + + #include + #include + + + IPv4 gateway interface name + + + + + txt + IPv4 gateway interface name + + + + #include + + + + + + + Static IPv6 route + + ipv6net + Static IPv6 route + + + + + + + + + Silently discard pkts when matched + + + #include + + + + + Next-hop IPv6 router [REQUIRED] + + ipv6 + Next-hop IPv6 router [REQUIRED] + + + + + + + #include + #include + + + + + + + + + + + -- cgit v1.2.3