[DLUX-75] Yang UI Putting more than one topology id (topology list) results in error Created: 11/Mar/16  Updated: 24/May/16

Status: In Review
Project: dlux
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Daša Šimková Assignee: Daniel Malachovsky
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: JPEG File Yang UI Adding two topology IDs results in error.jpeg    
External issue ID: 5496

 Description   

Navigate to Yang UI -> API tree -> ... -> config -> network-topology -> topology

{topology-id}

.
When trying to PUT more than one topology id (topology list), the application returns error "Error sending request - : Error parsing input: expected one element but was: ..." There are 2 topology ids sent to a single topology id.
Sent data is:
http://localhost:8181/restconf/config/network-topology:network-topology/topology/t2

{
"topology": [
{
"topology-id": "t1",
"topology-types": {
"l3-unicast-igp-topology:l3-unicast-igp-topology": {
"isis-topology:isis": {},
"ospf-topology:ospf": {}
}
}
},
{
"topology-id": "t2",
"topology-types": {
"l3-unicast-igp-topology:l3-unicast-igp-topology": {
"isis-topology:isis": {},
"ospf-topology:ospf": {}
}
}
}
]
}



 Comments   
Comment by Daša Šimková [ 11/Mar/16 ]

Attachment Yang UI Adding two topology IDs results in error.jpeg has been added with description: Yang UI adding more topology ids error

Generated at Wed Feb 07 19:57:52 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.