===== Problem Description ===== I want to get all ids about LBaaS's pools.
I use this command:
curl -g -i -X GET http://10.0.44.233:9696/v2.0/lbaas/pools.json?fields=id \ -H "User-Agent: python-neutronclient" \ -H "Accept: application/json" \ -H "X-Auth-Token: a77ea1dd7fb748448d36142ef844802d"
But the Neutron server didn't return correctly. The response is :
HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8 Content-Length: 344 X-Openstack-Request-Id: req-8ed9d992-6a4c-44ac-9c59-de65794e919f Date: Wed, 03 Aug 2016 10:56:18 GMT
{"pools": [{"lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "admin_state_up": true, "session_persistence": null, "healthmonitor_id": null, "listeners": [{"id": "f8392236-e065-4aa2-a4ef-d6c6821cc038"}], "members": [{"id": "ea1292f4-fb6a-4594-9d13-9ff0dec865d8"}], "id": "b360fc75-b23d-46a3-b936-6c9480d35219", "name": ""}]}[root@server-233 ~(keystone_admin)]
Neutron server returns all the infos about pools.
In the request, I specify the url with "fields=id". But the Neutron server didn't return correctly.
===== Problem Description =====
I want to get all ids about LBaaS's pools.
I use this command:
curl -g -i -X GET http:// 10.0.44. 233:9696/ v2.0/lbaas/ pools.json? fields= id \ neutronclient" \ 48d36142ef84480 2d"
-H "User-Agent: python-
-H "Accept: application/json" \
-H "X-Auth-Token: a77ea1dd7fb7484
But the Neutron server didn't return correctly. The response is :
HTTP/1.1 200 OK Request- Id: req-8ed9d992- 6a4c-44ac- 9c59-de65794e91 9f
Content-Type: application/json; charset=UTF-8
Content-Length: 344
X-Openstack-
Date: Wed, 03 Aug 2016 10:56:18 GMT
{"pools": [{"lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "admin_state_up": true, "session_ persistence" : null, "healthmonitor_id": null, "listeners": [{"id": "f8392236- e065-4aa2- a4ef-d6c6821cc0 38"}], "members": [{"id": "ea1292f4- fb6a-4594- 9d13-9ff0dec865 d8"}], "id": "b360fc75- b23d-46a3- b936-6c9480d352 19", "name": ""}]}[root@ server- 233 ~(keystone_admin)]
Neutron server returns all the infos about pools.
In the request, I specify the url with "fields=id". But the Neutron server didn't return correctly.