Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.91 KB | None | 0 0
  1. Using http://10.155.1.11:9696/v2.0 as public network endpoint
  2. REQ: curl -g -i -X GET http://10.155.1.11:9696/v2.0/routers -H "Accept: application/json" -H "User-Agent: openstacksdk/0.9.17 keystoneauth1/3.0.1 python-requests/2.18.1 CPython/3.5.3" -H "X-Auth-Token: {SHA1}4627f0093d49be99f51ce2c94a388e3c31d066fa"
  3. http://10.155.1.11:9696 "GET /v2.0/routers HTTP/1.1" 200 8151
  4. RESP: [200] Content-Type: application/json Content-Length: 8151 X-Openstack-Request-Id: req-2c4250b1-2db9-4c8a-b21a-3b0bc549c4d0 Date: Thu, 21 Jun 2018 08:41:43 GMT Connection: keep-alive
  5. RESP BODY: {"routers": [{"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.26"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "0dbc36b8e955463389a2fab944f920e8", "created_at": "2018-06-15T13:32:54Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-06-15T13:33:37Z", "project_id": "0dbc36b8e955463389a2fab944f920e8", "flavor_id": null, "revision_number": 4, "routes": [], "ha": false, "id": "2a927bc9-a3d6-419b-b2e6-6046689f74e5", "name": "vrrp-router"}, {"status": "ACTIVE", "external_gateway_info": null, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "fda5ad94a9014461bfcdf411968c3c5a", "created_at": "2018-05-29T14:10:21Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-05-29T14:10:21Z", "project_id": "fda5ad94a9014461bfcdf411968c3c5a", "flavor_id": null, "revision_number": 1, "routes": [], "ha": false, "id": "45cecd91-eb1f-48af-9374-71da69ebe105", "name": ""}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.17"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "e05a5f0ff3194e3ca6ad46cc4187131b", "created_at": "2018-06-11T12:57:01Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-06-11T15:05:03Z", "project_id": "e05a5f0ff3194e3ca6ad46cc4187131b", "flavor_id": null, "revision_number": 15, "routes": [], "ha": false, "id": "465cc72f-d129-4d51-a5b6-c0b90821f9f9", "name": "RouterUser"}, {"status": "ACTIVE", "external_gateway_info": null, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "fda5ad94a9014461bfcdf411968c3c5a", "created_at": "2018-05-29T14:04:39Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-05-29T14:04:39Z", "project_id": "fda5ad94a9014461bfcdf411968c3c5a", "flavor_id": null, "revision_number": 1, "routes": [], "ha": false, "id": "7f95cb88-3a76-4b59-bf61-13ec9877cb96", "name": "router2"}, {"status": "ACTIVE", "external_gateway_info": null, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "fda5ad94a9014461bfcdf411968c3c5a", "created_at": "2018-05-29T14:10:52Z", "admin_state_up": true, "distributed": false, "updated_at": "2018-05-29T14:10:54Z", "project_id": "fda5ad94a9014461bfcdf411968c3c5a", "flavor_id": null, "revision_number": 5, "routes": [], "ha": true, "id": "88f94268-a828-4191-9dd5-4774e23f5016", "name": ""}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "6ab14e72-a0a6-4dd7-8bd2-8df5b1fe92c3", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "f6df2bc4-0b9a-45b7-a581-f989ab54870f", "ip_address": "80.253.33.136"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "576bfbae194c461190f8e834abc23edc", "created_at": "2018-06-08T12:34:50Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-06-08T12:40:29Z", "project_id": "576bfbae194c461190f8e834abc23edc", "flavor_id": null, "revision_number": 5, "routes": [], "ha": false, "id": "8af99ae9-14f6-44d0-ba1b-7460fa79776c", "name": "SPCInfra_Router"}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.5"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "5ba280bdc73146889731704a82b4072e", "created_at": "2018-06-11T10:27:50Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-06-11T10:28:43Z", "project_id": "5ba280bdc73146889731704a82b4072e", "flavor_id": null, "revision_number": 5, "routes": [], "ha": false, "id": "8b72fbe5-a2b7-4f84-b897-5c038b5e0b90", "name": "router-cinzia"}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "6ab14e72-a0a6-4dd7-8bd2-8df5b1fe92c3", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "f6df2bc4-0b9a-45b7-a581-f989ab54870f", "ip_address": "80.253.33.143"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "fda5ad94a9014461bfcdf411968c3c5a", "created_at": "2018-06-11T10:03:55Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-06-11T10:04:36Z", "project_id": "fda5ad94a9014461bfcdf411968c3c5a", "flavor_id": null, "revision_number": 5, "routes": [], "ha": false, "id": "a4637ffb-fd16-4253-92ac-8854569a4c2f", "name": "RouterSPC"}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.23"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "5ba280bdc73146889731704a82b4072e", "created_at": "2018-06-11T12:50:23Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-06-11T13:23:47Z", "project_id": "5ba280bdc73146889731704a82b4072e", "flavor_id": null, "revision_number": 11, "routes": [], "ha": true, "id": "ae9c59b5-0d02-4f33-b27d-abcf79042dd0", "name": "RouterDisHA"}, {"status": "ACTIVE", "external_gateway_info": null, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "fda5ad94a9014461bfcdf411968c3c5a", "created_at": "2018-05-29T14:05:19Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-05-29T14:05:21Z", "project_id": "fda5ad94a9014461bfcdf411968c3c5a", "flavor_id": null, "revision_number": 5, "routes": [], "ha": true, "id": "dc2276bd-bb0f-4b58-8b0b-6487e0dff0b4", "name": "router3"}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.11"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "5ba280bdc73146889731704a82b4072e", "created_at": "2018-06-11T12:52:30Z", "admin_state_up": true, "distributed": false, "updated_at": "2018-06-11T13:24:18Z", "project_id": "5ba280bdc73146889731704a82b4072e", "flavor_id": null, "revision_number": 7, "routes": [], "ha": true, "id": "eceb5e23-fc93-4697-acff-c3f9429639e1", "name": "RouterCenHA"}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.19"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "576bfbae194c461190f8e834abc23edc", "created_at": "2018-05-29T13:20:42Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-05-29T13:21:07Z", "project_id": "576bfbae194c461190f8e834abc23edc", "flavor_id": null, "revision_number": 9, "routes": [], "ha": true, "id": "f794e6a0-756f-4b72-92f8-ed17e4e99e87", "name": "FE_Router"}, {"status": "ACTIVE", "external_gateway_info": {"network_id": "eea301bf-4457-4180-a0b6-bbe3e48563ba", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "a385b95c-3139-463b-946c-5c4396531282", "ip_address": "131.1.242.8"}]}, "availability_zone_hints": [], "availability_zones": ["nova"], "description": "", "tags": [], "tenant_id": "fda5ad94a9014461bfcdf411968c3c5a", "created_at": "2018-05-29T13:01:41Z", "admin_state_up": true, "distributed": true, "updated_at": "2018-05-29T13:02:07Z", "project_id": "fda5ad94a9014461bfcdf411968c3c5a", "flavor_id": null, "revision_number": 5, "routes": [], "ha": false, "id": "fd549268-1adb-4a38-9782-961ec8622006", "name": "router1"}]}
  6.  
  7. GET call to network for http://10.155.1.11:9696/v2.0/routers used request id req-2c4250b1-2db9-4c8a-b21a-3b0bc549c4d0
  8. +--------------------------------------+-----------------+--------+-------+-------------+-------+----------------------------------+
  9. | ID | Name | Status | State | Distributed | HA | Project |
  10. +--------------------------------------+-----------------+--------+-------+-------------+-------+----------------------------------+
  11. | 2a927bc9-a3d6-419b-b2e6-6046689f74e5 | vrrp-router | ACTIVE | UP | True | False | 0dbc36b8e955463389a2fab944f920e8 |
  12. | 45cecd91-eb1f-48af-9374-71da69ebe105 | | ACTIVE | UP | True | False | fda5ad94a9014461bfcdf411968c3c5a |
  13. | 465cc72f-d129-4d51-a5b6-c0b90821f9f9 | RouterUser | ACTIVE | UP | True | False | e05a5f0ff3194e3ca6ad46cc4187131b |
  14. | 7f95cb88-3a76-4b59-bf61-13ec9877cb96 | router2 | ACTIVE | UP | True | False | fda5ad94a9014461bfcdf411968c3c5a |
  15. | 88f94268-a828-4191-9dd5-4774e23f5016 | | ACTIVE | UP | False | True | fda5ad94a9014461bfcdf411968c3c5a |
  16. | 8af99ae9-14f6-44d0-ba1b-7460fa79776c | SPCInfra_Router | ACTIVE | UP | True | False | 576bfbae194c461190f8e834abc23edc |
  17. | 8b72fbe5-a2b7-4f84-b897-5c038b5e0b90 | router-cinzia | ACTIVE | UP | True | False | 5ba280bdc73146889731704a82b4072e |
  18. | a4637ffb-fd16-4253-92ac-8854569a4c2f | RouterSPC | ACTIVE | UP | True | False | fda5ad94a9014461bfcdf411968c3c5a |
  19. | ae9c59b5-0d02-4f33-b27d-abcf79042dd0 | RouterDisHA | ACTIVE | UP | True | True | 5ba280bdc73146889731704a82b4072e |
  20. | dc2276bd-bb0f-4b58-8b0b-6487e0dff0b4 | router3 | ACTIVE | UP | True | True | fda5ad94a9014461bfcdf411968c3c5a |
  21. | eceb5e23-fc93-4697-acff-c3f9429639e1 | RouterCenHA | ACTIVE | UP | False | True | 5ba280bdc73146889731704a82b4072e |
  22. | f794e6a0-756f-4b72-92f8-ed17e4e99e87 | FE_Router | ACTIVE | UP | True | True | 576bfbae194c461190f8e834abc23edc |
  23. | fd549268-1adb-4a38-9782-961ec8622006 | router1 | ACTIVE | UP | True | False | fda5ad94a9014461bfcdf411968c3c5a |
  24. +--------------------------------------+-----------------+--------+-------+-------------+-------+----------------------------------+
  25. clean_up ListRouter:
  26. END return value: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement