Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

request:

curl -i -X PUT http://10.10.10.51:9696/v2.0/routers/05ac07e4-3c75-4eb2-8904-bc22f14db636/add_router_interface -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN" -d '{"subnet_id": "352626dc-9dea-4eb2-a1a4-e0e68544637b"}'

response: HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8 Content-Length: 199 Date: Mon, 10 Nov 2014 07:53:15 GMT

{"subnet_id": "352626dc-9dea-4eb2-a1a4-e0e68544637b", "tenant_id": "357c313a841745ceb82d7009eca0e141", "port_id": "bbb6696d-9297-432d-9213-9576b3b542cb", "id": "05ac07e4-3c75-4eb2-8904-bc22f14db636"}