Uri: aml/system/network/interfaces, Uri: aml/system/network/interface/{name, Uri: aml/system/network/configurations – HP StoreEver ESL G3 Tape Libraries User Manual
Page 45
URI: aml/system/network/interfaces
Method
GET
Description
Retrieve the all network interfaces resources, eth0, eth1...
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, and 500
XML Response
See
“URI: aml/system/network/interfaces” (page 91)
for the XML Response
code.
URI: aml/system/network/interface/{name}
Method
GET
Description
Request the network interface whose name is given by URI path template
“name”.
Media Type
Request: N/A
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, and 500
Method
PUT
Description
Update the network interface whose name is given by the URI path
template ‘name’. The client request data below indicates that the interface
speed should be changed to 1 (10Mb/s).
To change back to auto negotiation set autoNegotiate element to true
and remove the speed element. To set a specific speed (1,2 or 3) the
autoNegotiate element must be set to false.
Media Type
Request: application/xml and application/json
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, 403, 404, and 500
XML Request Data
XML Response
See
“URI: aml/system/network/interface/{name}” (page 91)
for the
XML Response code.
URI: aml/system/network/configurations
Method
GET
Description
Retrieve the network configurations for all the configured interfaces, eth0,
eth1...
Media Type
Request: N/A
Response: application/xml and application/json
URI: aml/system/network/interfaces
45