Normally, you let HCP choose the node on which to process an HSwift API request. You can, however, use an IP address in the request URL to access the system on a specific node. To do this, you replace the fully qualified hostname in the URL with the IP address of an HCP node.
Here's an example of a curl command that uses a URL with an IP address. In this instance, the tenant name is replaced by its Keystone Prefix tenant ID and the Keystone tenant ID:
curl -X PUT -T http://192.168.210.16/swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance /Q4_2012.ppt -H "X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87" -H "Content-Length: 63"
The formats for IP address URLs are:
https://ip-address/swift/v1/tenant-name/namespace-name/object-name
https://ip-address/swift/v1/AUTH_tenant-id/namespace-name/object-name
For information on HCP nodes, see HCP nodes.
For information on when to use an IP address instead of a hostname, see Hostname and IP address considerations.
For the IP addresses of the HCP nodes, contact your tenant administrator.
© 2015 Hitachi Data Systems Corporation. All rights reserved.