refactor!: drop the Docker model #21

Merged
christianmanivong merged 1 commits from chore/drop-legacy-docker into main 2026-10-08 06:52:25 +00:00
Owner

These go:

  • DockerInfoDict, DockerContainerDict, DockerImageDict, DockerVolumeDict, DockerNetworkDict;
  • the OSDriver declaration of get_docker_info().

They described napalm-linux' old CLI reading, which napalm-linux 0.3.0 dropped (NAPALM/napalm-linux#20).

There is no container model here: netOrk reads and handles containers over the Engine API (NetOrk/netork#765, phase 9), and this package only gives access to the engine (ContainerEngineMixin).

  • Breaking, so the version goes to 4.0.0, on top of 3.0.0 (#20).
  • A test checks that the types and the declaration are gone.
  • 401 tests pass.

netOrk takes this pin only after it has taken 3.0.0 (NetOrk/netork#814).

These go: - `DockerInfoDict`, `DockerContainerDict`, `DockerImageDict`, `DockerVolumeDict`, `DockerNetworkDict`; - the `OSDriver` declaration of `get_docker_info()`. They described napalm-linux' old CLI reading, which napalm-linux 0.3.0 dropped (NAPALM/napalm-linux#20). There is no container model here: netOrk reads and handles containers over the Engine API (NetOrk/netork#765, phase 9), and this package only gives access to the engine (`ContainerEngineMixin`). - Breaking, so the version goes to 4.0.0, on top of 3.0.0 (#20). - A test checks that the types and the declaration are gone. - 401 tests pass. netOrk takes this pin only after it has taken 3.0.0 (NetOrk/netork#814).
christianmanivong added 1 commit 2026-10-08 06:48:47 +00:00
refactor!: drop the Docker model
CI / test (3.10) (push) Successful in 25s
CI / test (3.11) (push) Successful in 22s
CI / test (3.12) (push) Successful in 24s
CI / test (3.10) (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 22s
CI / test (3.12) (pull_request) Successful in 23s
8eb7dcd871
DockerInfoDict, DockerContainerDict, DockerImageDict, DockerVolumeDict,
DockerNetworkDict and the OSDriver declaration of get_docker_info() go.
They described napalm-linux' old CLI reading, which napalm-linux 0.3.0
dropped. There is no container model here: netOrk reads and handles
containers over the Engine API (NetOrk/netork#765, phase 9); this
package only gives access to the engine.

Version 4.0.0.
christianmanivong merged commit 7ba84acad3 into main 2026-10-08 06:52:25 +00:00
christianmanivong deleted branch chore/drop-legacy-docker 2026-10-08 06:52:25 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-device-types#21