diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-26 15:59:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-26 15:59:46 +0200 |
commit | 65130073eec20cdbb701b0f15a5a2e2676c96039 (patch) | |
tree | b9aac1b4d2cfa489ad51c76619ded06d0cdebd8a /python/vyos/ifconfig/loopback.py | |
parent | f52f7bb85886cab81a64739b35cdaf179048e28f (diff) | |
download | vyos-1x-65130073eec20cdbb701b0f15a5a2e2676c96039.tar.gz vyos-1x-65130073eec20cdbb701b0f15a5a2e2676c96039.zip |
ifconfig: T2653: move dummy interface to get_config_dict()
This changes the dummy interface implementation to make use of get_config_dict()
and also implement a new vyos.ifconfig.Interface().update() function to gather
all the scattered calls to update common interface configuration options.
Derived classes of Interface() should extend update() to their needs for their
special interface type - e.g. bond or bridge.
Diffstat (limited to 'python/vyos/ifconfig/loopback.py')
0 files changed, 0 insertions, 0 deletions