Registering information about remote storage systems

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following request registers information about the remote storage system on the REST API server of the local storage system. At the same time, information about the local storage system can be registered, as the remote storage system, to the REST API server of the remote storage system.

Execution permission

Storage Administrator (Initial Configuration)

Request line

POST base-URL/v1/objects/remote-storages

Request message

Object ID

None.

Query parameters
None.
Body
{
  "storageDeviceId": "886000123457",
  "restServerIp": "192.0.2.101",
  "restServerPort": 443,
  "isMutualDiscovery": true
}

Attribute

Type

Description

storageDeviceId

string

(Required) Storage device ID of the remote storage system

restServerIp

string

(Required) IP address used by the REST API server of the remote storage system

You can specify an IPv4 address, IPv6 address, or a host name.

restServerPort

int

(Required) Port number used for SSL communication by the REST API server of the remote storage system

isMutualDiscovery

boolean

(Optional) Specify whether to perform a mutual registration operation.

You can specify whether to register information about the local storage system on the REST API server of the remote storage system.

  • true: Perform a mutual registration operation.
  • false: Do not perform a mutual registration operation.

If this value is omitted, true is specified.

Response message

Body

A job object is returned. For details on attributes other than affectedResources, see the section explaining job objects.

Attribute

Description

affectedResources

URL of the registered remote storage system

Status codes

For details on the status codes of the request for this operation, see the description on HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Remote-Authorization:Session 10399a1ffce3489b9c3a823017462396" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X POST --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/v1/objects/remote-storages