Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* remove missleading " as first character with no closing quote
* use single quotes in output messages (unclutter)
* when writing changes, make output string copy/pasteable my changing '->' to '>'
|
|
|
|
|
|
[op-mode] T1621 rewrite misc commands to python/xml syntax
|
|
|
|
|
|
|
|
|
|
Introduced in commit f524254 ("Python/ifconfig: T1557: use read/write helpers
to interface with sysfs") migrate all remaining calls to this new helper.
This enables us to have a single debug call and a single place for error
checking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
* t1614-bonding:
Python/VyOS validate: add is_ip() to check for IPv4 or IPv4 address
bridge: T1556: remove unused function freeze()
list-interfaces: T1614: support listing interfaces which can be bonded
|
|
|
|
|
|
loopback: T1601: migrate to pyroute2
|
|
|
|
|
|
[op-mode] T1607 rewrite 'reset conntrack' and 'reset & show ip[v6]' to python/xml syntax
|
|
vyos.interfaceconfig common ipv4/ipv6 functions
|
|
python/xml syntax
|
|
get_link_state()
|
|
into its property
|
|
|
|
|