Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-04 | Merge branch 'current' of https://github.com/vyos/vyos-1x into current | hagbard | |
2019-09-04 | [wireguard] - T1628: fixing comment indent | hagbard | |
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 | openvpn: T1617: T1632: support quotes in openvpn-option | Christian Poessinger | |
The following CLI command can be used to add a raw option to OpenVPN which requires quotes: > set interfaces openvpn vtun10 openvpn-option 'push "keepalive 1 10"' The resulting config file will then have the following set: > push "keepalive 1 10" | |||
2019-09-04 | [service https] T1443: rename "server-names" option to "server-name". | Daniil Baturin | |
2019-09-04 | [service https] T1443: correct the listen-address option in the script. | Daniil Baturin | |
2019-09-04 | [service https] T1443: use "listen-address" option instead of "listen-addresses" | Daniil Baturin | |
to follow the established convention. | |||
2019-09-04 | Merge pull request #124 from c-po/t1614-bonding | Christian Poessinger | |
T1614 bonding | |||
2019-09-04 | bridge: T1615: can not add member interface to bridge if it is also part of ↵ | Christian Poessinger | |
a bond | |||
2019-09-04 | bonding: T1614: T532: new commit validators | Christian Poessinger | |
As in the past during the priority race of the bash script invalid configuration could appear in the CLI and are de-synced from the kernle state, e.g. some bonding modes do not support arp_interval. This is no longer allowed and added to the migration script so that the config again represents the truth. | |||
2019-09-04 | Merge branch 'current' of https://github.com/vyos/vyos-1x into current | Daniil Baturin | |
2019-09-04 | [service https] T1443: create /etc/vyos if it doesn't exist. | Daniil Baturin | |
2019-09-04 | T1443: add dependencies on nginx-light and ssl-cert. | Daniil Baturin | |
2019-09-04 | bonding: T1614: add vif-c VLAN interface support | Christian Poessinger | |
Tested using: ============= set interfaces bonding bond0 address 192.0.2.1/24 set interfaces bonding bond0 description "VyOS bonding" set interfaces bonding bond0 disable-link-detect set interfaces bonding bond0 hash-policy layer2+3 set interfaces bonding bond0 ip arp-cache-timeout 86400 set interfaces bonding bond0 mac 00:91:00:00:00:01 set interfaces bonding bond0 mode active-backup set interfaces bonding bond0 mtu 9000 set interfaces bonding bond0 member interface eth1 set interfaces bonding bond0 member interface eth2 set interfaces bonding bond0 vif-s 100 address 192.168.10.1/24 set interfaces bonding bond0 vif-s 100 description "802.1ad service VLAN 100" set interfaces bonding bond0 vif-s 100 mtu 1500 set interfaces bonding bond0 vif-s 100 mac 00:91:00:00:00:02 set interfaces bonding bond0 vif-s 100 vif-c 110 address "192.168.110.1/24" set interfaces bonding bond0 vif-s 100 vif-c 110 description "client VLAN 110" set interfaces bonding bond0 vif-s 100 vif-c 120 address "192.168.120.1/24" set interfaces bonding bond0 vif-s 100 vif-c 120 description "client VLAN 120" set interfaces bonding bond0 vif-s 100 vif-c 130 address "192.168.130.1/24" set interfaces bonding bond0 vif-s 100 vif-c 130 description "client VLAN 130" set interfaces bonding bond0 vif 400 address 192.168.40.1/24 set interfaces bonding bond0 vif 400 description "802.1q VLAN 400" set interfaces bonding bond0 vif 400 mtu 1500 set interfaces bonding bond0 vif 400 mac 00:91:00:00:00:03 | |||
2019-09-04 | bonding: T1614: identical ID on vif and vif-s is not allowed | Christian Poessinger | |
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-04 | bonding: T1614: remove obsolete 'member_remove' dict-key | Christian Poessinger | |
2019-09-04 | bonding: T1614: can not set primary interface when it's not part of the bond | Christian Poessinger | |
2019-09-04 | bonding: T1614: Initial version in new style XML/Python interface | Christian Poessinger | |
The node 'interfaces ethernet eth0 bond-group' has been changed and de-nested. Bond members are now configured in the bond interface itself. set interfaces bonding bond0 member interface eth0 | |||
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 | bridge: T1615: remove is_ip import from vyos.validate | Christian Poessinger | |
2019-09-01 | bridge: T1615: support deleting interface description | Christian Poessinger | |
2019-09-01 | Revert "bridge: T1556: increase max-age range to 1200 (30 minutes)" | Christian Poessinger | |
This reverts commit 3b119c91ca70c51aab24d4ef8b3913f47281321a. | |||
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-09-01 | bridge: T1556: change 'aging' help text | Christian Poessinger | |
2019-09-01 | Merge pull request #123 from jestabro/current | Daniil Baturin | |
[boot-config-loader] T1622: Add failsafe and back trace | |||
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 | |