summaryrefslogtreecommitdiff
path: root/smoketest
AgeCommit message (Collapse)Author
2021-01-26smoketest: 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.
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: bgp: add rpki testsChristian Poessinger
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-24ospf(v3): T3236: T3244: adjust to route-map converted name (_ for -)Christian Poessinger
A hyphen in a route-map name will be converted to _, take care about this effect during validation.
2021-01-24bgp: T3247: bugfix import/export prefix-list and distribution-listChristian Poessinger
This is an amendment to commit 5ab6882f ("bgp: T2347: bugfix import/export route-map") which did not take care about fixing the other two if/elif statements.
2021-01-24smoketest: configs: add small AS with VRRP example configurationChristian Poessinger
This is a live config from a specific site of mine.
2021-01-24smoketest: ospfv3: initial testcasesChristian Poessinger
2021-01-24nptv6: T2518: Delete redundant blank linesjack9603301
2021-01-23nptv6: T2518: Support many to many DNPT(DNAT66)jack9603301
2021-01-23nptv6: T2518: Improved template generationjack9603301
2021-01-23nptv6: T2518: Initial support for nat66 (NPT)jack9603301
2021-01-23smoketest: configs: fix ospf-configChristian Poessinger
Commit 4ed4d822cf ("ospf: T3236: provide full protocol support in XML and Python") added the arbitrary config to load from one of my lab VMs, but in order to properly run through the CI a serial port is required to not fail the expected outputs gathered via check-qemu-install.
2021-01-23smoketest: config: dmz-guest... remove config upload via commit-archiveChristian Poessinger
This will take forever as the TFTP target server can't be reached as there is none.
2021-01-23ospf: T3236: provide full protocol support in XML and PythonChristian Poessinger
This commit provides the implementation of the OSPF CLI with a Jinja2 template that is loaded by FRR reload. It also contains some initial smoketests. There is yet no verify() implementation!
2021-01-21bgp: T1875: validate() that peer-group specified via listen range existsChristian Poessinger
2021-01-20tunnel: T3173: bugfix nopmtu raw keyChristian Poessinger
The raw key was not copied into the class member variable. Also added a smoketest to ensure the configured parameters are always set.
2021-01-17smoketest: configs: add complex home router configChristian Poessinger
2021-01-17smoketest: configs: add very basic bgp rpki configChristian Poessinger
2021-01-17ssh: T671: generate rsa, dsa and ed25519 keys on demandChristian Poessinger
2021-01-17smoketest: bridge: T3226: Remove redundant codejack9603301
In 558e1ca9, we found that the interface created by a test case was not cleaned up completely, which led to the destruction of smoke test. But in fact, the test case function retained an invalid deletion configuration code. We added a repair patch and forgot to delete the invalid code. Now we delete it
2021-01-17smoketest: add testcases for "system ipv6"Christian Poessinger
2021-01-17ntp: T2185: store configuration in volatile /run areaChristian Poessinger
2021-01-17smoketest: bridge: T3226: Repair bridge smoke test damagejack9603301
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-16vrf: T31: add support for - and _ in VRF namesChristian Poessinger
2021-01-16smoketest: interface: test "disable" CLI optionChristian Poessinger
Verify interface is in admin down state afterwards.
2021-01-16vrf: T31: migrate to get_config_dict()Christian Poessinger
2021-01-15smoketest: bridge: T3137: Optimize smoketestjack9603301
2021-01-15bridge: T3137: Let VLAN aware bridge approach the behavior of professional ↵jack9603301
equipment According to the consensus, the specific behavior of a VLAN aware bridge should conform to the behavior of professional equipment. This commit makes a significant change to the behavior of VLAN aware bridge, and has the following behaviors: 1. Disable `vif 1` configuration 2. When the VLAN aware bridge is enabled, the parent interface is always VLAN 1 3. When `native-vlan` is not configured, the default behavior of the device is `native-vlan 1` 4. The VLAN ids forwarded by the bridge are determined by `vif` 5. It has an `enable-vlan` node to enable VLAN awareness 6. VLAN configuration is allowed only when VLAN aware bridge is activated
2021-01-14smoketest: bridge: remove failfast=TrueChristian Poessinger
2021-01-14smoketest: bgp: enable description testChristian Poessinger
2021-01-14smoketest: configs: add very basic internet-exchange configChristian Poessinger
2021-01-14smoketest: interface: validate empty description on removalChristian Poessinger
2021-01-12nat: T3186: fix negated addresses not applied from CLIChristian Poessinger
2021-01-12smoketest: interface: enable ip/ipv6 tests on additional interfacesChristian Poessinger
2021-01-12tunnel: T3205: bugfix gre-bridge interfacesChristian Poessinger
2021-01-12Revert "ntp: T2944: By default do not listen port 123 on any address"sever-sever
This reverts commit ca61add5e7dea828c67ea074368196025f4cb4eb.
2021-01-11nat: T3206: unable to delete only rules but keep destination nodeChristian Poessinger
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.