From 6ae413b2ca10413b393a1343cbfb23126fa99a50 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 21 Apr 2022 21:30:43 +0200 Subject: xml: T4385: provide building blocks for default route configuration --- .../include/interface/default-route-distance.xml.i | 15 +++++++++++++++ .../include/interface/dhcp-options.xml.i | 21 ++------------------- .../include/interface/no-default-route.xml.i | 8 ++++++++ 3 files changed, 25 insertions(+), 19 deletions(-) create mode 100644 interface-definitions/include/interface/default-route-distance.xml.i create mode 100644 interface-definitions/include/interface/no-default-route.xml.i (limited to 'interface-definitions/include/interface') diff --git a/interface-definitions/include/interface/default-route-distance.xml.i b/interface-definitions/include/interface/default-route-distance.xml.i new file mode 100644 index 000000000..6eda52c91 --- /dev/null +++ b/interface-definitions/include/interface/default-route-distance.xml.i @@ -0,0 +1,15 @@ + + + + Distance for installed default route + + u32:1-255 + Distance for the default route from DHCP server + + + + + + 210 + + diff --git a/interface-definitions/include/interface/dhcp-options.xml.i b/interface-definitions/include/interface/dhcp-options.xml.i index 098d02919..914b60503 100644 --- a/interface-definitions/include/interface/dhcp-options.xml.i +++ b/interface-definitions/include/interface/dhcp-options.xml.i @@ -19,25 +19,8 @@ Identify the vendor client type to the DHCP server - - - Do not request routers from DHCP server - - - - - - Distance for the default route from DHCP server - - u32:1-255 - Distance for the default route from DHCP server - - - - - - 210 - + #include + #include IP addresses or subnets from which to reject DHCP leases diff --git a/interface-definitions/include/interface/no-default-route.xml.i b/interface-definitions/include/interface/no-default-route.xml.i new file mode 100644 index 000000000..307fcff1e --- /dev/null +++ b/interface-definitions/include/interface/no-default-route.xml.i @@ -0,0 +1,8 @@ + + + + Do not install default route to system + + + + -- cgit v1.2.3