HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 72

HTTP Response, Removing a VLUN, VLUN Removal Success

Page 72 highlights

"overrideLowerPriority":false } HTTP Response HTTP/1.1 201 Created Date: Mon, 16 Apr 2012 06:44:26 GMT Server: hp3par-wsapi Cache-Control: no-cache Pragma: no-cache Location: /api/v1/vluns/test_vv02,252,mysystem,2:2:4 Removing a VLUN This section describes the HTTP request and response for removing a virtual volume's SCSI LUN export definition from the system. To remove the VLUN definition, use the HTTP DELETE method in the URI: https://:8080/api/v1/vluns/,, [,][?] NOTE: Square brackets ([ ]) indicate that the variable is optional. NOTE: Any user with the Super or Edit role, or any role granted with the vlun_remove right, can perform this operation. Table Table 70 (page 72) shows the URI parameters that are sent in the URI for VLUN removal. Table 70 URI Parameters for VLUN Removal URI Parameter* Ignored Values Description None (required) Name of the volume to be exported. None (required) LUN. None (required if volume is exported to host, or Name of the host which the volume is exported. to both host and port) For VLUN of port type, the value is empty. None (required if volume is exported to port, or Specifies the system port of the VLUN export. It to both host and port) includes the system node number, PCI bus slot number, and card port number on the FC card in the format: :: None Can be replaced with a Boolean value: • noVcn=True • noVcn=False *Must be percent encoded as in RFC 3968 for reserved characters. VLUN Removal Success A successful removal returns the HTTP status code 200 OK, with no message body. VLUN Removal Errors An error state returns one of the errors shown in Table 71 (page 73). For generic API error codes, see Table 5 (page 17). 72 Working with Virtual LUNs

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

"overrideLowerPriority":false
}
HTTP Response
HTTP/1.1 201 Created
Date: Mon, 16 Apr 2012 06:44:26 GMT
Server: hp3par-wsapi
Cache-Control: no-cache
Pragma: no-cache
Location: /api/v1/vluns/test_vv02,252,mysystem,2:2:4
Removing a VLUN
This section describes the HTTP request and response for removing a virtual volume’s SCSI LUN
export definition from the system. To remove the VLUN definition, use the HTTP DELETE method in
the URI:
https://
<storage system>
:8080/api/v1/vluns/
<volume name>
,
<lun>
,
<host
name>
[
,<port>
][?
<option>
]
NOTE:
Square brackets ([ ]) indicate that the variable is optional.
NOTE:
Any user with the Super or Edit role, or any role granted with the
vlun_remove
right,
can perform this operation.
Table
Table 70 (page 72)
shows the URI parameters that are sent in the URI for VLUN removal.
Table 70 URI Parameters for VLUN Removal
Description
Ignored Values
URI Parameter*
Name of the volume to be exported.
None (required)
<volume name>
LUN.
None (required)
<lun>
Name of the host which the volume is exported.
For VLUN of port type, the value is empty.
None (required if volume is exported to host, or
to both host and port)
<host name>
Specifies the system port of the VLUN export. It
includes the system node number, PCI bus slot
None (required if volume is exported to port, or
to both host and port)
<port>
number, and card port number on the FC card
in the format:
<node>:<slot>:<port>
Can be replaced with a Boolean value:
None
<option>
noVcn=True
noVcn=False
*Must be percent encoded as in RFC 3968 for reserved characters.
VLUN Removal Success
A successful removal returns the HTTP status code
200 OK
, with no message body.
VLUN Removal Errors
An error state returns one of the errors shown in
Table 71 (page 73)
. For generic API error codes,
see
Table 5 (page 17)
.
72
Working with Virtual LUNs