-
Bug
-
Resolution: Cannot Reproduce
-
None
-
stable/lithium
-
None
-
Operating System: All
Platform: All
-
5124
Description:
GET Interface and "add interface to router" not working.
I have created a router with below configuration. Router got created successfully.
--------------------------------------------------------------------
http://<controller IP>:8080/restconf/config/neutron:neutron/routers/
{"router": {
"name": "RRRRRR1",
"interfaces": [
,
],
"uuid": "5971a821-f8f0-4771-ae4c-7f132ba5e77c",
"tenant-id": "de0a7495-05c4-4be0-b796-1412835c6820",
"admin-state-up": true
}
}
-----------------------------------------------------------------------
But, when i try to get list of interface details and adding new interface to existing router is not working.
To GET available Interfaces i used below API.
http://<controller IP>:8080/restconf/config/neutron:neutron/routers/router/5971a821-f8f0-4771-ae4c-7f132ba5e77c/interfaces/
Output is :
{
"errors": {
"error": [
]
}
}
To add interface i used below API.
http://10.183.254.195:8080/restconf/config/neutron:neutron/routers/router/5971a821-f8f0-4771-ae4c-7f132ba5e77c/interfaces/http://10.183.254.195:8080/restconf/config/neutron:neutron/routers/router/5971a821-f8f0-4771-ae4c-7f132ba5e77c/interfaces/
{
"subnet-id": "9b09f1a7-250f-4562-8093-e6018aeceaf6",
"tenant-id": "de0a7495-05c4-4be0-b796-1412835c6820",
"port-id": "c8dd830f-7b97-40f0-a7b6-21cd5aff502e",
"uuid": "c8ff831f-7b97-40f0-a7b6-21cd5aff502d"
}
Output Observed:
{
"errors": {
"error": [
]
}
}