智能边缘云 IEC-更新端口:响应示例

时间:2024-01-02 15:48:17

响应示例

状态码: 200

OK

{
  "port" : {
    "id" : "e7715037-0352-430c-9ad5-c0d58fa7cb2c",
    "name" : " ",
    "status" : "DOWN",
    "admin_state_up" : true,
    "fixed_ips" : [ {
      "subnet_id" : "bf4a4f26-346c-444e-be42-c5a2722a43c1",
      "ip_address" : "192.168.1.125"
    } ],
    "mac_address" : "fa:16:3e:f8:00:3e",
    "network_id" : "cec75dbe-8a78-4e38-9b11-1b7dc5b59e18",
    "device_id" : "",
    "device_owner" : "neutron:VIP_PORT",
    "security_groups" : [ ],
    "extra_dhcp_opts" : [ ],
    "allowed_address_pairs" : [ {
      "ip_address" : "1.0.0.0",
      "mac_address" : "fa:16:3e:f8:00:3e"
    } ],
    "site_id" : "",
    "dns_assignment" : [ ],
    "dns_name" : ""
  }
}
support.huaweicloud.com/api-iec/UpdatePort.html