diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-25 20:32:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-25 20:34:46 +0200 |
commit | 49a79954373eb3f70eddb444e855ed744a322e58 (patch) | |
tree | 212834ff8ac74144e7449a7f0056f97708cdf99a /src/conf_mode/dhcp_server.py | |
parent | e76d9a009632629e6a22b0d77eebc913c9268a6d (diff) | |
download | vyos-1x-49a79954373eb3f70eddb444e855ed744a322e58.tar.gz vyos-1x-49a79954373eb3f70eddb444e855ed744a322e58.zip |
ifconfig: T2912: add helper to retrieve interface min/max supported MTU
>>> from vyos.ifconfig import Interface
>>> tmp=Interface('eth0')
>>> tmp.get_min_mtu()
60
>>> tmp.get_max_mtu()
9000
Diffstat (limited to 'src/conf_mode/dhcp_server.py')
0 files changed, 0 insertions, 0 deletions