summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-24wireguard: T1681 - code cleanup and maintenace.hagbard
* fully uses VYOS_TAGNODE_VALUE, which reduces checks and loops to a single interface * config comparison happens now only in get_config()
2019-09-24Jenkins: rely on the global defined label for Docker executorsChristian Poessinger
2019-09-24Merge branch 'ifconfig-api-change' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 'ifconfig-api-change' of github.com:c-po/vyos-1x: (26 commits) Python/ifconfig: T1557: add STPIf class (spanning tree) bridge member Python/ifconfig: T1557: bugfix removing Q-in-Q VLAN interfaces openvpn: T1548: setup interface alias Python/ifconfig: T1557: refactor BondIf 'mode' property to set_mode() Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to set_arp_interval() Python/ifconfig: T1557: refactor BondIf 'arp_ip_target' property to set_arp_ip_target()/get_arp_ip_target() Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to set_arp_interval() Python/ifconfig: T1557: refactor BondIf 'xmit_hash_policy' property to set_hash_policy() Python/ifconfig: T1557: remove unused has_autoneg() from EthernetIf Python/ifconfig: T1557: refactor Interface 'state' property to set_state()/get_state() Python/ifconfig: T1557: refactor Interface 'arp_cache_tmo' property to set_set_arp_cache_tmo() Python/ifconfig: T1557: refactor Interface 'proxy_arp_pvlan' property to set_proxy_arp_pvlan() Python/ifconfig: T1557: refactor Interface 'proxy_arp' property to set_proxy_arp() Python/ifconfig: T1557: loopback: implement derived remove() Python/ifconfig: T1557: refactor Interface 'ifalias' property to set_alias() Python/ifconfig: T1557: refactor Interface 'link_detect' property to set_link_detect() Python/ifconfig: T1557: refactor BridgeIf 'stp_state' property to set_stp() Python/ifconfig: T1557: refactor BridgeIf 'priority' property to set_priority() Python/ifconfig: T1557: refactor BridgeIf 'ageing_time' property to set_ageing_time() Python/ifconfig: T1557: refactor BridgeIf 'hello_time' property to set_hello_time() ...
2019-09-24Python/ifconfig: T1557: add STPIf class (spanning tree) bridge memberChristian Poessinger
2019-09-24Python/ifconfig: T1557: bugfix removing Q-in-Q VLAN interfacesChristian 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-24openvpn: T1548: setup interface aliasChristian Poessinger
2019-09-24Python/ifconfig: T1557: refactor BondIf 'mode' property to set_mode()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to ↵Christian Poessinger
set_arp_interval()
2019-09-24Python/ifconfig: T1557: refactor BondIf 'arp_ip_target' property to ↵Christian Poessinger
set_arp_ip_target()/get_arp_ip_target()
2019-09-24Python/ifconfig: T1557: refactor BondIf 'arp_interval' property to ↵Christian Poessinger
set_arp_interval()
2019-09-24Python/ifconfig: T1557: refactor BondIf 'xmit_hash_policy' property to ↵Christian Poessinger
set_hash_policy()
2019-09-24Python/ifconfig: T1557: remove unused has_autoneg() from EthernetIfChristian Poessinger
2019-09-24Python/ifconfig: T1557: refactor Interface 'state' property to ↵Christian Poessinger
set_state()/get_state()
2019-09-24Python/ifconfig: T1557: refactor Interface 'arp_cache_tmo' property to ↵Christian Poessinger
set_set_arp_cache_tmo()
2019-09-24Python/ifconfig: T1557: refactor Interface 'proxy_arp_pvlan' property to ↵Christian Poessinger
set_proxy_arp_pvlan()
2019-09-24Python/ifconfig: T1557: refactor Interface 'proxy_arp' property to ↵Christian Poessinger
set_proxy_arp()
2019-09-24Python/ifconfig: T1557: loopback: implement derived remove()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor Interface 'ifalias' property to set_alias()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor Interface 'link_detect' property to ↵Christian Poessinger
set_link_detect()
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'stp_state' property to set_stp()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'priority' property to set_priority()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'ageing_time' property to ↵Christian Poessinger
set_ageing_time()
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'hello_time' property to ↵Christian Poessinger
set_hello_time()
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'forward_delay' property to ↵Christian Poessinger
set_forward_delay()
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'max_age' property to set_max_age()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'multicast_querier' property to ↵Christian Poessinger
set_multicast_querier()
2019-09-24Python/ifconfig: T1557: refactor BondIf 'primary' property to set_primary()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor 'mac' property to set_mac()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor 'mtu' property to get_mtu()/set_mtu()Christian Poessinger
2019-09-24Jenkins: remove hardcoded package nameChristian Poessinger
2019-09-23Python/ifconfig: T1680: fix dhclient shutdownChristian 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-23Merge pull request #136 from maznu/currenthagbard-01
[ethernet] -T1679: during bootup: invalid literal for int() with base 10
2019-09-23fixes T1679 (parsing MAC address as base-10)Marek Isalski
2019-09-23ethernet: T1637: bugfix DHCP - interface must be up prior starting DHCP clientChristian Poessinger
It is not possible to enable DHCP client on an interface that is down. Thus the code which enables the interface must be placed in front of assigning all interface addresses, static or DHCP. s the commit.
2019-09-22Jenkins: keep last 10 buildsChristian Poessinger
2019-09-22Jenkins: intruduce ARCH_OPT to support multi arch deploymentChristian Poessinger
2019-09-22Jenkins: fix dpkg architecture determinationChristian Poessinger
2019-09-22Jenkins: adjust descriptionChristian Poessinger
2019-09-22Jenkins: hardocde repo URLChristian Poessinger
2019-09-22Jenkins: fix isCustomBuild() URLChristian Poessinger
2019-09-22Jenkins: output git repo URLChristian Poessinger
2019-09-22Jenkins: fix httpURI in isCustomBuild()Christian Poessinger
2019-09-22Jenkins: ease PipelineChristian Poessinger
vyos-1x is a Debian package with architecture all. This means we only have to build it once as it can run on any other architecture - that's what Python is made for.
2019-09-21Merge pull request #134 from c-po/t1637-ethernetChristian Poessinger
T1637 - Rewrite ethernet interface in new style XML syntax
2019-09-21vxlan: T1636: simplyfy code (don't delete intf addresses)Christian Poessinger
We do not need to delete addresses manually as the VXLAN interface is always deleted which drops all assigned addresses from the Kernel.
2019-09-20ethernet: T1637: interfaces in a bond can be disabledChristian Poessinger
2019-09-20ethernet: T1637: fix calling arp_cache_tmo propertyChristian Poessinger
2019-09-20ethernet: T1637: do not overwrite interface description with interface nameChristian Poessinger
2019-09-20ethernet: T1637: support offloading functionsChristian Poessinger
2019-09-20Python/ifconfig: T1557: ethernet: add offloading interfacesChristian Poessinger