Closed itsthekraken closed 6 months ago
Also when adding a AP vlan with an vlanName i get the following error: APIerror: [400] Bad Request - 'namespace'
"status": "failed",
"description": "'namespace'",
"taskId": null,
"taskStatusUrl": "/dna/intent/api/v1/task/null",
"executionStatusUrl": "/dna/intent/api/v1/dnacaap/management/execution-status/d5f9db1c-f220-4d74-895d-986506a1a549",
"executionId": "d5f9db1c-f220-4d74-895d-986506a1a549"
{
"bapiKey": "2085-79ea-4ed9-8f4f",
"bapiName": "Add IP Pool in SDA Virtual Network",
"bapiExecutionId": "d5f9db1c-f220-4d74-895d-986506a1a549",
"startTime": "Tue Oct 10 14:25:02 UTC 2023",
"startTimeEpoch": 1696947902712,
"endTime": "Tue Oct 10 14:25:03 UTC 2023",
"endTimeEpoch": 1696947903844,
"timeDuration": 1132,
"status": "SUCCESS",
"runtimeInstanceId": "DNACP_Runtime_597b9aa5-c6c4-4251-bef8-3f2f120aa385"
}
Documentation on the cisco.developers site was not complete. Needed to use the --autogeneratevlanname flag. Was not an optional option. We can close this issue
Prerequisites
Describe the bug When adding a IP pool to a VN i want to give the VLAN a name. When i do this with the API it is not accepted and the name is auto-generated as if i do not give an name to the VLAN.
Expected behavior When i give the vlanName variable a value i expect DNA to use that as the name of the vlan
Screenshots Result of using the API directly or through own python script Schema definition that has a vlanName variable that i try to use
Environment (please complete the following information):
Additional context Add any other context about the problem here.