Bulk_update
POST v1/fibre_channel_interfaces/actions/bulk_update
Description
Modify the online attributes (i.e., the administrative states) for a list of Fibre Channel interfaces.
Normal Response Codes
200
HTTP Error Codes
400 401 403 404 409 500 501 503
Detail Codes
Request
| Parameter | Type | JSON Type | Description | Mandatory |
|---|---|---|---|---|
| fc_interface_list | NsFcInterfaceUpdateList | Array of NsFcInterfaceUpdateInfo | List of Fibre Channel interfaces to update and corresponding online attributes (i.e., the administrative states). List of Fibre Channel interfaces to update | true |
JSON Request
{
"data": {
"fc_interface_list" :[{"id":"2100000000000004d3000000000000000000000001", "online":"true"},
{"id":"2100000000000004d3000000000000000000000002", "online":"false"}]
}
}
JSON Response
{
"data": [
{
"array_name_or_serial": "g1a1",
"bus_location": "0000:81:00.0",
"controller_name": "A",
"fabric_info": {
"fabric_switch_name": "fakeswitch",
"fabric_switch_port": "10",
"fabric_switch_wwnn": "da:ad:da:ad:da:ad:da:ad",
"fabric_switch_wwpn": "d0:0d:d0:0d:d0:0d:d0:0d",
"fabric_wwn": "fa:b4:1c:fa:b4:1c:fa:b4",
"fc_id": "1ceace",
"logged_in": "true"
},
"fc_port_id": "1f01067316131",
"fc_port_name": "fc1",
"firmware_version": "1.1.59.0",
"id": "2100000000000004d3000000000000000000000001",
"link_info": {
"link_speed": "plat_fc_link_speed_16G",
"link_status": "plat_fc_link_status_up",
"max_link_speed": "plat_fc_link_speed_16G",
"operational_status": "plat_fc_operational_status_operational"
},
"logical_port_number": "0",
"name": "fc1.1",
"online": "true",
"port": "0",
"slot": "1",
"wwnn": "56:c9:ce:90:9b:84:c9:00",
"wwpn": "56:c9:ce:90:9b:84:c9:01"
},
{
"array_name_or_serial": "g1a1",
"bus_location": "0000:81:00.1",
"controller_name": "A",
"fabric_info": {
"fabric_switch_name": "fakeswitch",
"fabric_switch_port": "10",
"fabric_switch_wwnn": "00:00:00:00:00:00:00:00",
"fabric_switch_wwpn": "00:00:00:00:00:00:00:00",
"fabric_wwn": "00:00:00:00:00:00:00:00",
"fc_id": "1ceace",
"logged_in": "false"
},
"fc_port_id": "1f01167316131",
"fc_port_name": "fc2",
"firmware_version": "1.1.59.0",
"id": "2100000000000004d3000000000000000000000002",
"link_info": {
"link_speed": "plat_fc_link_speed_16G",
"link_status": "plat_fc_link_status_down",
"max_link_speed": "plat_fc_link_speed_16G",
"operational_status": "plat_fc_operational_status_admin_offline"
},
"logical_port_number": "0",
"name": "fc2.1",
"online": "false",
"port": "1",
"slot": "1",
"wwnn": "56:c9:ce:90:9b:84:c9:00",
"wwpn": "56:c9:ce:90:9b:84:c9:02"
}
]
}