HP VAN SDN Controller REST API Guide

Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Bad Method (405), Service Unavailable (503)
Config
es
List config
Sample request
Get configuration for all apps on this controller team:
GET /sdn/v2.0/configs
There is no request body for this API.
Sample response
{"configs": [
{"com.hp.sdn.adm.alert.impl.AlertManager": {
"trim.alert.age": {
"def_val": "14",
"desc": "Days an alert remains in storage (1 - 31)",
"val": "14"
},
"trim.enabled": {
"def_val": "true",
"desc": "Allow trim operation (true/false)",
"val": "true"
},
"trim.frequency": {
"def_val": "24",
"desc": "Frequency in hours of trim operations (8 - 168)",
"val": "24"
}
}},
{"com.hp.sdn.adm.auditlog.impl.AuditLogManager": {
"trim.auditlog.age": {
"def_val": "365",
"desc": "Days an audit log remains in storage (31 - 1870)",
"val": "365"
},
"trim.enabled": {
"def_val": "true",
"desc": "Allow trim operation (true/false)",
"val": "true"
},
"trim.frequency": {
"def_val": "24",
"desc": "Frequency in hours of trim operations (8 - 168)",
"val": "24"
}
}}
]}
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
22 /sdn/v2.0