diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-01 13:19:53 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-01 16:24:38 +0000 |
commit | 67583141f433c31ebccc8eeba06b2b285636e680 (patch) | |
tree | 9c1a8e6c12166f015c7204c574aced66744e6ae0 /interface-definitions/include | |
parent | 4168e03721b2a9595de4090fddf1280d39ccce4c (diff) | |
download | vyos-1x-67583141f433c31ebccc8eeba06b2b285636e680.tar.gz vyos-1x-67583141f433c31ebccc8eeba06b2b285636e680.zip |
mtu: T4572: Add DHCP-option MTU to get values from DHCP-server
Ability to get MTU from DHCP-server and don't touch it per
any interface change if interface 'dhcp-options mtu' is
configured
(cherry picked from commit 29b0ee30bf2622a40ca3d17e3f6b9e94e5b62072)
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/interface/dhcp-options.xml.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/dhcp-options.xml.i b/interface-definitions/include/interface/dhcp-options.xml.i index 39a3dbb2e..5b30ca08b 100644 --- a/interface-definitions/include/interface/dhcp-options.xml.i +++ b/interface-definitions/include/interface/dhcp-options.xml.i @@ -14,6 +14,12 @@ <help>Override system host-name sent to DHCP server</help> </properties> </leafNode> + <leafNode name="mtu"> + <properties> + <help>Use MTU value from DHCP server - ignore interface setting</help> + <valueless/> + </properties> + </leafNode> <leafNode name="vendor-class-id"> <properties> <help>Identify the vendor client type to the DHCP server</help> |