[NETVIRT-628] VPN creation with multiple RD via Rest is not working Created: 20/Apr/17  Updated: 19/Oct/17  Resolved: 05/Jun/17

Status: Verified
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Ravi Ranjan Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8255

 Description   

while creating VPN via Rest with mutiple RD getting the below error:

{"errors":{"error":[

{"error-type":"protocol","error-tag":"operation-failed","error-message":"Creation of VPN failed for VPN 4ae8cd92-48ca-49b5-94e1-b2921a261111 due to multiple RD input [100:11, 100:10, 100:14, 100:13, 100:12]","error-info":"<severity>warning</severity>"}

]}}

Json structure :
------------------
{
"input":{
"l3vpn":[

{ "id":"4ae8cd92-48ca-49b5-94e1-b2921a261111", "name":"vpn1", "route-distinguisher": ["100:10","100:11","100:12","100:13","100:14"] , "export-RT": ["210:2"] , "import-RT": ["210:2"] , "tenant-id":"92ac4fae-5792-4378-b40b-f120ad759e00" }

]
}
}


Generated at Wed Feb 07 20:22:03 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.