Skip to content

[beacons.network_settings] adopt new pyroute2 API - #62218

Merged
garethgreenaway merged 4 commits into
saltstack:masterfrom
svinota:master
Oct 1, 2022
Merged

garethgreenaway merged 4 commits into
saltstack:masterfrom
svinota:master

Conversation

@svinota

@svinota svinota commented Jun 25, 2022

Copy link
Copy Markdown
Contributor

... and prepare for pyroute2.IPDB to be dropped.

This commit provides no logic change, only some compat code.

Reason: pyroute2.IPDB will be dropped in future releases, and
the successor module pyroute2.NDB does not provide a drop-in
replacement API.

Solution: use NDB if ipdb_interfaces_view() is available
(will be available @ pyroute2 >= 0.7.1), otherwise fall back
to IPDB (while it's provided).

Related: svinota/pyroute2#788

@svinota
svinota requested a review from a team as a code owner June 25, 2022 12:58
@svinota
svinota requested review from dwoz and removed request for a team June 25, 2022 12:58
... and prepare for pyroute2.IPDB to be dropped.

This commit provides no logic change, only some compat code.

Reason: pyroute2.IPDB will be dropped in future releases, and
the successor module pyroute2.NDB does not provide a drop-in
replacement API.

Solution: use NDB if ipdb_interfaces_view() is available
(will be available @ pyroute2 >= 0.7.1), otherwise fall back
to IPDB (while it's provided).
@svinota
svinota marked this pull request as draft June 25, 2022 13:04
svinota added a commit to svinota/pyroute2 that referenced this pull request Jun 25, 2022
@svinota
svinota marked this pull request as ready for review June 25, 2022 13:56
@svinota

svinota commented Jun 25, 2022

Copy link
Copy Markdown
Contributor Author

Not sure why pr-centos-7-x86_64-py3-tcp-pytest is failing.

@garethgreenaway garethgreenaway added this to the Sulphur v3006.0 milestone Sep 30, 2022
@garethgreenaway garethgreenaway added the Sulfur v3006.0 release code name and version label Sep 30, 2022
@garethgreenaway

Copy link
Copy Markdown
Contributor

@svinota Can you add a changelog for these changes?

@svinota

svinota commented Sep 30, 2022

Copy link
Copy Markdown
Contributor Author

@garethgreenaway sure thing, will be done tomorrow

@garethgreenaway

Copy link
Copy Markdown
Contributor

@svinota Thanks!

@svinota

svinota commented Oct 1, 2022

Copy link
Copy Markdown
Contributor Author

@garethgreenaway done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Sulfur v3006.0 release code name and version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants