-
Bug
-
Resolution: Unresolved
-
None
-
unspecified
-
None
-
Operating System: All
Platform: All
-
5496
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": {}
}
}
}
]
}