REST API Reference Version 5.2.1.0Search

Regenerate

POST v1/fibre_channel_configs/id/actions/regenerate

Description

Regenerate Fibre Channel configuration.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 503

Request

Parameter Type JSON Type Description Mandatory
id NsObjectID string ID of the Fibre Channel configuration. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
wwnn_base_str NsBaseWWN string Base World Wide Node Name(WWNN). Six bytes expressed in hex separated by colons. Example: 'af:32:f1'. true
precheck NsBoolean boolean Check if the interfaces are offline before regenerating the WWNN (World Wide Node Name). Possible values: 'true', 'false'. true

JSON Request

            
            
{
    "data": {
        "array_list": [
            {
                "name": "g1a1",
                "array_name": "g1a1",
                "ctrlr_a_fc_config": {
                    "fc_interface_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1.1",
                            "online": true,
                            "port": 0,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:05"
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2.1",
                            "online": true,
                            "port": 1,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:06"
                        }
                    ],
                    "fc_port_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1",
                            "port": 0,
                            "slot": 1
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2",
                            "port": 1,
                            "slot": 1
                        }
                    ]
                },
                "ctrlr_b_fc_config": {
                    "fc_interface_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1.1",
                            "online": true,
                            "port": 0,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:07"
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2.1",
                            "online": true,
                            "port": 1,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:08"
                        }
                    ],
                    "fc_port_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1",
                            "port": 0,
                            "slot": 1
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2",
                            "port": 1,
                            "slot": 1
                        }
                    ]
                },
                "id": "0900000000000004d3000000000000000000000001",
                "array_id": "0900000000000004d3000000000000000000000001"
            },
            {
                "name": "g1a2",
                "array_name": "g1a2",
                "ctrlr_a_fc_config": {
                    "fc_interface_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1.1",
                            "online": true,
                            "port": 0,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:01"
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2.1",
                            "online": true,
                            "port": 1,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:02"
                        }
                    ],
                    "fc_port_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1",
                            "port": 0,
                            "slot": 1
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2",
                            "port": 1,
                            "slot": 1
                        }
                    ]
                },
                "ctrlr_b_fc_config": {
                    "fc_interface_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1.1",
                            "online": true,
                            "port": 0,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:03"
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2.1",
                            "online": true,
                            "port": 1,
                            "slot": 1,
                            "wwnn": "56:c9:ce:90:ff:ff:ff:00",
                            "wwpn": "56:c9:ce:90:ff:ff:ff:04"
                        }
                    ],
                    "fc_port_list": [
                        {
                            "bus_location": "0000:81:00.0",
                            "name": "fc1",
                            "port": 0,
                            "slot": 1
                        },
                        {
                            "bus_location": "0000:81:00.1",
                            "name": "fc2",
                            "port": 1,
                            "slot": 1
                        }
                    ]
                },
                "id": "0900000000000004d3000000000000000000000002",
                "array_id": "0900000000000004d3000000000000000000000002"
            }
        ],
        "id": "c500000000000004d3000000000000000000000000"
    }
}
            
        
         

Response

Type: NsFcConfigRegenerateReturn

Member Type JSON Type Description
array_list NsArrayFcConfigList array List of array Fibre Channel configs. List of array Fibre Channel configurations.
group_leader_array NsObjectName string Name of the group leader array. String of up to 64 alphanumeric characters, - and . and : are allowed after first character. Example: 'myobject-5'.
id NsObjectID string Identifier for Fibre Channel configuration. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'.

JSON Response

            
            
            {
                "data" : {
                    "wwnn_base_str":"ff:ff:ff",
                    "precheck":"true"
                }
            }