summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/base_interfaces_test.py
AgeCommit message (Collapse)Author
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.
2021-01-26smoketest: dhcpc6: do not increase duidChristian Poessinger
For a yet undetermined reason incrementing the duid dynamically in the test script leads to an error - for the time beeing work with a fixed duid.
2021-01-25smoketest: dhcpc6: fix UnboundLocalErrorChristian Poessinger
UnboundLocalError: local variable 'client_base' referenced before assignment
2021-01-25smoketest: dhcpv6: add client smoketestsChristian Poessinger
2021-01-16smoketest: interfaces: use provided unittest framework assert methodsChristian Poessinger
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.
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.
2021-01-16smoketest: interface: test "disable" CLI optionChristian Poessinger
Verify interface is in admin down state afterwards.
2021-01-14smoketest: interface: validate empty description on removalChristian Poessinger
2021-01-12smoketest: interface: enable ip/ipv6 tests on additional interfacesChristian Poessinger
2021-01-08smoketest: interfaces: dhcpv6pd final fixChristian Poessinger
Previous fix somehow got lost during a rebase :(
2021-01-07smoketest: interfaces: report skipped testsChristian Poessinger
2021-01-07smoketest: ethernet: bugfixes for dhcpc6 and unknown interfacesChristian Poessinger
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-07smoketest: interfaces: test dhcpv6 pd sla-id auto incrementChristian Poessinger
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.
2020-12-29smoketest: T1466: add eapol testsChristian 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-20Revert "dhcpv6: T3134: add missing duid support"Christian Poessinger
This reverts commit 9541355433e202fade4692851bffa33ba9d48f44.
2020-12-20smoktest: interface: disable base mirror testChristian Poessinger
One should not use hardcoded interfaces in this base class, rather rely on self._options like every other test. This implementation breaks on my development system ans also deletes my OSPF dummy mgmt interface :(.
2020-12-20smoketest: dhcpv6-client: add generic testsChristian Poessinger
2020-12-13interfaces: mirror: T3089: Fix the dependency problem between interfacesjack9603301
Since the dependency problem has not been solved before, if the monitoring interface does not exist when the mirror rule is created, the execution will be abnormal
2020-12-08mirror: T3089: support two-way traffic mirroringjack9603301
2020-12-06smoketest: interface: move to Python3 'f'ormatted stringChristian Poessinger
2020-12-04ethernet: T3048: remove "smp-affinity" from CLIChristian Poessinger
Commit 5f5b2808c0a ("ethernet: T3048: drop static smp-affinity for dynamic performance tuning") but the CLI nodes have not been removed.
2020-12-03interface: T3089: Migrate port mirroring to vyos-1xjack9603301
2020-11-13vyos.template: provide general is_ip(v4|v6) helpersChristian Poessinger
We had two places were the is_ip, is_ipv4 and is_ipv6 helpers had been defined. All places now have been converged into vyos.template as they are used both in the Jinja2 templates and also in our scripts.
2020-10-29verify: T2587: allow MTU < 1280 when IPv6 is disabled on an interfaceChristian Poessinger
2020-10-28vyos.util: T2995: rename vyos_dict_search() -> dict_search()Christian Poessinger
Renamed using snippet below: ---------------------------- for file in $(find . -name "*.py") do sed -i "s/vyos_dict_search/dict_search/" $file done
2020-10-17smoketest: add IPv6 option tests to BasicInterfaceTestChristian Poessinger
2020-10-17sysctl-forwarding: T752: Add disable forwarding for ipv4sever-sever
2020-09-20smoketest: T2903: test 802.1ad (Q-in-Q) ethertypeChristian Poessinger
2020-08-27Merge branch 'master' of github.com:vyos/vyos-smoketest into ↵Christian Poessinger
vyos-smoketest-integration (T2832) * 'master' of github.com:vyos/vyos-smoketest: (153 commits) pppoe-server: test some more values lcd: adjust to cli changes lcd: adapt test to new CLI design pppoe-server: initial smoketest with local and radius auth pppoe: validate dhcpv6 client will be started wireless: validate hostapd/wpa_supplicant is running pppoe: sync to new dhcpv6-pd cli anyconnect: T2812: add basic testing ethernet: check interface disable state router-advert: check 'infinity' option in script logic ssh: config file is now volatile (moved to /run) ipv6: link-local: test address assignment on interfaces router-advert: add initial test mdns-repeater: add basic test pseudo-ethernet: extend smoketests with VIFs l2tpv3: add initial interface test wireless: use library function for loading kernel modules ethernet: test "ip" subtree of interface for e.g. ARP settings pppoe: use assertEqual() service: bcast-relay: add initial tests ...