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

Table 42 Message Body JSON Objects for Host Modification Request, Table 43 Host, Enumeration

Page 55 highlights

Table 42 Message Body JSON Objects for Host Modification Request (continued) Member chapSecret JSON Type string API Type string Ignored Values Null Description The chap secret for the host or the target (Since WSAPI 1.2) chapSecretHex Boolean None If True, then chapSecret is treated as Hex. (Since WSAPI 1.2) chapRemoveTargetOnly Boolean None if True, then remove target chap only. (Since WSAPI 1.2) Table 43 (page 55) shows the hostEditOperation enumeration for the chapOperation and pathOperation JSON objects. Table 43 Host hostEditOperation Enumeration Symbol ADD Value 1 Description Add host chap or path. (Since WSAPI 1.2) REMOVE 2 Remove host chap or path. (Since WSAPI 1.2) Table 44 (page 55) shows the chapOperationMode enumeration for the JSON object. Table 44 Host chapOperationMode Enumeration Symbol INITIATOR Value 1 Description Set the initiator CHAP authentication information on the host. (Since WSAPI 1.2) TARGET 2 Set the target CHAP authentication information on the host. (Since WSAPI 1.2) Table 45 (page 55) shows the enumeration for the hostPersona JSON object. Table 45 Host hostPersona Enumeration Symbol GENERIC GENERIC_ALUA GENERIC_LEGACY HPUX_LEGACY AIX_LEGACY EGENERA Value 1 2 3 4 5 6 Description Persona with capability of UAReplun, SESLun. Persona with capability of UARepLun, RTPG, SESLun. Legacy persona. Persona with capability of VolSetAddr, Lun0SCC. Persona with capability of NACA. Persona with capability of SoftInq. Modifying a Host 55

  • 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

Table 42 Message Body JSON Objects for Host Modification Request
(continued)
Description
Ignored Values
API Type
JSON Type
Member
The chap secret for the
host or the target
Null
string
string
chapSecret
(Since WSAPI 1.2)
If
True
, then
chapSecret
is
treated as
Hex
.
None
Boolean
chapSecretHex
(Since WSAPI 1.2)
if
True
, then remove
target chap only.
None
Boolean
chapRemoveTargetOnly
(Since WSAPI 1.2)
Table 43 (page 55)
shows the
hostEditOperation
enumeration for the
chapOperation
and
pathOperation
JSON objects.
Table 43 Host
hostEditOperation
Enumeration
Description
Value
Symbol
Add host chap or path.
1
ADD
(Since WSAPI 1.2)
Remove host chap or path.
2
REMOVE
(Since WSAPI 1.2)
Table 44 (page 55)
shows the
chapOperationMode
enumeration for the JSON object.
Table 44 Host
chapOperationMode
Enumeration
Description
Value
Symbol
Set the initiator CHAP authentication
information on the host.
1
INITIATOR
(Since WSAPI 1.2)
Set the target CHAP authentication
information on the host.
2
TARGET
(Since WSAPI 1.2)
Table 45 (page 55)
shows the enumeration for the
hostPersona
JSON object.
Table 45 Host
hostPersona
Enumeration
Description
Value
Symbol
Persona with capability of
UAReplun
,
SESLun
.
1
GENERIC
Persona with capability of
UARepLun
,
RTPG
,
SESLun
.
2
GENERIC_ALUA
Legacy persona.
3
GENERIC_LEGACY
Persona with capability of
VolSetAddr
,
Lun0SCC
.
4
HPUX_LEGACY
Persona with capability of
NACA
.
5
AIX_LEGACY
Persona with capability of
SoftInq
.
6
EGENERA
Modifying a Host
55