summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
AgeCommit message (Collapse)Author
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
2020-12-29smoketest: adjust test method namesChristian Poessinger
This is for better readability during testruns
2020-12-29smoketest: interfaces: adjust to internal API changesChristian Poessinger
Commit 29e32d39 ("smoketest: T1466: add eapol tests") renamed interface methods of class BasicInterfaceTest, those change was not reflected in every derived class.
2020-12-29smoketest: run all tests with verbosity=2Christian Poessinger
2020-12-29smoketest: T1466: add eapol testsChristian Poessinger
2020-12-28webproxy: T563: migrate from old Perl code to XML and get_config_dict()Christian Poessinger
Basic proxy functionality is working but the squidguard smoketest still fails as this is yet not implemented.
2020-12-28smoketest: webproxy: improve local ok/block lists testChristian Poessinger
2020-12-21smoketest: wifi: add testcase for bridging an AP interfaceChristian Poessinger
2020-12-21smoketest: mirror: drop testcaseChristian Poessinger
The mirror smoketest does more harm then good. It creates interfaces which are not cleaned up afterwards resulting and strange behavior on live systems. The entrie interface mirror smoketest must be redone.
2020-12-20smoketest: wireless: test default values for channel and phyChristian Poessinger