Age | Commit message (Collapse) | Author |
|
|
|
|
|
Commit cb1b72c5c ("Python/ifconfig: replace linkstate() with up()/down() methods")
replaced the linkstate property in favour of up()/down() functions.
Instead it really makes more sense to have a propery to also query the current
linkstate from sysfs.
|
|
|
|
an interface
|
|
|
|
|
|
|
|
|
|
|
|
Instead of calling iprotue2 via a subprocess (which is only complicated and
expensive), we rather directly interact with sysfs).
|
|
|
|
|
|
Command user:
$ autopep8 python/vyos/interfaceconfig.py --in-place
|
|
|
|
vyos.interfaceconfig common ipv4/ipv6 functions
|
|
get_link_state()
|
|
into its property
|
|
|
|
IP address
|