summaryrefslogtreecommitdiff
path: root/smoketest
AgeCommit message (Collapse)Author
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-03-05smoketest: config: add azure VPN gateway exampleChristian Poessinger
(cherry picked from commit 4cc8424dc79cef10199720b95ab65bba18b3ba03)
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: configs: extend bgp-small-internet-exchange with more policiesChristian Poessinger
(cherry picked from commit 1ac2e363013d0b04ea2eae66607e7c3e54aade92)
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-07smoketest: configs: import basic rip-routerChristian Poessinger
(cherry picked from commit e7d5f996e1ecca228bc67def2b19a0790d8c7370)
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: configs: import sample config provided by Tim HarmanChristian Poessinger
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: configs: add very basic bgp rpki configChristian Poessinger
(cherry picked from commit e0fdf9b4d746e751d0c12c1e6bd2d10daf22ec76)
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)
2021-01-16smoketest: interface: test "disable" CLI optionChristian Poessinger
Verify interface is in admin down state afterwards. (cherry picked from commit 461a106cdaf892a067bcd5630952822242edd411)
2021-01-16vrf: T31: migrate to get_config_dict()Christian Poessinger
(cherry picked from commit e1b2f1012ca18ef4ecf2b53e9bb01a50880cbd3c)
2021-01-14smoketest: bridge: remove failfast=TrueChristian Poessinger
(cherry picked from commit 3ece840792011fcca00617e42b049e1414ebb1d6)
2021-01-14smoketest: configs: add very basic internet-exchange configChristian Poessinger
(cherry picked from commit 5abd5c4267b18dd8ea34349b9cdaf2a58f13bb98)
2021-01-14smoketest: interface: validate empty description on removalChristian Poessinger
(cherry picked from commit 3b9ae4c22d8dffa8b5beee57bf5b19dac969a009)