User Guide
Step 1 : Drill down into the OCAPI to access each Port object.
Step 2 : Do a GET to the IOMs /query/ object to get the adapter addresses.
curl -i -u user:password http://10.20.30.40/query/
Step 3 : Use the device URL obtained in the previous step to find the URLs for all of the Adapters in the
IOM.
curl -i -u user:password http://10.20.30.40/Storage/Devices/openflex-data24-
usalp03420xxxxxx/Adapters/
Step 4 : The output will show all of the installed adapters, as well as their associated Ports at the bottom
of each Adapter object that will lead to the associated Port object for that adapter for later
reference.
{
usalp03420xxxxxx/Adapters/1/",
usalp03420xxxxxx/Ports/?adapterid=1"
},
Step 5 : To find the Port object's specific device ID, query the Ports object associated with the device.
curl -i -u user:password http://10.20.30.40/Storage/Devices/openflex-data24-
usalp03420xxxxxx/Ports/
Step 6 : Find the desired Port ID in the output.
{
"Self": "http://10.202.249.56:80/Storage/Devices/openflex-data24-
usalp03420xxxxxx/Ports/00_0c_ca_11_00_40_10_202_249_56_24/",
"ID": "00_0c_ca_11_00_40_10_202_249_56_24",
"Status": {
"Self": "http://10.202.249.56:80/Storage/Devices/openflex-data24-
"ID": "1",
"Name": "IOM-A-AIC-A",
"Status": {
"State": {
"ID": 16,
"Name": "In Service"
},
"Health": [
{
"ID": 5,
"Name": "OK"
}
]
},
"Ports": "http://10.202.249.56:80/Storage/Devices/openflex-data24-
"State": {
"ID": 16,
"Name": "In service"
},
"Health": [
{
"ID": 5,
"Name": "OK"
}
5. Configuration
5.3 Setting Static IPs on Ports
84