nsfarm issueshttps://gitlab.nic.cz/turris/nsfarm/-/issues2022-01-18T10:01:02+01:00https://gitlab.nic.cz/turris/nsfarm/-/issues/46Black checker complains about invalid usage of None2022-01-18T10:01:02+01:00Karel KociBlack checker complains about invalid usage of None```
nsfarm/lxd/container.py:143: error: Item "None" of "Optional[NetworkInterface]" has no attribute "addresses"
nsfarm/lxd/container.py:144: error: Item "None" of "Optional[NetworkInterface]" has no attribute "interfaces"
nsfarm/web/con...```
nsfarm/lxd/container.py:143: error: Item "None" of "Optional[NetworkInterface]" has no attribute "addresses"
nsfarm/lxd/container.py:144: error: Item "None" of "Optional[NetworkInterface]" has no attribute "interfaces"
nsfarm/web/container.py:62: error: Item "None" of "Optional[NetworkInterface]" has no attribute "proxy"
```https://gitlab.nic.cz/turris/nsfarm/-/issues/44Multiple (V)LAN networks DHCP test2022-01-04T15:17:02+01:00Jan Miksikjan.miksik@nic.czMultiple (V)LAN networks DHCP testThere is issue when there are multiple VLANs on router (3 and more) and DHCP server does not assign addresses (JH has the issue).
Generate test with:
- multiple VLANs
- multiple LAN networks
- client or clients to obtain addresses from ...There is issue when there are multiple VLANs on router (3 and more) and DHCP server does not assign addresses (JH has the issue).
Generate test with:
- multiple VLANs
- multiple LAN networks
- client or clients to obtain addresses from different subnets
Possible failure:
- VLAN setting
- DHCP is not somehow working on multiple networks
- DHCP is overwhelmed by amount of clients/traffichttps://gitlab.nic.cz/turris/nsfarm/-/issues/38update readme and docs2021-10-13T19:15:12+02:00Jan Miksikjan.miksik@nic.czupdate readme and docsUpdate:
Readme
Test guide (containing things I would like to know when I started to write tests in nsfarm)Update:
Readme
Test guide (containing things I would like to know when I started to write tests in nsfarm)https://gitlab.nic.cz/turris/nsfarm/-/issues/34Find a better way of obtaining pytest state (`setup`, `call`, `teardown`)2021-08-03T15:59:16+02:00Jan Miksikjan.miksik@nic.czFind a better way of obtaining pytest state (`setup`, `call`, `teardown`)- See `screenshot` fixture in `/conftest.py`
- [ ] check possible solutions and write them down
- [ ] choose a solution or make one. _It would be better to write a small library than to have this._- See `screenshot` fixture in `/conftest.py`
- [ ] check possible solutions and write them down
- [ ] choose a solution or make one. _It would be better to write a small library than to have this._https://gitlab.nic.cz/turris/nsfarm/-/issues/12Connectivity test script tests2021-09-29T15:22:32+02:00Karel KociConnectivity test script testsWe should test that connectivity test script works as expected. This means to break various parts of connection and see if it detects it. Of course we should do that with various wan configurations to prevent possible problems such as ro...We should test that connectivity test script works as expected. This means to break various parts of connection and see if it detects it. Of course we should do that with various wan configurations to prevent possible problems such as route detection for PPPOE and such