summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-03-08wireless: add basic unittestChristian Poessinger
2020-03-05vrf: initial unittestChristian Poessinger
2020-02-29interfaces: wireguard: make test script executableChristian Poessinger
2020-02-29interfaces: wireguard: add initial testChristian Poessinger
WireGuard interface can not be easily inherit the BasicInterfaceTest class as every operation on WireGuard interfaces require IP addresses assigned to the interface - I do not now if this is really a requirement or just a to restrict validate() on the WireGuard interface. Nevertheless this helps to see if changes on e.g. ifconfig.py breaks this interface.
2020-02-29interfaces: base: add rfc3021 test using /31 prefixesChristian Poessinger
2020-02-27tunnel: fix several issues in testcaseThomas Mangin
The addresses for the tunnels were not correctly assigned, leading to some tunnels sharing the same local-ip/remote-ip pairs. The tearnDown code was not removing the dummy interface created and required for testing. Still two tunnels are not deleted as the current code is not using 'ip tunnel delete' for ip6gre (most likely 'ip link delete' instead) This will be resolved when the tunnel interface code is moved to python/vyos-1x
2020-02-27pppoe: add initial testChristian Poessinger
2020-02-26interfaces: base: remove superfluous import of ConfigSessionErrorChristian Poessinger
2020-02-26interfaces: bond: add missing import on ConfigSessionErrorChristian Poessinger
2020-02-26interfaces: add missing unittest importChristian Poessinger
2020-02-26Merge pull request #4 from thomas-mangin/correctionChristian Poessinger
tunnel: tidying up
2020-02-26interfaces: replace wildcard import with dedicated importChristian Poessinger
2020-02-26cli: remove superfluous imports (we never use Config())Christian Poessinger
Every test hat a Config() instance but it was never referenced. It has been introduced by simple means of copy/pasting the first nameserver test.
2020-02-19tunnel: tidying upThomas Mangin
move all variable creation within setUp() create the interfaces using a list comprehension
2020-02-19tunnel: remove duplicated codeChristian Poessinger
2020-02-17tunnel: enable unittest (chmod +x)Christian Poessinger
2020-02-17tunnel: T2028: check for tunnel creationThomas Mangin
check that we are able to create tunnel for all encapsulation supported in interfaces tunnel.
2020-02-17snmp: clean out current configuration in setUp()Christian Poessinger
2020-02-17snmp: get_config_value() should return str not listChristian Poessinger
2020-02-17ssh: clean out current configuration in setUp()Christian Poessinger
2020-02-17ssh: add test for disable-password-authenticationChristian Poessinger
2020-02-17ssh: get_config_value() should return str not listChristian Poessinger
2020-02-17ethernet: generic tearDown() should not destroy ethernet CLI nodesChristian Poessinger
2020-02-17bridge: disable MTU test as it can not be configuredChristian Poessinger
2020-02-17bridge: automatically detect available interfacesChristian Poessinger
2020-02-17ethernet: automatically detect available interfacesChristian Poessinger
2020-02-17interfaces: add generic MTU test which can be enabled per interfaceChristian Poessinger
2020-02-17ethernet: add initial interface testChristian Poessinger
2020-02-17interfaces: split interface tests into individual filesChristian Poessinger
2020-02-16ddns: read back configuration file and check plausibilityChristian Poessinger
2020-02-16ddns: add initial unittestChristian Poessinger
2020-02-15interface: bond: check that only real interfaces can be enslavedChristian Poessinger
2020-02-15interface: bond: remove useless for loop on member removalChristian Poessinger
2020-02-10Revert "snmp: output expected value on error"Christian Poessinger
This reverts commit bcc0b5bd6e11a9fbc2fcb3c450fdb48bb85499e8.
2020-02-09ssh: add test for proper port and host validationChristian Poessinger
2020-02-09ssh: add missing commit()Christian Poessinger
2020-02-09login: fix typo in tearDown()Christian Poessinger
2020-02-09snmp: only import read_file from vyos.utilChristian Poessinger
2020-02-09ssh: basic test to see if SSH server launchesChristian Poessinger
2020-02-09login: check if our newly created users can login to the systemChristian Poessinger
2020-02-09snmp: output expected value on errorChristian Poessinger
2020-02-09all: delete session in tearDown()Christian Poessinger
2020-02-09all: do not import entire module, use "from foo import" insteadChristian Poessinger
2020-02-09login: remove ssh testChristian Poessinger
2020-02-05user: add test for adding/deleting system usersChristian Poessinger
2020-02-04snmp: add testcase for SNMPv3Christian Poessinger
2020-02-04snmp: ensure snmpd process is runningChristian Poessinger
2020-02-03snmp: add test for SNMPv2Christian Poessinger
2020-02-01interface: add test for loopback interfaceChristian Poessinger
2020-02-01interface: add test for dummy interfaceChristian Poessinger