Update ND 4.2 Manage API Fields for Networks, VRFs, and Switches - #500
Open
AKDRG wants to merge 14 commits into
Open
Update ND 4.2 Manage API Fields for Networks, VRFs, and Switches#500AKDRG wants to merge 14 commits into
AKDRG wants to merge 14 commits into
Conversation
AKDRG
requested review from
akinross,
allenrobel,
anvitha-jain,
gmicol,
lhercot,
mikewiebe,
mtarking,
sajagana,
samiib and
shrsr
as code owners
August 10, 2026 11:35
AKDRG
force-pushed
the
fix/nd42-api-field-sync
branch
from
August 10, 2026 11:39
fe9c884 to
47cf7c5
Compare
AKDRG
force-pushed
the
fix/nd42-api-field-sync
branch
from
August 10, 2026 11:51
47cf7c5 to
76db855
Compare
Closed
8 tasks
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.
Related Issue(s)
Related to #458, #489
Proposed Changes
This PR updates the user-facing module fields and generated payloads to match the ND 4.2 Manage API behavior validated across Networks, VRFs, and Switch bootstrap workflows.
Networks
nd_manage_networks.querystate,network_type,tenant_name,is_l2only,rt_auto,enable_ir,l2_fabric_data, and older shorthand field aliases.arp_suppression,mtu,route_target_both,multicast_group_address, andds_vni.normalprimarycommunityisolatedprimary->privatePrimarycommunity->privateSecondaryCommunityisolated->privateSecondaryIsolatedprimary_network_idvlan_idinnetworkTemplateConfig.vlanIdvlanIdfor secondary PVLAN payloadsinterfaces, defaulting them to an empty list.attachment_optionssupport using snake_case fields.extra_configwithfreeform_config.VRFs
Switches
softwareImageimagePolicydhcpBootstrapIpseedSwitchsoftware_imagefrom pre-provision input, since pre-provision uses software version rather than software image.Tests
Test Notes
Validated locally:
pytestfocused Network tests:104 passedblack -l 159 --checkgit diff --checkansible-test sanity --test validate-modules --test import --test pep8 --test pylint --python 3.11Live validation was also performed against ND 4.2 Manage workflows for Network field behavior, PVLAN payload handling, and switch bootstrap field handling.
Cisco Nexus Dashboard Version
Developed and validated against Cisco Nexus Dashboard 4.2.x Manage APIs.
Related ND API Resource Category
Checklist