Skip to content

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
gmicol:add_network_ressource_nd_local_user
Open

Add a new network resource module nd_local_user for local users on Nexus Dashboard v4.1.0 or higher (DCNE-543)#172
gmicol wants to merge 25 commits intoCiscoDevNet:masterfrom
gmicol:add_network_ressource_nd_local_user

Conversation

@gmicol
Copy link
Collaborator

@gmicol gmicol commented Sep 3, 2025

No description provided.

@gmicol gmicol self-assigned this Sep 3, 2025
@gmicol gmicol added the jira-sync Sync this issue to Jira label Sep 3, 2025
@gmicol gmicol requested a review from shrsr as a code owner September 3, 2025 17:53
@github-actions github-actions bot changed the title Add a new network resource module nd_local_user for local users on Nexus Dashboard v4.1.0 or higher Add a new network resource module nd_local_user for local users on Nexus Dashboard v4.1.0 or higher (DCNE-543) Sep 3, 2025
@gmicol gmicol force-pushed the add_network_ressource_nd_local_user branch from a4b3de7 to 6a9aefd Compare September 3, 2025 17:55
@gmicol gmicol force-pushed the add_network_ressource_nd_local_user branch 3 times, most recently from e38fee8 to df74fbf Compare September 5, 2025 19:48
@gmicol gmicol force-pushed the add_network_ressource_nd_local_user branch from df74fbf to fe89c61 Compare September 22, 2025 17:45
Copy link
Collaborator

@anvitha-jain anvitha-jain left a comment

Choose a reason for hiding this comment

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

Add comments to exaplain how the class works (or what is happening within the class)

@gmicol gmicol force-pushed the add_network_ressource_nd_local_user branch 6 times, most recently from 4d04726 to 7c967c3 Compare December 18, 2025 14:17
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>
@gmicol gmicol force-pushed the add_network_ressource_nd_local_user branch from 7e19f72 to f06f154 Compare February 24, 2026 18:00
…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.
…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).
@gmicol gmicol force-pushed the add_network_ressource_nd_local_user branch from 389f4c2 to b41b5b8 Compare February 26, 2026 15:48
@gmicol gmicol requested a review from akinross March 5, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira-sync Sync this issue to Jira

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants