Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-04 | Python/configdict: add function vlan_to_dict | Christian Poessinger | |
A generic function which can parse the VLAN (vif, vif-s, cif-c) nodes in a config session. A dictionary describing the VLAN is returned. A good example will be the interface-bonding.py script used to generate bond interfaces in the system. It is used as follows: if conf.exists('vif'): for vif in conf.list_nodes('vif'): # set config level to vif interface conf.set_level(cfg_base + ' vif ' + vif) bond['vif'].append(vlan_to_dict(conf)) | |||
2019-09-04 | Python/configdict: add list_diff function to compare two lists | Christian Poessinger | |
A list containing only unique elements not part of the other list is returned. This is usefull to check e.g. which IP addresses need to be removed from the OS. | |||
2019-09-04 | [wireguard] - T1628: Adopt WireGuard configuration script to new ↵ | hagbard | |
vyos.ifconfig class | |||
2019-09-04 | Python/ifconfig: T1557: remove double quotes on iproute2 commands | Christian Poessinger | |
2019-09-04 | bonding: T1614: T1557: add vif/vif-s VLAN interface support | Christian Poessinger | |
Support for vif-c interfaces is still missing | |||
2019-09-03 | Python/ifconfig: T1557: cleanup __init__/debug | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: derive BondIf from EthernetIf as we need VLANs | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: add description for Interface classes | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: bonding: add primary and mode property | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: bonding: add get_slaves() call | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: bonding: disable interface prior enslaving them | Christian Poessinger | |
An interface can only be added to a bond if it is in 'down' state. If interface is in 'up' state, the following Kernel error will be thrown: > bond0: eth1 is up - this may be due to an out of date ifenslave. | |||
2019-09-03 | Python/ifconfig: T1557: adjust debug message format #2 | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: bonding: add {add,del}_port for slave interface | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: add message to raised Exceptions | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1556: bridge: no need to manually generate an exception | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: adjust debug message format | Christian Poessinger | |
* 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 '>' | |||
2019-09-03 | Python/ifconfig: T1557: bonding: bugfix read_sysfs when debug is enabled | Christian Poessinger | |
2019-09-03 | Python/ifconfig: T1557: bonding: bugfix setting ARP IP target | Christian Poessinger | |
2019-09-01 | Merge pull request #119 from alkersan/T1621_misc_rewrites | Christian Poessinger | |
[op-mode] T1621 rewrite misc commands to python/xml syntax | |||
2019-09-01 | Python/ifconfig: T1557: bonding: add arp_ip_target | Christian Poessinger | |
2019-09-01 | Python/ifconfig: T1557: bonding: add arp_interval | Christian Poessinger | |
2019-09-01 | Python/ifconfig: T1557: bonding: add xmit_hash_policy | Christian Poessinger | |
2019-09-01 | Python/ifconfig: T1557: add proxy_arp{_pvlan} functions | Christian Poessinger | |
2019-09-01 | Python/ifconfig: T1557: migrate all sysfs calls to {read,write}_sysfs helper | Christian Poessinger | |
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. | |||
2019-08-31 | [boot-config-loader] T1622: Add failsafe and back trace | John Estabrook | |
2019-08-31 | Python/ifconfig: T1557: enable debugging with DEBUG=1 environment variable | Christian Poessinger | |
2019-08-31 | Python/ifconfig: T1557: use read/write helpers to interface with sysfs | Christian Poessinger | |
2019-08-31 | Python/ifconfig: T1557: cleanup import section | Christian Poessinger | |
2019-08-31 | loopback: T1601: migrate from pyroute2 -> vyos.ifconfig | Christian Poessinger | |
2019-08-31 | Python/ifconfig: T1557: fix DHCP/DHCPv6 daemon and add Bridge/Dummy interface | Christian Poessinger | |
2019-08-30 | Python/ifconfig: cleanup import statements | Christian Poessinger | |
2019-08-30 | Python/ifconfig: remove ipv4/ipv6 handling, iproute2 autodetects addr family | Christian Poessinger | |
2019-08-30 | [op-mode] T1621 rewrite misc commands to python/xml syntax | Dmytro Aleksandrov | |
2019-08-30 | Python/ifconfig: rename interfaceconfig.py -> ifconfig.py | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work IP address creation/deletion | Christian Poessinger | |
2019-08-30 | Python/ifconfig: replace up()/down() with 'state' property | Christian Poessinger | |
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. | |||
2019-08-30 | Python/ifconfig: add @property statement on 'remove' call | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work and rename remove_interface() -> remove() to delete ↵ | Christian Poessinger | |
an interface | |||
2019-08-30 | Python/ifconfig: replace linkstate() with up()/down() methods | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work __init__ interface creation | Christian Poessinger | |
2019-08-30 | Python/ifconfig: rework interface alias assignment | Christian Poessinger | |
2019-08-30 | Python/ifconfig: rework changing of interface MAC address | Christian Poessinger | |
2019-08-30 | Python/ifconfig: remove unused depricated methods | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work mtu getter/setter | Christian Poessinger | |
Instead of calling iprotue2 via a subprocess (which is only complicated and expensive), we rather directly interact with sysfs). | |||
2019-08-30 | Python/ifconfig: re-indent help strings | Christian Poessinger | |
2019-08-30 | Python/ifconfig: ease __init__ if/else statements | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-indent with 4 spaces for better readability | Christian Poessinger | |
Command user: $ autopep8 python/vyos/interfaceconfig.py --in-place | |||
2019-08-30 | Python/ifconfig: remove trailing whitespaces | Christian Poessinger | |
2019-08-27 | Merge branch 't1614-bonding' into current | Christian Poessinger | |
* 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 | |||
2019-08-27 | Python/VyOS validate: add is_ip() to check for IPv4 or IPv4 address | Christian Poessinger | |