Prerequisites
- [Yes ] Have you tested the operation in the API directly?
- [Yes ] Do you have the latest SDK version?
- [Yes ] Review the compatibility matrix before opening an issue.
Describe the bug
The Python dnacentersdk wired Layer 2 intent APIs do not expose udldGlobalConfig in the request models, so UDLD intent creation/update is not supported through the SDK even though the API family is feature-based and other global Layer 2 features are included. UDLD global configuration cannot be created or updated using the SDK request parameters
Expected behavior
These SDK APIs should be updated to include udldGlobalConfig in method signatures, payload assembly, and validators:
1. create_configurations_for_an_intended_layer2_feature_on_a_wired_device
REST API:
POST /dna/intent/api/v1/wired/networkDevices/{id}/configFeatures/intended/layer2/{feature}
2. update_configurations_for_an_intended_layer2_feature_on_a_wired_device
REST API:
PUT /dna/intent/api/v1/wired/networkDevices/{id}/configFeatures/intended/layer2/{feature}
3. Request validator schemas used by the above methods
They should include udldGlobalConfig just like other global Layer 2 feature objects.
Screenshots
Additional context
Note on Delete
delete_configurations_for_an_intended_layer2_feature_on_a_wired_device
uses only feature and id, so it is generic and may already work if the backend accepts the UDLD feature name. The primary SDK bug is missing create/update model support for udldGlobalConfig.
Prerequisites
Describe the bug
The Python dnacentersdk wired Layer 2 intent APIs do not expose udldGlobalConfig in the request models, so UDLD intent creation/update is not supported through the SDK even though the API family is feature-based and other global Layer 2 features are included. UDLD global configuration cannot be created or updated using the SDK request parameters
Expected behavior
These SDK APIs should be updated to include udldGlobalConfig in method signatures, payload assembly, and validators:
Screenshots
Additional context
Note on Delete
delete_configurations_for_an_intended_layer2_feature_on_a_wired_device
uses only feature and id, so it is generic and may already work if the backend accepts the UDLD feature name. The primary SDK bug is missing create/update model support for udldGlobalConfig.