Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created March 17, 2015 20:19
Show Gist options
  • Save notmyname/438392d57c2f3d3ee327 to your computer and use it in GitHub Desktop.
Save notmyname/438392d57c2f3d3ee327 to your computer and use it in GitHub Desktop.
/info examples
$ curl http://saio:8080/info | python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1138 100 1138 0 0 127k 0 --:--:-- --:--:-- --:--:-- 138k
{
"account_quotas": {},
"bulk_delete": {
"max_deletes_per_request": 10000,
"max_failed_deletes": 1000
},
"bulk_upload": {
"max_containers_per_extraction": 10000,
"max_failed_extractions": 1000
},
"container_quotas": {},
"crossdomain": {},
"ratelimit": {
"account_ratelimit": 0.0,
"container_listing_ratelimits": [],
"container_ratelimits": [],
"max_sleep_time_seconds": 60.0
},
"slo": {
"max_manifest_segments": 1000,
"max_manifest_size": 2097152,
"min_segment_size": 1
},
"staticweb": {},
"swift": {
"account_autocreate": true,
"account_listing_limit": 10000,
"allow_account_management": true,
"container_listing_limit": 10000,
"max_account_name_length": 256,
"max_container_name_length": 256,
"max_file_size": 2147483648,
"max_header_size": 8192,
"max_meta_count": 90,
"max_meta_name_length": 128,
"max_meta_overall_size": 4096,
"max_meta_value_length": 256,
"max_object_name_length": 1024,
"policies": [
{
"default": true,
"name": "legacy"
},
{
"name": "tunafish"
},
{
"name": "cupcake"
}
],
"strict_cors_mode": true,
"version": "2.2.2.120.g2fa4906"
},
"tempauth": {
"account_acls": true
},
"tempurl": {
"methods": [
"GET",
"HEAD",
"PUT",
"POST",
"DELETE"
]
}
}
$ curl https://storage101.dfw1.clouddrive.com/info | python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1269 100 1269 0 0 2461 0 --:--:-- --:--:-- --:--:-- 2459
{
"bulk_delete": {
"max_deletes_per_request": 10000,
"max_failed_deletes": 1000
},
"bulk_upload": {
"max_containers_per_extraction": 10000,
"max_failed_extractions": 1000
},
"cdn_origin": {
"default_ttl": 259200,
"max_cdn_file_size": 107374182400,
"max_ttl": 1577846300,
"min_ttl": 900
},
"container_quotas": {},
"container_sync": {
"realms": {
"RACKSPACE": {
"clusters": {
"DFW1": {},
"HKG1": {},
"IAD3": {},
"ORD1": {},
"SYD2": {}
}
}
}
},
"formpost": {},
"ratelimit": {
"account_ratelimit": 100.0,
"container_listing_ratelimits": [],
"container_ratelimits": [
[
0,
100.0
]
],
"max_sleep_time_seconds": 60.0
},
"slo": {
"max_manifest_segments": 1000,
"max_manifest_size": 2097152,
"min_segment_size": 1048576
},
"staticweb": {},
"swift": {
"account_autocreate": true,
"account_listing_limit": 10000,
"allow_account_management": false,
"container_listing_limit": 10000,
"max_account_name_length": 256,
"max_container_name_length": 256,
"max_file_size": 5368709122,
"max_header_size": 8192,
"max_meta_count": 90,
"max_meta_name_length": 128,
"max_meta_overall_size": 4096,
"max_meta_value_length": 256,
"max_object_name_length": 1024,
"policies": [
{
"default": true,
"name": "Policy-0"
}
],
"strict_cors_mode": false,
"version": "2.2.1"
},
"tempurl": {
"methods": [
"GET",
"HEAD",
"PUT",
"DELETE"
]
}
}
$ curl https://o.swiftstack.lan/info | python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1130 100 1130 0 0 12149 0 --:--:-- --:--:-- --:--:-- 12282
{
"account_quotas": {},
"bulk_delete": {
"max_deletes_per_request": 10000,
"max_failed_deletes": 1000
},
"bulk_upload": {
"max_containers_per_extraction": 10000,
"max_failed_extractions": 1000
},
"container_quotas": {},
"formpost": {},
"ratelimit": {
"account_ratelimit": 0.0,
"container_listing_ratelimits": [],
"container_ratelimits": [],
"max_sleep_time_seconds": 60.0
},
"slo": {
"max_manifest_segments": 1000,
"max_manifest_size": 2097152,
"min_segment_size": 1048576
},
"staticweb": {},
"swift": {
"account_autocreate": true,
"account_listing_limit": 10000,
"allow_account_management": true,
"container_listing_limit": 10000,
"max_account_name_length": 256,
"max_container_name_length": 256,
"max_file_size": 5368709122,
"max_header_size": 16384,
"max_meta_count": 90,
"max_meta_name_length": 128,
"max_meta_overall_size": 4096,
"max_meta_value_length": 256,
"max_object_name_length": 1024,
"policies": [
{
"default": true,
"name": "Standard-Replica"
}
],
"strict_cors_mode": true,
"version": "2.2.0.2"
},
"swiftstack_auth": {
"account_acls": true
},
"swiftstack_authen": {},
"tempurl": {
"methods": [
"GET",
"HEAD",
"POST",
"PUT",
"DELETE"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment