HP VAN SDN Controller REST API Guide
Response codes
• Normal: No Content (204)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Team
Team
List team membership
Sample request
Get team configuration for this controller:
GET /sdn/v2.0/team
There is no request body for this API.
Sample response
1 {
2 "team": {
3 "name": "Test Cluster",
4 "ip": "192.168.139.111",
5 "version": "1374169868918",
6 "systems": [
7 {
8 "name": "member 1",
9 "ip": "192.168.139.101",
10 "priority": 10
11 },
12 {
13 "name": "member 2",
14 "ip": "192.168.139.102",
15 "priority": 20
16 },
17 {
18 "name": "member 3",
19 "ip": "192.168.139.103",
20 "priority": 30
21 }
22 ]
23 }
24 }
Response codes
• Normal: OK (200)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Form team
Sample request
Post the team configuration to this controller:
POST /sdn/v2.0/team
1 {
2 "team": {
3 "name": "Test Cluster",
4 "ip": "192.168.139.111",
Team 39