get_clusters() fills ClusterStorageDict.backup_server for each pbs storage from /storage: server, port, datastore, namespace, fingerprint, never the password or encryption key. An unreadable /storage leaves it None; other storages carry no such key (the existing storage tests are unchanged).
Checks
pytest: 603 passed (4 new in tests/test_clusters.py::TestBackupServerRef).
ruff, mypy --strict (only the known device-types-from-source notes), napalm-standard check, ratchet: clean.
Not checked live against a PVE yet; netOrk's link stage reads it from the real cluster on its first poll.
Closes #55. Part of NetOrk/netork#1918 (step 6 of #52, which was left out there).
`get_clusters()` fills `ClusterStorageDict.backup_server` for each `pbs` storage from `/storage`: server, port, datastore, namespace, fingerprint, never the password or encryption key. An unreadable `/storage` leaves it `None`; other storages carry no such key (the existing storage tests are unchanged).
## Checks
- `pytest`: 603 passed (4 new in `tests/test_clusters.py::TestBackupServerRef`).
- ruff, `mypy --strict` (only the known device-types-from-source notes), `napalm-standard check`, ratchet: clean.
Not checked live against a PVE yet; netOrk's link stage reads it from the real cluster on its first poll.
get_clusters() lists a pbs storage like any other, so nothing told an
application which Proxmox Backup Server and datastore it writes to.
Each pbs storage now carries ClusterStorageDict.backup_server
(napalm-device-types 4.25.0): server, port, datastore, namespace and
fingerprint from /storage, never the password or encryption key. An
unreadable /storage leaves it None; other storages carry no such key.
This was step 6 of #52 and was left out there.
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.
Closes #55. Part of NetOrk/netork#1918 (step 6 of #52, which was left out there).
get_clusters()fillsClusterStorageDict.backup_serverfor eachpbsstorage from/storage: server, port, datastore, namespace, fingerprint, never the password or encryption key. An unreadable/storageleaves itNone; other storages carry no such key (the existing storage tests are unchanged).Checks
pytest: 603 passed (4 new intests/test_clusters.py::TestBackupServerRef).mypy --strict(only the known device-types-from-source notes),napalm-standard check, ratchet: clean.Not checked live against a PVE yet; netOrk's link stage reads it from the real cluster on its first poll.