Skip to content

Instantly share code, notes, and snippets.

@pinggit
Created April 6, 2017 14:30
Show Gist options
  • Save pinggit/f92ff331059144ee13ee4c3f664c6bea to your computer and use it in GitHub Desktop.
Save pinggit/f92ff331059144ee13ee4c3f664c6bea to your computer and use it in GitHub Desktop.
root@cl100ct197:~# curl -u admin:Juniper http://localhost:8095/project/f943e4b0-2d46-4322-adb6-80a7045e6956 | python -mjson.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1880 100 1880 0 0 3712 0 --:--:-- --:--:-- --:--:-- 3715
{
"project": {
"display_name": "temp",
"fq_name": [
"default-domain",
"temp"
],
"href": "http://localhost:8095/project/f943e4b0-2d46-4322-adb6-80a7045e6956",
"id_perms": {
"created": "2017-04-06T00:01:31.544357",
"creator": null,
"description": null,
"enable": true,
"last_modified": "2017-04-06T00:06:31.660593",
"permissions": {
"group": "KeystoneAdmin",
"group_access": 7,
"other_access": 7,
"owner": "admin",
"owner_access": 7
},
"user_visible": true,
"uuid": {
"uuid_lslong": 12517333669144062294,
"uuid_mslong": 17961451184208626466
}
},
"name": "temp",
"parent_href": "http://localhost:8095/domain/4a86fb5a-b603-4cc9-a423-1a6cb94a53e5",
"parent_type": "domain",
"parent_uuid": "4a86fb5a-b603-4cc9-a423-1a6cb94a53e5",
"perms2": {
"global_access": 0,
"owner": "f943e4b02d464322adb680a7045e6956",
"owner_access": 7,
"share": []
},
"quota": {
"access_control_list": null,
"bgp_router": null,
"defaults": null,
"floating_ip": -1,
"floating_ip_pool": null,
"global_vrouter_config": null,
"instance_ip": null,
"loadbalancer_healthmonitor": null,
"loadbalancer_member": null,
"loadbalancer_pool": null,
"logical_router": -1,
"network_ipam": null,
"network_policy": null,
"security_group": -1,
"security_group_rule": -1,
"service_instance": null,
"service_template": null,
"subnet": -1,
"virtual_DNS": null,
"virtual_DNS_record": null,
"virtual_ip": null,
"virtual_machine_interface": -1,
"virtual_network": -1,
"virtual_router": null
},
"security_groups": [
{
"href": "http://localhost:8095/security-group/c308e69b-ac87-4f6c-9aa5-8ae0ad47d368",
"to": [
"default-domain",
"temp",
"default"
],
"uuid": "c308e69b-ac87-4f6c-9aa5-8ae0ad47d368"
}
],
"uuid": "f943e4b0-2d46-4322-adb6-80a7045e6956",
"virtual_networks": [
{
"href": "http://localhost:8095/virtual-network/7c1f2d9a-f16a-4e3a-9b0d-f78eb24ef703",
"to": [
"default-domain",
"temp",
"vn_under_temp"
],
"uuid": "7c1f2d9a-f16a-4e3a-9b0d-f78eb24ef703"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment