Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[beacons.network_settings] adopt new pyroute2 API #62218

Merged
merged 4 commits into from
Oct 1, 2022

Conversation

svinota
Copy link
Contributor

@svinota svinota commented Jun 25, 2022

... 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
Copy link
Contributor Author

svinota commented Jun 25, 2022

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
Contributor

@svinota Can you add a changelog for these changes?

@svinota
Copy link
Contributor Author

svinota commented Sep 30, 2022

@garethgreenaway sure thing, will be done tomorrow

@garethgreenaway
Copy link
Contributor

@svinota Thanks!

@svinota
Copy link
Contributor Author

svinota commented Oct 1, 2022

@garethgreenaway done

@garethgreenaway garethgreenaway merged commit 9e47904 into saltstack:master Oct 1, 2022
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