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

nm: Add support of multiconnect profile #1499

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

cathay4t
Copy link
Member

When certain profile holding connection.multi-connect multiple, it
means this profile will be apply to all interfaces matching. In this
case, nmstate should not modify this multiconnect profile but creating
new one.

Integration test case included.

@codecov
Copy link

codecov bot commented Jan 27, 2021

Codecov Report

Merging #1499 (a31f767) into base (7308df6) will decrease coverage by 0.04%.
The diff coverage is 38.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##             base    #1499      +/-   ##
==========================================
- Coverage   57.87%   57.83%   -0.05%     
==========================================
  Files          83       83              
  Lines        6388     6396       +8     
==========================================
+ Hits         3697     3699       +2     
- Misses       2691     2697       +6     
Impacted Files Coverage Δ
libnmstate/nm/connection.py 33.73% <25.00%> (-0.01%) ⬇️
libnmstate/nm/profile.py 22.90% <44.44%> (-0.05%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7308df6...a31f767. Read the comment docs.

Copy link
Member

@ffmancera ffmancera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

When certain profile holding `connection.multi-connect multiple`, it
means this profile will be apply to all interfaces matching. In this
case, nmstate should not modify this multiconnect profile but creating
new one.

Integration test case included.

Signed-off-by: Gris Ge <fge@redhat.com>
@cathay4t cathay4t added Waiting_Rebase Current PR is approved, but waiting rebase. and removed Wait_Review labels Feb 2, 2021
@cathay4t
Copy link
Member Author

cathay4t commented Feb 2, 2021

Investigating the constant failure of CI with nm master.

@cathay4t
Copy link
Member Author

cathay4t commented Feb 2, 2021

The CI failure is caused by NM bug which is not releated to this PR.

@cathay4t cathay4t merged commit 2c60c83 into nmstate:base Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting_Rebase Current PR is approved, but waiting rebase.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nm: Support NM.ConnectionMultiConnect.MULTIPLE
2 participants