summaryrefslogtreecommitdiff
path: root/smoketest/scripts
AgeCommit message (Collapse)Author
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)
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: interface: validate empty description on removalChristian Poessinger
(cherry picked from commit 3b9ae4c22d8dffa8b5beee57bf5b19dac969a009)
2021-01-13nat: T3186: fix negated addresses not applied from CLIChristian Poessinger
(cherry picked from commit 806b1cb6eebce4a11a5d2496b062a93d5899746e)
2021-01-12smoketest: interface: enable ip/ipv6 tests on additional interfacesChristian Poessinger
(cherry picked from commit 910919d856d790ff8905d513c280fdf12f8892ef)
2021-01-12tunnel: T3205: bugfix gre-bridge interfacesChristian Poessinger
(cherry picked from commit 138e7a95c21fb2928182847693e366644be6e945)
2021-01-12Revert "ntp: T2944: By default do not listen port 123 on any address"sever-sever
This reverts commit ca61add5e7dea828c67ea074368196025f4cb4eb. (cherry picked from commit a051c928aeb2a14250d57c8495c07474c92a8b61)
2021-01-11nat: T3206: unable to delete only rules but keep destination nodeChristian Poessinger
(cherry picked from commit 9db4dbc4a84ff1a110617cb3c7849d7c9d4a62e7)
2021-01-08smoketest: dummy: fix indentChristian Poessinger
2021-01-08smoketest: bridge: bond: enable ip subsystem testsChristian Poessinger
2021-01-08smoketest: interfaces: dhcpv6pd final fixChristian Poessinger
Previous fix somehow got lost during a rebase :(
2021-01-08smoketest: ethernet: fix link-speed loop testChristian Poessinger
2021-01-07smoketest: ethernet: verify() speed/duplex must both be auto or discreteChristian Poessinger
2021-01-07smoketest: interfaces: report skipped testsChristian Poessinger
2021-01-07smoketest: ethernet: bugfixes for dhcpc6 and unknown interfacesChristian Poessinger
2021-01-07smoketest: ethernet: check for error on non existing interfaceChristian Poessinger
When performing a commit on an ethernet interface that does not exist, e.g. eth667, verify an exception is raised.
2021-01-07smoketest: interfaces: fix dhcpv6 pd testcase when using multiple interfacesChristian Poessinger
Commit a8e4317c ("smoketest: interfaces: test dhcpv6 pd sla-id auto increment") added a new test, but when executed on multiple interfaces, e.g.: TEST_ETH="eth1 eth2" /usr/libexec/vyos/tests/smoke/cli/test_interfaces_ethernet.py A variable was not properly reset
2021-01-07ssh: T2635: harden Jinja2 template and daemon startupChristian Poessinger
2021-01-07ssh: T2635: change sshd_config path to /run/sshdChristian Poessinger
2021-01-07login: radius: T3192: support IPv6 server(s) and source-addressChristian Poessinger
2021-01-07smoketest: interfaces: test dhcpv6 pd sla-id auto incrementChristian Poessinger
2021-01-06smoketest: bgp: add ipv4/ipv6 address-family testsChristian Poessinger
2021-01-06smoketest: bgp: refactor verify part to be reusableChristian Poessinger
2021-01-05smoketest: tunnel: fix setUp() ordering for reference base class membersChristian Poessinger
With commit ce809eee ("smoketest: mirror: T3169: re-add mirror / SPAN test case") the setUp() method has been re-organized not taking into account that there will already be a reference to self.session which will only be created by the base class.
2021-01-05smoketest: mirror: T3169: re-add mirror / SPAN test caseChristian Poessinger
Commit ef629504d4 ("smoketest: mirror: drop testcase") dropped the smoketests entirely as they have been programmed in a wrong way leading to outages on live development systems which used dummy interfaces for management traffic.
2021-01-05Revert "smoketest: bgp: enable description test"Christian Poessinger
This reverts commit e7dd8c17d527aeb31b93b966c59a311f7506b906.
2021-01-04smoketest: bgp: enable description testChristian Poessinger
2021-01-03smoketest: add basic BGP testingChristian Poessinger
2021-01-03smoketest: bridge: cleanup hardcoded interfaces for vlan-aware bridgeChristian Poessinger
2021-01-03Partial Revert "interfaces: T3114: Fix VLAN-aware bridge setting failure"Christian Poessinger
This reverts parts of commit c4048b2047f693436b38196632cddf65beb67a86 because when tear-downing config session entire interface paths are removed with non test related interface (all dummy interfaces) this breaks e.g. remote connections when connected to one of the dummy interface IP addresses for management.
2021-01-03dhcp: T2562: harden implementation for non existing shared-subnetsChristian Poessinger
2021-01-03dhcp: T3180: bugfix assignment of sliced ranges to config dictChristian Poessinger
A reference to a dictionary key obtained by a for loop can not be used to update values inside that dictionaries key. You must use the original path to the nested dictionaries key.
2021-01-02vrf: T2321: assign loopback IP addresses to individual VRF interfacesChristian Poessinger
47: bar: <NOARP,MASTER,UP,LOWER_UP> mtu 65536 qdisc noqueue state UP group default qlen 1000 link/ether 76:7d:c0:53:6d:89 brd ff:ff:ff:ff:ff:ff inet 127.0.0.1/8 scope host bar valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever
2021-01-01ethernet: T3171: add CLI option to enable RPS (Receive Packet Steering)Christian Poessinger
set interfaces ethernet <interface> offload rps
2020-12-29Merge pull request #662 from DmitriyEshenko/1x-pppoe-29122020Christian Poessinger
pppoe-server: T3160: Change key in smoketest
2020-12-29pppoe-server: T3160: Change key in smoketestDmitriyEshenko