Owner's manual
Parameters N/A
Response Code 200, 401, and 500
XML Response See “URI: aml/system/network/configurations” (page 92) for the XML
Response code.
URI: aml/system/network/configuration/{name}
Method GET
Description Request the network parameters for the interface given by the name template.
The XML Response Data is for the following request:
http://10.20.171.17/aml/system/network/configuration/eth0
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 404, and 500
XML Response See “URI: aml/system/network/configuration/{name}” (page 93) for the
XML Response code.
URI: aml/system/network/configuration/{name}/{version}
Method PUT
Description Update the network parameter whose name is given by the
URI path template ‘name’ and ‘version’. Only the IPv4
versions can be updated.
The version template values are: 1 (IPv4) and 2 (IPv6).
Currently only IPv4 updates are supported. See the examples
below for more information:
Example 1: Update the hostname to TestLibrary using
the IPv4 parameters version. The name, version (1-IPv4,
2-IPv6) and hostName elements must be specified.
Example 2: Set DHCP for IPv4 on eth0. After sending this
request you session will no longer be valid and you will be
disconnected from the library.
Example 3: Set a new IP for IPv4 on eth0. After sending this
request you session will no longer be valid and you will be
disconnected from the library.
Media Type Request: application/xml and application/json
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 404, and 500
XML Request Data (Example 1)
<ns2:netConfiguration
xmlns:ns2="http://automatedMediaLibrary/">
<name>eth0</name>
<version>1</version>
<hostName>TestLibrary</hostName>
</ns2:netConfiguration>
XML Request Data (Example 2)
<ns2:netConfiguration
xmlns:ns2="http://automatedMediaLibrary/">
<name>eth0</name>
<version>1</version>
46 Resource