Uri: aml/system/network/configurations – HP StoreEver ESL G3 Tape Libraries User Manual

Page 92

Advertising
background image

<location>N/A</location>
<duplexMode>Full</duplexMode>
<autoNegotiate>false</autoNegotiate>
<speed>1</speed>
<linkStatus>1</linkStatus>
</ns2:netInterface>

Method

PUT

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:netInterface
xmlns:ns2="http://automatedMediaLibrary/">
<name>eth0</name>
<macAddress>00:30:8C:06:78:B5</macAddress>
<location>N/A</location>
<duplexMode>Full</duplexMode>
<autoNegotiate>false</autoNegotiate>
<speed>1</speed>
<linkStatus>1</linkStatus>
</ns2:netInterface>

JSON Response Data

{
"name": "eth0",
"macAddress": "00:30:8C:06:78:B5",
"location": "N/A",
"duplexMode": "Full",
"autoNegotiate": false,
"speed": 1,
"linkStatus": 1
}

Resource code

See

“URI: aml/system/network/interface/{name}” (page 45)

for the

Resource code description.

URI: aml/system/network/configurations

Method

GET

XML Response Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:netConfigurationList
xmlns:ns2="http://automatedMediaLibrary/">
<netConfiguration>
<name>eth0</name>
<location>N/A</location>
<version>1</version>
<hostName>dvt8-jb</hostName>
<domainName>dvt8-jb</domainName>
<type>1</type>
<netMask>255.255.248.0</netMask>
<netGateway>10.20.168.1</netGateway>
<ipAddress>10.20.171.17</ipAddress>
</netConfiguration>
<netConfiguration>
<name>eth0</name>
<location>N/A</location>
<version>2</version>
<hostName>dvt8-jb</hostName>
<domainName>dvt8-jb</domainName>
<type>3</type>
<netMask>N/A</netMask>
<netGateway>N/A</netGateway>
<ipAddress>2001:db8:ffff:1::1013/64
</ipAddress>
<ipAddress>2001:db8:ffff:1:230:8cff:fe06:78b5/64
</ipAddress>
<ipAddress>fe80::230:8cff:fe06:78b5/64
</ipAddress>

92

XML responses for URIs

Advertising