Add a new network resource module nd_local_user for local users on Nexus Dashboard v4.1.0 or higher (DCNE-543)#172
Open
gmicol wants to merge 25 commits intoCiscoDevNet:masterfrom
Open
Conversation
a4b3de7 to
6a9aefd
Compare
akinross
reviewed
Sep 4, 2025
e38fee8 to
df74fbf
Compare
df74fbf to
fe89c61
Compare
anvitha-jain
reviewed
Oct 2, 2025
Collaborator
anvitha-jain
left a comment
There was a problem hiding this comment.
Add comments to exaplain how the class works (or what is happening within the class)
4d04726 to
7c967c3
Compare
akinross
requested changes
Jan 16, 2026
akinross
requested changes
Jan 20, 2026
akinross
requested changes
Jan 23, 2026
sivakasi-cisco
added a commit
to sivakasi-cisco/ansible-nd
that referenced
this pull request
Feb 17, 2026
- Add Pydantic-based NDBaseModel for network resource models - Add NDConfigCollection for type-safe config management with O(1) lookups - Add NDNetworkResourceModule base class for network resource modules - Add nd_local_user module as reference implementation - Supports merged/replaced/overridden/deleted states - Implements composition pattern with actions_overwrite_map Co-authored-by: Gaspard Micol <gmicol@cisco.com>
sivakasi-cisco
added a commit
to sivakasi-cisco/ansible-nd
that referenced
this pull request
Feb 17, 2026
- Add Pydantic-based NDBaseModel for network resource models - Add NDConfigCollection for type-safe config management with O(1) lookups - Add NDNetworkResourceModule base class for network resource modules - Add nd_local_user module as reference implementation - Supports merged/replaced/overridden/deleted states - Implements composition pattern with actions_overwrite_map Co-authored-by: Gaspard Micol <gmicol@cisco.com>
sivakasi-cisco
added a commit
to sivakasi-cisco/ansible-nd
that referenced
this pull request
Feb 17, 2026
- Add Pydantic-based NDBaseModel for network resource models - Add NDConfigCollection for type-safe config management with O(1) lookups - Add NDNetworkResourceModule base class for network resource modules - Add nd_local_user module as reference implementation - Supports merged/replaced/overridden/deleted states - Implements composition pattern with actions_overwrite_map Co-authored-by: Gaspard Micol <gmicol@cisco.com>
sivakasi-cisco
added a commit
to sivakasi-cisco/ansible-nd
that referenced
this pull request
Feb 17, 2026
- Add Pydantic-based NDBaseModel for network resource models - Add NDConfigCollection for type-safe config management with O(1) lookups - Add NDNetworkResourceModule base class for network resource modules - Add nd_local_user module as reference implementation - Supports merged/replaced/overridden/deleted states - Implements composition pattern with actions_overwrite_map Co-authored-by: Gaspard Micol <gmicol@cisco.com>
7e19f72 to
f06f154
Compare
… Nexus Dashboard v4.1.0 and higher.
…nherited from future class models. Modify class models for local_user.
…e.py based on comments. Add a get method and get_identifier_value function to NDBaseModel.
…tion of core design adding new methods which will be used in NDConfigCollection and NDNetworkResourceModule classes as well as basic error handling and simple docstrings.
…ign changing existing methods and adding new ones which will be used in NDNetworkResourceModule class as well as basic error handling and simple docstrings.
…of core design changing existing methods and adding new ones which will be used in future as a based for ND network resource modules as well as basic error handling and simple docstrings.
…anges added to NDNetworkResourceModule.
…s for orchestrating crud api operations with model instances and endpoints.
… built-in functionalities. Slightly modify models/base.py to enforce identifiers definitions in NDBaseModel subclasses. Added multiple notes to assert next steps.
…rt endpoints and Pydantic models modification (works for merge and replace states). Add comments for next steps.
…nts and changes to models/local_user.py and api_endpoints/base.py
…ons methods that work for single_identifier strategy (meant to be overridden if needed).
389f4c2 to
b41b5b8
Compare
…or NDNestedModel. Add types.file. Various Renaming and small Modifications across the repo. WIP.
…i_endpoints. Adapt api_endpoints, models, orchestrators accordingly. Integration Tests passing for nd_local_user module. Still WIP.
…ome sanity issues.
…teration of (Mock Pydantic objects/methods) to pass sanity checks for Pydantic importation.
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.
No description provided.