summaryrefslogtreecommitdiff
path: root/smoketest/scripts
AgeCommit message (Collapse)Author
2021-06-21smoketest: ensure /config is a directoryChristian Poessinger
(cherry picked from commit 3ae265b300544b855b1b32862c901045ee146934)
2021-06-13pppoe: T3621: validate that both username and password are setChristian Poessinger
A validator is missing checking that if authentication is used on a PPPoE interface, both username and password are set.
2021-06-13wwan: T3620: rename "wirelessmodem wlm" interfaces to new wwan interface treeChristian Poessinger
(cherry picked from commit c2a1c071e7d0a9ca754d7f5016eed7db188b3d1a)
2021-06-04tunnels: T3592: Set default TTL to 64sever-sever
Set default TTL value for tunnels from 0 to 64 There are a lot of situation when default value 0 (inherit) not work properly when you have routing configuration for OSPF or BGP over the tunnels. To fix it you need explicit set TTL value other then 0. Or hardcode another value as default. (cherry picked from commit b4db37507635bf95161bea32b18736fc0732a9e6)
2021-05-27smoketest: vif: T3570: bugfix for equuleus smoketest APIChristian Poessinger
Added by commit 8ff36fa268f ("smoketest: vif: T3570: fix vlan interface MTU test for pseudo-ethernet interfaces"), but it used the new API available through VyOSUnitTestSHIM. This has ben fixed to use the old API.
2021-05-24smoketest: pseudo-ethernet: add missing "Section" importChristian Poessinger
(cherry picked from commit bee080daffad41468eee6084f54bc67b1470f914)
2021-05-24smoketest: vif: T3570: fix vlan interface MTU test for pseudo-ethernet ↵Christian Poessinger
interfaces The MTU size of the source-interface must be greater or equal to the MTU of the pseudo ethernet interface. (cherry picked from commit 06dae2734aee09885e34aec0df397985c2a36961)
2021-05-23smoketest: vif: T3570: vlan interface MTU must be less or equal to parentChristian Poessinger
(cherry picked from commit ed817477dd418f4b448910e990f38a9a3de5ee73)
2021-05-23smoketest: ethernet: bugfix RPS CPU validationChristian Poessinger
We always read back the RPS value from eth1 which worked on the CI smoketests, but not when running a smoketest with only one interface e.g. by: $ TEST_ETH="eth2" /usr/libexec/vyos/tests/smoke/cli/test_interfaces_ethernet.py (cherry picked from commit a431adf8676ea377175b91776082eb37d4773e80)
2021-05-20vyos.util: T3532: Replace func get_interface_configViacheslav Hletenko
Replace function get_interface_config to function get_interface_config, as we have in 1.4 branch. It need after this cherry-picked commit edcdea8
2021-05-15smoketest: T3549: dhcpv6-server: adjust to new config syntaxChristian Poessinger
Commit b0520172 ("dhcpv6-server: T3549: fix incorrect syntax for global name-server definition") changed how the daemon configuration represents global DNS nameservers. Test updated. (cherry-picked from commit ae57c5dc783d8c87382e25e031e21d8c2be59d03)
2021-05-15smoketest: dhcp: T3544: verify locig preventing invalid daemon optionsChristian Poessinger
As we do not allow any invalid raw options passed into ISC dhcpd we should also verify this behavior with a smoketest. (cherry picked from commit 8ab55eb237370b2152b2c0027af5cf16a69675af)
2021-05-13bonding: T3543: add support to configure lacp-rate (slow or fast)Christian Poessinger
Option specifying the rate in which we'll ask our link partner to transmit LACPDU packets in 802.3ad mode. set interfaces bonding bond0 lacp-rate <slow|fast> slow: Request partner to transmit LACPDUs every 30 seconds (default) fast: Request partner to transmit LACPDUs every 1 second (cherry picked from commit 8e392a3dbc16f7b80a979f7b4e9c11408d700e6f)
2021-05-13smoketest: bonding: test minimum link assignmentChristian Poessinger
(cherry picked from commit ca75162b3bbace38fcad5c91ad07c4fedac8444c)
2021-05-10smoketest: policy: T3526: replace seq x for policy testsViacheslav Hletenko
2021-05-06smoketest: T3517: Fix bfd test for equuleus FRR 7.5.1Viacheslav Hletenko
2021-05-01dhcpv6-server: T3379: Add option global-parameters name-serversever-sever
(cherry picked from commit 117533482d29ce0bd1bc7f3a3f2536921c16565c)
2021-04-05smoketest: l2tpv3: only remove modules if they are loadedChristian Poessinger
(cherry picked from commit 0ac696663b6885e659987efdbe83ae7d4a3f7779)
2021-03-26smoketest: ensure symlink exists /usr/sbin/ip -> /bin/ipChristian Poessinger
(cherry picked from commit 137f50a1f00073842364ee373f98e1e215671c6b)
2021-03-06tunnel: T3381: fix error when switching from mGRE to GRE modeChristian Poessinger
Linux does not support changing the remote address from any (multipoint GRE as used by DMVPN) to a discrete remote address. THis will return an error: add tunnel "tun1" failed: Invalid argument This can be handled by detecting the mGRE -> GRE change and re-create the tunnel silently. (cherry picked from commit ea2a22f7844735021fb638c911527e612abfbc69)
2021-03-06vyos.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() (cherry picked from commit f13cc56d665a91ff3fac47df260301afefb1a3a5)
2021-03-06smoketest: pppoe-server: adjust client_ip_pool testcase to latest code fixesChristian Poessinger
Commit 52ee92b8 ("pppoe: T3386: Fix client ip-pool stop range") fixed the generated client range configuration line for Accel-PPP but missed out altering the testcase, too which validates the generated configuration line. (cherry picked from commit 00d3ba7c7bc2f16a0a029d5f1be964bcd3c45fd9)
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 (cherry picked from commit 49bc3f1e3ff8416908fc986bb60b444a75a1722d)
2021-02-28validators: fqdn: T3370: support "private" or "local" domain namesChristian Poessinger
(cherry picked from commit 04724ed189553ce43f8504f68fef8024ef5796de)
2021-02-28vxlan: T3369: add underlay IPv6 supportChristian Poessinger
(cherry picked from commit d41e8e860a66f45d295081f024aa2918f221443f)
2021-02-28macsec: T3368: add support for gcm-aes-256 cipherChristian Poessinger
(cherry picked from commit 5bcc549edeaeaa767d77a68b33751e834d467c34)
2021-02-27tunnel: T3366: support changing tunnel parameters for gre-bridgeChristian Poessinger
Linux prevents changing parameters on a gretap (which is used by gre-bridge) interfaces. To overcome this limitation a tunnel must be destroyed and recreated on demand when gre-bridge is used.
2021-02-26smoketest: policy: adjust to FRR 7.3 CLI syntaxChristian Poessinger
No sequence number support in FRR 7.3 for - community-list - extcommunity-list - large-community-list
2021-02-25smoketest: add tests for "policy" nodeChristian Poessinger
2021-02-24smoketest: T3211: Extend smoketest for redistribute isissever-sever
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 (cherry picked from commit 82bdae42ceefb1132f8a98628fa9681543f4f269)
2021-02-14smoketest: bfd: add initial testChristian Poessinger
(cherry picked from commit b01c23d48a3ff3b95175568198fb307ffbc04b86)
2021-02-13smoketest: rpki: extend tests with IPv6 caching serversChristian Poessinger
(cherry picked from commit cec4b325ea014c09d3c60fac07651ec2a0b2d522)
2021-02-13smoketest: rpki: remove failfast settingChristian Poessinger
(cherry picked from commit 55b763e1a8ae48f1bc7f46c341479f6140cad3b6)
2021-02-08smoketest: ripng: add initial testcasesChristian Poessinger
(cherry picked from commit e84dece28a7f3e46235f178eec5622547cb2eab6)
2021-02-06smoketest: protocols: rip: initial importChristian Poessinger
(cherry picked from commit 37c961b8fc57d0f811758034f51fe0fed401275a)
2021-02-02rpki: T3255: backport new implementation from current branchChristian Poessinger
2021-01-31smoketest: routes: add initial tests for static routesChristian Poessinger
(cherry picked from commit 8076176ec68915b1148829f63ad3da25441f27e7)
2021-01-31smoketest: vrf: add test case for static v4/v6 routes incl. leakingChristian Poessinger
(cherry picked from commit ca5d74015c862bbe936244fc32df28409968efca)
2021-01-31smoketest: vrf: verify interfaces can be bound/unboundChristian Poessinger
(cherry picked from commit 33e10ccc33e3b25dcdd3d4ee57bfdc4e2c331a6e)
2021-01-30smoketest: dhcpv6: add client smoketestsChristian Poessinger
(cherry-picked form commit 99f4140d1c5b1813c75790a8a99aae8fa84d13ee)
2021-01-27smoketest: refactor setUp() for all interface based testcasesChristian Poessinger
It does not make sense (at all!) to re-initialize the entire class with every call to setUp(). We neither change the enabled/disabled tastcases dynamically, not do we adjust the testinterfaces during a run. Remove the runtime overhead and place one-time init calls into setUpClass() instead. (cherry picked from commit b48890396dcff074d1e9336ca1db9d3eafe2a12f)
2021-01-25smoketest: bgp: add rpki testsChristian Poessinger
(cherry picked from commit 3082b678c88f74801fc4e9a57e23f25a53619467)
2021-01-24smoketest: ospfv3: initial testcasesChristian Poessinger
(cherry picked from commit 5834355b6342b7f9ab43da8e97b519f112693d09)
2021-01-17smoketest: add testcases for "system ipv6"Christian Poessinger
(cherry picked from commit 62bd08a5811aeec5670c29af18583f9f3350cb1d)
2021-01-17ntp: T2185: store configuration in volatile /run areaChristian Poessinger
(cherry picked from commit 3c33359d0c9700a1c80f1a222fe5f43642cd4fde)
2021-01-16smoketest: interfaces: use provided unittest framework assert methodsChristian Poessinger
(cherry picked from commit b2b5ea81243f672d3cc3c4082374551f38fd4dde)
2021-01-16smoketest: loopback: interface can not be deleted, it must always existChristian Poessinger
Commit 35b049aa ("smoketest: interfaces: verify deletion of interfaces") validated that when the test completed (tearDown()) there must be no interfaces left registered for the tests. This is invalid for the loopback interface as it can not be deleted from the system. (cherry picked from commit b373d3841608838fd28f98691cb14e42c128c216)
2021-01-16smoketest: interfaces: verify deletion of interfacesChristian Poessinger
When deleting the test interfaces, ensure after each run that there are no leftovers from a previous run, indicating that there was a problem while removing the interfaces. (cherry picked from commit 35b049aa8b90ee41f9c59bf4b2e3610d03505776)
2021-01-16vrf: T31: add support for - and _ in VRF namesChristian Poessinger
(cherry picked from commit 8953a14b01a4183ea890f1c3d569aae54e363614)