summaryrefslogtreecommitdiff
path: root/smoketest/scripts
AgeCommit message (Collapse)Author
2021-03-01smoketest: vif: T3349: derive test_vif_8021q_lower_up_down for bridgeChristian Poessinger
Commit 49bc3f1e ("vif: T3349: use fixed ordering when enabling parent and child interface") also shipped a smoketest to verify the functionality of the parent admin up/down problematic from T3349. The generic testcase failed for the VLAN aware bridge as vlan-awarenes was not turned on.
2021-02-28vif: T3349: use fixed ordering when enabling parent and child interfaceChristian Poessinger
When a VIF/VLAN interface is placed in admin down state but the lower interface, serving the vlan, is moved from admin down -> admin up, all its vlan interfaces will be placed in admin up state, too. This is bad as a VLAN interface will become admin up even if its specified as admin down after a reboot. To reproduce: set interfaces ethernet eth1 vif 20 disable set interfaces ethernet eth1 disable commit delete interfaces ethernet eth1 disable commit Now check the interface state and it returns UP,LOWER_UP 7: eth1.20@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:50:56:b3:09:07 brd ff:ff:ff:ff:ff:ff inet6 fe80::250:56ff:feb3:907/64 scope link valid_lft forever preferred_lft forever
2021-02-28vyos.util: provide single implementation for get_json_iface_options()Christian Poessinger
There had been four implementations of "ip -d -j link show interface" scattered accross the codebase. Those implementations have now been combined into a new helper: vyos.util.get_json_iface_options()
2021-02-28vxlan: T1513: add dont-fragment CLI optionChristian Poessinger
2021-02-28l2tpv3: T3366: migrate local-ip and remote-ip CLI optionsChristian Poessinger
Rename CLI options local-ip to source-address and remote-ip to remote to get a consistent CLI experience for the user.
2021-02-28validators: fqdn: T3370: support "private" or "local" domain namesChristian Poessinger
2021-02-28vxlan: T3369: add underlay IPv6 supportChristian Poessinger
2021-02-28macsec: T3368: add support for gcm-aes-256 cipherChristian Poessinger
2021-02-28tunnel: T3366: rename remote-ip to remoteChristian Poessinger
Streamline the CLI configuration where we try to use remote on other interfaces like vxlan, geneve.
2021-02-28tunnel: T3366: rename local-ip to source-addressChristian Poessinger
Streamline the CLI configuration where we try to use source-address when creating connections which are especially sourced from a discrete address.
2021-02-28tunnel: T3364: rename encapsulation mode "gre-bridge" to "gretap"Christian Poessinger
The following list shows the mapping of VyOS tunnel encapsulation modes to the corresponding Linux modes. VyOS Linux gre gre gre-bridge gretap ipip ipip ipip6 ipip6 ip6ip6 ip6ip6 ip6gre ip6gre sit sit Besides gre-bridge this is pretty consistent. As bridge interfaces are also called tap interfaces gre-bridge will be renamed to gretap to make the post-processing much easier. This means (in detail) that there are no more child classes of _Tunnel and there will be now one geneirc TunnelIf class handling all sorts of encapsulation.
2021-02-27smoketest: bgp: T2100: fix "simple" testcase for ebgp-requires-policyChristian Poessinger
Commit 4bf55f97 ("BGP: T2100: Adding RFC8212 option toggle.") added a CLI option to enable RFC8212 ebgp-requires-policy checks. The extended smoketests assumed that this will lead to an FRR configuration line of "bgp ebgp-requires-policy" - which is not the case as this is a default option and FRR hides default options from the config. In order to properly verify this functionality we must conduct the negative test and ensure the option is not present in the CLI at all.
2021-02-26Merge pull request #744 from Cheeze-It/currentChristian Poessinger
bgp: T2100: Changing RFC8212 behavior and option toggle
2021-02-26BGP: T2100: Adding RFC8212 option toggle.Cheeze_It
In this commit we add the default operation within BGP to have RFC8212 disabled for eBGP routes. This default should preserve the normal behavior for VyOS from earlier releases of FRR to the current latest release. Another option that we add is the ability to toggle whether or not RFC8212 is enabled or disabled.
2021-02-25smoketest: extend "policy" smoke testsChristian Poessinger
Only missing is the route-map smoketest which tens to become very "heavy"
2021-02-24smoketest: add basic "policy access-list" test caseChristian Poessinger
2021-02-23routing: T3211: Add redistribute protocol IS-IS to bgp ospf ripsever-sever
2021-02-16ospfv3: T3313: move interface related options to "protocols ospfv3 interface"Christian Poessinger
2021-02-15bfd: T3310: implement peer profile supportChristian Poessinger
2021-02-15smoketest: bfd: ensure sessions are sourced from a valid local ifChristian Poessinger
.. if BFD connections will be source from invalid sources this will crash bfdd in FRR 7.3
2021-02-14bgp: T2315: add CLI options for addpath-tx-(all-paths|bestpath-per-AS)Christian Poessinger
* protocols bgp 65000 neighbor 192.0.2.1 address-family ipv4-unicast addpath-tx-all * protocols bgp 65000 neighbor 192.0.2.1 address-family ipv4-unicast addpath-tx-per-as * protocols bgp 65000 neighbor 2001:db8::1 address-family ipv6-unicast addpath-tx-all * protocols bgp 65000 neighbor 2001:db8::1 address-family ipv6-unicast addpath-tx-per-as
2021-02-14bgp: T1513: add per VNI advertise-default-gw, advertise-svi-ip optionsChristian Poessinger
2021-02-14smoketest: bfd: add initial testChristian Poessinger
2021-02-14bgp: T2844: add IPv4 disable-send-community supportChristian Poessinger
2021-02-14bgp: T2387: bugfix missing options not added to FRRChristian Poessinger
The following options were not represented in the Jinja2 template: - port - advertisement-interval - strict-capability-match In addition the smoketests have been extended to support IPv6 neighbors, too.
2021-02-14bgp: T3308: add graceful-shutdown optionChristian Poessinger
2021-02-13smoketest: rpki: extend tests with IPv6 caching serversChristian Poessinger
2021-02-13smoketest: bcast-relay: no need to commit() in setUp()Christian Poessinger
2021-02-13smoketest: rpki: remove failfast settingChristian Poessinger
2021-02-10smoketest: static-routes: enable VRF table leaking testChristian Poessinger
As we have upgrade to FRR 7.5 in current the issue within FRR vtysh [1] is fixed. [1]: https://github.com/FRRouting/frr/issues/8016
2021-02-10ripng: T3281: migrate to get_config_dict() and FRR reloadChristian Poessinger
2021-02-08smoketest: ripng: add initial testcasesChristian Poessinger
2021-02-07smoketest: rip: rename the one and only testcaseChristian Poessinger
2021-02-06rip: T2547: migrate to get_config_dict() and FRR reloadChristian Poessinger
2021-02-06smoketest: protocols: rip: initial importChristian Poessinger
2021-02-05Merge branch 't2450-vrf' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't2450-vrf' of github.com:c-po/vyos-1x: xml: add new common "interface-name" validator xml: include: accel: add missing file include comments smoketest: static: improve static route testing route: static: T2450: provide full protocol support in XML and Python with new CLI vrf: T2450: provide full protocol support in XML and Python with new CLI migrator: ospf: T3267: cleanup empty interface "ip" nodes
2021-02-05smoketest: static: improve static route testingChristian Poessinger
2021-02-02tunnel: T3030: Modify the command line to streamline configuration (support ↵jack9603301
package type automatic detection)
2021-02-02tunnel: T3030: Add erspan protocol supportjack9603301
2021-01-31smoketest: routes: add initial tests for static routesChristian Poessinger
2021-01-31smoketest: vrf: add test case for static v4/v6 routes incl. leakingChristian Poessinger
2021-01-31smoketest: vrf: verify interfaces can be bound/unboundChristian Poessinger
2021-01-29smoketest: ospf: T3267: test interface configurationChristian Poessinger
2021-01-29smoketest: ospf: merge area and virtual-link testcasesChristian Poessinger
2021-01-29rpki: T3255: disable debug knobsChristian Poessinger
2021-01-29Merge branch 't3255-rpki' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't3255-rpki' of github.com:c-po/vyos-1x: rpki: T3255: provide full protocol support in XML and Python op-mode: ssh: support generating client keypair smoketest: openvpn: remove print() when generating keys
2021-01-29rpki: T3255: provide full protocol support in XML and PythonChristian Poessinger
This commit provides the implementation of the OSPF CLI with a Jinja2 template that is loaded by FRR reload.
2021-01-29smoketest: openvpn: remove print() when generating keysChristian Poessinger
2021-01-28smoketest: T3261: Add check PPPoE interface disable stateDmitriyEshenko
2021-01-26Revert "smoketest: dhcpc6: do not increase duid"Christian Poessinger
This reverts commit 1992d9aed31b6906806635687c2b2d2d52310990. After commit b4889039 ("smoketest: refactor setUp() for all interface based testcases") we can now use dynamic duid tests.