{
"regionID": "nm8",
"switchId": "switch-0001",
"resourcePoolName": "内蒙08",
"resourceType": "MAZ",
"resourcePool": "nm8",
"name": "switch22222222",
"factory": "HUAWEI",
"accessPoint": "AP1",
"deviceModel": "HWCE6857",
"hostname": "switch22222222",
"ip": "192.168.0.10",
"loginPort": 22,
"as": 112,
"username": "admin",
"password": "admin",
"configurePort": 830,
"vtepVlan": 2,
"vtepIp": "192.168.1.11/24",
"sysMac": "ccc"
}
curl --location --request POST '/v4/cda/switch/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"regionID": "nm8",
"switchId": "switch-0001",
"resourcePoolName": "内蒙08",
"resourceType": "MAZ",
"resourcePool": "nm8",
"name": "switch22222222",
"factory": "HUAWEI",
"accessPoint": "AP1",
"deviceModel": "HWCE6857",
"hostname": "switch22222222",
"ip": "192.168.0.10",
"loginPort": 22,
"as": 112,
"username": "admin",
"password": "admin",
"configurePort": 830,
"vtepVlan": 2,
"vtepIp": "192.168.1.11/24",
"sysMac": "ccc"
}'
{
"description": "成功 X-Trace-ID-->899a5a327a0c636a",
"errorCode": "SUCCESS",
"message": "success",
"returnObj": {
"errorMsg": null,
"result": "1"
},
"statusCode": 800
}