Contents
1 Introduction
...............................................................................................
9
About the WSAPI
......................................................................................................................
9
Getting Started
.........................................................................................................................
9
Starting and Configuring the Server
.......................................................................................
9
About the SDK
....................................................................................................................
9
Java SDK
.....................................................................................................................
10
Perl SDK
......................................................................................................................
10
2 Accessing the WSAPI
................................................................................
11
Overview
..............................................................................................................................
11
Protocol and Message Format
..............................................................................................
12
Client HTTP Headers
......................................................................................................
12
Server HTTP Headers
.....................................................................................................
13
Supported HTTP Methods
...............................................................................................
14
General URI Format
............................................................................................................
14
System Access
........................................................................................................................
14
Creating Credentials
..........................................................................................................
14
About Multiple Session Keys
...........................................................................................
14
About Session Key Security
.............................................................................................
15
Creating a Session Key
.......................................................................................................
15
Using a Session Key
...........................................................................................................
15
Deleting a Session Key
.......................................................................................................
16
Session Key Deletion Success
..........................................................................................
16
Session Key Deletion Errors
.............................................................................................
16
HTTP Status and Error Codes
....................................................................................................
16
The code Member
..............................................................................................................
16
The desc Member
..............................................................................................................
24
The ref Member
.................................................................................................................
25
HTTP Error Codes
..............................................................................................................
25
Request Input and Optional Members
........................................................................................
25
Null Members
........................................................................................................................
26
Enumerations
.........................................................................................................................
26
JSON Types and API Types
......................................................................................................
27
3 Working with Common Provisioning Groups
................................................
29
CPG Enumeration and Configuration Objects
.............................................................................
29
CPG LDLayout JSON Objects
..............................................................................................
29
CPG RAIDType Enumeration
................................................................................................
29
CPG HA Enumeration
.........................................................................................................
30
CPG chunkletPosPref Enumeration
........................................................................................
30
CPG diskPatterns JSON Object
............................................................................................
30
CPG diskType Enumeration
.................................................................................................
31
CPG Space Usage Objects
.................................................................................................
32
Growth Objects
.................................................................................................................
32
CPG state Enumeration
.......................................................................................................
32
CPG detailedState Enumeration
...........................................................................................
32
Creating a CPG
.....................................................................................................................
33
CPG Creation Success
........................................................................................................
33
CPG Creation Errors
...........................................................................................................
34
Modifying a CPG
...................................................................................................................
34
CPG Modification Success
..................................................................................................
35
CPG Modification Errors
.....................................................................................................
35
Contents
3