VPC Pair 4.x Implementation#197
Open
sivakasi-cisco wants to merge 52 commits intoCiscoDevNet:developfrom
Open
Conversation
Collaborator
Author
|
Continuation of sivakasi-cisco#1 |
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
mikewiebe
reviewed
Mar 17, 2026
47f5bb0 to
ea2e89c
Compare
mikewiebe
reviewed
Mar 30, 2026
- resuse existing mixins without more duplicates\ - Adding type annotations to method signatures - revisited the required imports and removed others
- run time inputs for verify instead of suppress_verification - verify_option/query timers changed as config_action with retries - config_action validation - config_save knob along with deploy - limited external fabric checks for gathered calls - explicit field comparison readded in merge - vpc_pair details check extended - sanity checks, UT additions
1. Allowed overridden state with empty config to delete all vPC pairs
2. Keep deleted state guard requiring explicit config
3. Added empty string normalization in VpcPairDetailsDefault
4. Integration test changes:
- Probe fabric peering support
- Used simple vpc_pair_details_delete_safe payload for stable delete-path tests
- Add TC8 delete: reject empty config for state=deleted
- Override TC4: verify empty-config purge-all deletes all pairs
5. Added nd_info pattern for nd_vpc_pair integ test
# Conflicts: # plugins/module_utils/nd_state_machine.py # plugins/module_utils/orchestrators/base.py # plugins/module_utils/orchestrators/local_user.py # plugins/module_utils/orchestrators/manage_fabric_ebgp.py # plugins/module_utils/orchestrators/manage_fabric_external.py # plugins/module_utils/orchestrators/manage_fabric_ibgp.py
2dd74c7 to
331d602
Compare
allenrobel
requested changes
Apr 24, 2026
Collaborator
allenrobel
left a comment
There was a problem hiding this comment.
Sorry for being so nit-picky Sivakami. Added comments related to removing legacy Optional and Union.
Collaborator
Author
No Worries, Allen. Thank you for taking time. Shall make sure that I follow modern annotations |
sivakasi-cisco
commented
Apr 27, 2026
Collaborator
Author
sivakasi-cisco
left a comment
There was a problem hiding this comment.
Addressed review comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#230
vPC Pair support for ND 4.x
nd_manage_vpc_pair can create, update, delete, override, and gather vPC pairs.
The big module logic was split into focused helper files (query, validation, actions, deploy, etc.)
We added dedicated vPC Pair endpoints/models/schemas and connected them through the orchestrator + state machine flow.
Integration tests were added across all main scenarios (merge/replace/override/delete/gather).