Test fixtures, docstring examples and the README now use neutral values only:
host names ap-01 / ap-02;
addresses from the documentation ranges 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 (RFC 5737).
Each old address maps to one new address throughout the repo, so every test keeps its meaning:
the management-network test still has its interface address, broadcast and SSH peer inside the management network, apart from the LAN;
a static route still covers the prefix the test looks for;
the NTP, SNMP and syslog readings still name the same server in reading and assertion.
Loopback (127.0.0.1), the wildcard address (0.0.0.0) and netmasks are unchanged. MAC addresses were already synthetic and are unchanged.
Files: tests/unit/test_driver.py, test_time_sync.py, test_snmp_agent.py, test_ssh_host_key.py, test_packages.py, test_updates.py, docstring examples in interfaces_mixin.py, routing_mixin.py and system_mixin.py (comments only, no code), and the README quick start. CHANGELOG untouched: nothing changes for users of the driver.
## What changed
Test fixtures, docstring examples and the README now use neutral values only:
- host names `ap-01` / `ap-02`;
- addresses from the documentation ranges 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 (RFC 5737).
Each old address maps to one new address throughout the repo, so every test keeps its meaning:
- the management-network test still has its interface address, broadcast and SSH peer inside the management network, apart from the LAN;
- a static route still covers the prefix the test looks for;
- the NTP, SNMP and syslog readings still name the same server in reading and assertion.
Loopback (127.0.0.1), the wildcard address (0.0.0.0) and netmasks are unchanged. MAC addresses were already synthetic and are unchanged.
Files: `tests/unit/test_driver.py`, `test_time_sync.py`, `test_snmp_agent.py`, `test_ssh_host_key.py`, `test_packages.py`, `test_updates.py`, docstring examples in `interfaces_mixin.py`, `routing_mixin.py` and `system_mixin.py` (comments only, no code), and the README quick start. CHANGELOG untouched: nothing changes for users of the driver.
## Tests
No behaviour change. pytest 345 passed, ruff format/check clean, `napalm-standard check`/`ratchet` green.
Fixtures, docstring examples and the README use neutral host names
(ap-01, ap-02) and addresses from the documentation ranges 192.0.2.0/24,
198.51.100.0/24 and 203.0.113.0/24, mapped one to one so every test
keeps its meaning: the management network test still has its address
inside that network, a route still covers its prefix. Loopback, the
wildcard address and netmasks are unchanged.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
Test fixtures, docstring examples and the README now use neutral values only:
ap-01/ap-02;Each old address maps to one new address throughout the repo, so every test keeps its meaning:
Loopback (127.0.0.1), the wildcard address (0.0.0.0) and netmasks are unchanged. MAC addresses were already synthetic and are unchanged.
Files:
tests/unit/test_driver.py,test_time_sync.py,test_snmp_agent.py,test_ssh_host_key.py,test_packages.py,test_updates.py, docstring examples ininterfaces_mixin.py,routing_mixin.pyandsystem_mixin.py(comments only, no code), and the README quick start. CHANGELOG untouched: nothing changes for users of the driver.Tests
No behaviour change. pytest 345 passed, ruff format/check clean,
napalm-standard check/ratchetgreen.Superseded by #42: same commit on a branch named per STANDARDS §1 (
chore/).Pull request closed