Add Ports
POST/backend/api/openstack/ports
Host: https://core.ocplanet.cloud
Retrieve a list of ports associated with the user's account. You may not have services or there may not be funds on your balance to complete this operation.
Request
- application/json
Body
- Array [
- ]
fixed_ips object[]required
ip_address stringrequired
network stringrequired
name stringrequired
description stringrequired
mac_address stringrequired
ip_address_or_subnet stringrequired
vnic_type stringrequired
host_id stringrequired
admin_state_up booleanrequired
auto_add_security_group booleanrequired
port_security_enabled booleanrequired
Responses
- 201
- 400
- application/json
- Schema
- Example (from schema)
Schema
name nullstringrequired
admin_state_up booleanrequired
port_security_enabled booleanrequired
fixed_ips arrayrequired
region nullstringrequired
attach_to nullstringrequired
project nullstringrequired
host_id stringrequired
vnic_type stringrequired
auto_add_security_group booleanrequired
created_at nullrequired
description stringrequired
device_id nullstringrequired
device_owner nullstringrequired
mac_address nullstringrequired
status nullstringrequired
network uuidrequired
{
"admin_state_up": true,
"port_security_enabled": true,
"fixed_ips": [
null
],
"host_id": "string",
"vnic_type": "string",
"auto_add_security_group": true,
"description": "string",
"network": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
fixed_ips object[]required
ip_address string[]required
{
"fixed_ips": [
{
"ip_address": [
"string"
]
}
]
}
Loading...