Age | Commit message (Collapse) | Author |
|
|
|
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
|
|
|
|
|
|
As of now we only could list the available interfaces for a given interface
type. There was no reverse mapping available which told us that interface
eth0.201 is an ethernet interface or vtun0 is openvpn.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IP address
|
|
|
|
__run_command.
|
|
|