Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-06 | Python/ifconfig: T1712: wait when changing interface state | Christian Poessinger | |
With some interfaces, for example bond vif, it take some time for the state change to really happen. Because of this later code, like starting DHCP client, might not work as expected as get_state() reports the old (real) state. Now when changing state of an interface we are (busy-)waiting up to 12.5 seconds before we inform the user that the interface could not be brought up. This should be more then enough time for any interface to start except when there is really no cable attached. | |||
2019-10-06 | Python/ifconfig: T1557: add return in front of self._cmd() calls | Christian Poessinger | |
2019-10-01 | T1424: Check for http error or redirect, when loading remote files. | John Estabrook | |
(ported from vyatta-cfg f051e369) | |||
2019-09-24 | Python/ifconfig: T1557: add STPIf class (spanning tree) bridge member | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: bugfix removing Q-in-Q VLAN interfaces | Christian Poessinger | |
VLAN interfaces have not been removed "in order". What does it mean? We need to delete Q-in-Q interfaces prior to deleting the underlaying VLAN interface (vif-s). This was not the case and that triggered an exception that a non existing interface was about to be removed. Tested using adding and deleting the following config: set interfaces ethernet eth2 address 192.0.2.1/24 set interfaces ethernet eth2 description "VyOS bonding" set interfaces ethernet eth2 disable-link-detect set interfaces ethernet eth2 mac 00:91:00:00:00:01 set interfaces ethernet eth2 mtu 9000 set interfaces ethernet eth2 vif-s 100 address 192.168.10.1/24 set interfaces ethernet eth2 vif-s 100 description "802.1ad service VLAN 100" set interfaces ethernet eth2 vif-s 100 mtu 1500 set interfaces ethernet eth2 vif-s 100 mac 00:91:00:00:00:02 set interfaces ethernet eth2 vif-s 100 vif-c 110 address "192.168.110.1/24" set interfaces ethernet eth2 vif-s 100 vif-c 110 description "client VLAN 110" set interfaces ethernet eth2 vif-s 100 vif-c 120 address "192.168.120.1/24" set interfaces ethernet eth2 vif-s 100 vif-c 120 description "client VLAN 120" set interfaces ethernet eth2 vif-s 100 vif-c 130 address "192.168.130.1/24" set interfaces ethernet eth2 vif-s 100 vif-c 130 description "client VLAN 130" set interfaces ethernet eth2 vif 400 address 192.168.40.1/24 set interfaces ethernet eth2 vif 400 description "802.1q VLAN 400" set interfaces ethernet eth2 vif 400 mtu 1500 set interfaces ethernet eth2 vif 400 mac 00:91:00:00:00:03 | |||
2019-09-24 | Python/ifconfig: T1557: refactor BondIf 'mode' property to set_mode() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to ↵ | Christian Poessinger | |
set_arp_interval() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BondIf 'arp_ip_target' property to ↵ | Christian Poessinger | |
set_arp_ip_target()/get_arp_ip_target() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to ↵ | Christian Poessinger | |
set_arp_interval() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BondIf 'xmit_hash_policy' property to ↵ | Christian Poessinger | |
set_hash_policy() | |||
2019-09-24 | Python/ifconfig: T1557: remove unused has_autoneg() from EthernetIf | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor Interface 'state' property to ↵ | Christian Poessinger | |
set_state()/get_state() | |||
2019-09-24 | Python/ifconfig: T1557: refactor Interface 'arp_cache_tmo' property to ↵ | Christian Poessinger | |
set_set_arp_cache_tmo() | |||
2019-09-24 | Python/ifconfig: T1557: refactor Interface 'proxy_arp_pvlan' property to ↵ | Christian Poessinger | |
set_proxy_arp_pvlan() | |||
2019-09-24 | Python/ifconfig: T1557: refactor Interface 'proxy_arp' property to ↵ | Christian Poessinger | |
set_proxy_arp() | |||
2019-09-24 | Python/ifconfig: T1557: loopback: implement derived remove() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor Interface 'ifalias' property to set_alias() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor Interface 'link_detect' property to ↵ | Christian Poessinger | |
set_link_detect() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'stp_state' property to set_stp() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'priority' property to set_priority() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'ageing_time' property to ↵ | Christian Poessinger | |
set_ageing_time() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'hello_time' property to ↵ | Christian Poessinger | |
set_hello_time() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'forward_delay' property to ↵ | Christian Poessinger | |
set_forward_delay() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'max_age' property to set_max_age() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor BridgeIf 'multicast_querier' property to ↵ | Christian Poessinger | |
set_multicast_querier() | |||
2019-09-24 | Python/ifconfig: T1557: refactor BondIf 'primary' property to set_primary() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor 'mac' property to set_mac() | Christian Poessinger | |
2019-09-24 | Python/ifconfig: T1557: refactor 'mtu' property to get_mtu()/set_mtu() | Christian Poessinger | |
2019-09-23 | Python/ifconfig: T1680: fix dhclient shutdown | Christian Poessinger | |
Tell DHCP server we release the IP address and also remove it from the interface by properly calling dhclient shutdown. Syslog: Sep 23 21:20:34 vyos dhclient: Killed old client process Sep 23 21:20:35 vyos dhclient: DHCPRELEASE on eth2 to 172.16.35.254 port 67 | |||
2019-09-23 | fixes T1679 (parsing MAC address as base-10) | Marek Isalski | |
2019-09-20 | Python/ifconfig: T1557: ethernet: add offloading interfaces | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: update comments | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: delete all assigned IP addresses on remove() | Christian Poessinger | |
2019-09-20 | ethernet: T1637: call remove() on interface deletion | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: use proper inheritance levels on remove() | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: unify '/sys/class/net/{}' path | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: vmxnet3/virtio_net do not support changing ↵ | Christian Poessinger | |
speed/duplex control | |||
2019-09-20 | Python/ifconfig: T1557: vmxnet3/virtio_net do not support changing flow control | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: query driver if it supports auto negotiation | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: call ethtool with full path | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: return stdout string for _cmd() | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: add ethernet interface get_driver_name() | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: redirect _cmd stderr to stdout | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: ethernet: add method for changing speed and duplex | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: mac: ignore empty address strings | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: ethernet: support changing flow control | Christian Poessinger | |
Ethernet flow control can be set by set_flow_control() which enables/disables generation of pause frames. | |||
2019-09-20 | Python/ifconfig: T1557: import cleanup for subprocess | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: support VLAN {ingress,egress}-qos-mapping | Christian Poessinger | |
ingress-qos-map - defines a mapping of VLAN header prio field to the Linux internal packet priority on incoming frames. The format is FROM:TO with multiple mappings separated by spaces. egress-qos-map - defines a mapping of Linux internal packet priority to VLAN header prio field but for outgoing frames. The format is the same as for ingress-qos-map. | |||
2019-09-20 | ethernet: T1637: initial rewrite in XML/Python style | Christian Poessinger | |
2019-09-20 | Python/ifconfig: T1557: rename EthernetIf -> VLANIf | Christian Poessinger | |
An Ethernet Interface will provide additional functionality (link speed/duplex) which is not available for a Bond Interface, but both share the same VLAN capabilities. |