Lists ports to which the tenant has
access.Default policy settings return only those ports
that are owned by the tenant who submits the request,
unless the request is submitted by an user with
administrative rights. Users can control which
attributes are returned by using the fields query
parameter. Additionally, you can filter results by
using query string parameters. For information, see
Filtering and Column Selection in the
OpenStack Networking API v2.0
Reference.The port status. Value is ACTIVE or DOWN.The port name.Allowed address pairs.The administrative state of the port, which is up (true) or
down (false).The ID of the attached network.The ID of the tenant who owns the network. Only administrative users can
specify a tenant ID other than their own.Extra DHCP options.The ID of the entity that uses this port. For example, a dhcp
agent.The MAC address of the port.IP addresses for the port. Includes the IP address and subnet
ID.The ID of the port.The IDs of any attached security groups.The ID of the device that uses this port. For example, a virtual
server.The ID of the host where the port is allocated. In some
cases, different implementations can run on different
hosts.Read-only. A dictionary that enables the application to
pass information about functions that the Networking API
provides. To enable or disable port filtering features such as
security group and anti-MAC/IP spoofing, specify port_filter:
True or port_filter:
False.Read-only. The vif type for the specified
port.A dictionary the enables the application running on the
specified host to pass and receive vif port-specific
information to the plug-in.The vnic type that is bound to the neutron port.In POST and PUT operations, specify a value of
normal (virtual nic), direct
(pci passthrough), or macvtap (virtual
interface with a tap-like software interface). These
values support SR-IOV PCI passthrough networking. The ML2
plug-in supports the vnic_type.In GET operations, the
binding:vnic_type extended
attribute is visible to only port owners and
administrative users.{
"ports": [
{
"status": "ACTIVE",
"binding:host_id": "devstack",
"name": "",
"allowed_address_pairs": [],
"admin_state_up": true,
"network_id": "70c1db1f-b701-45bd-96e0-a313ee3430b3",
"tenant_id": "",
"extra_dhcp_opts": [],
"binding:vif_details": {
"port_filter": true,
"ovs_hybrid_plug": true
},
"binding:vif_type": "ovs",
"device_owner": "network:router_gateway",
"mac_address": "fa:16:3e:58:42:ed",
"binding:profile": {},
"binding:vnic_type": "normal",
"fixed_ips": [
{
"subnet_id": "008ba151-0b8c-4a67-98b5-0d2b87666062",
"ip_address": "172.24.4.2"
}
],
"id": "d80b1a3b-4fc1-49f3-952e-1e2ab7081d8b",
"security_groups": [],
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824"
},
{
"status": "ACTIVE",
"binding:host_id": "devstack",
"name": "",
"allowed_address_pairs": [],
"admin_state_up": true,
"network_id": "f27aa545-cbdd-4907-b0c6-c9e8b039dcc2",
"tenant_id": "d397de8a63f341818f198abb0966f6f3",
"extra_dhcp_opts": [],
"binding:vif_details": {
"port_filter": true,
"ovs_hybrid_plug": true
},
"binding:vif_type": "ovs",
"device_owner": "network:router_interface",
"mac_address": "fa:16:3e:bb:3c:e4",
"binding:profile": {},
"binding:vnic_type": "normal",
"fixed_ips": [
{
"subnet_id": "288bf4a1-51ba-43b6-9d0a-520e9005db17",
"ip_address": "10.0.0.1"
}
],
"id": "f71a6703-d6de-4be1-a91a-a570ede1d159",
"security_groups": [],
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824"
}
]
}<?xml version='1.0' encoding='UTF-8'?>
<ports xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<port>
<status>ACTIVE</status>
<binding:host_id>devstack</binding:host_id>
<name/>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>70c1db1f-b701-45bd-96e0-a313ee3430b3</network_id>
<tenant_id/>
<extra_dhcp_opts quantum:type="list"/>
<binding:vif_details>
<port_filter quantum:type="bool">True</port_filter>
<ovs_hybrid_plug quantum:type="bool"
>True</ovs_hybrid_plug>
</binding:vif_details>
<binding:vif_type>ovs</binding:vif_type>
<device_owner>network:router_gateway</device_owner>
<mac_address>fa:16:3e:58:42:ed</mac_address>
<binding:profile quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<fixed_ips>
<fixed_ip>
<subnet_id>008ba151-0b8c-4a67-98b5-0d2b87666062</subnet_id>
<ip_address>172.24.4.2</ip_address>
</fixed_ip>
</fixed_ips>
<id>d80b1a3b-4fc1-49f3-952e-1e2ab7081d8b</id>
<security_groups quantum:type="list"/>
<device_id>9ae135f4-b6e0-4dad-9e91-3c223e385824</device_id>
</port>
<port>
<status>ACTIVE</status>
<binding:host_id>devstack</binding:host_id>
<name/>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>f27aa545-cbdd-4907-b0c6-c9e8b039dcc2</network_id>
<tenant_id>d397de8a63f341818f198abb0966f6f3</tenant_id>
<extra_dhcp_opts quantum:type="list"/>
<binding:vif_details>
<port_filter quantum:type="bool">True</port_filter>
<ovs_hybrid_plug quantum:type="bool"
>True</ovs_hybrid_plug>
</binding:vif_details>
<binding:vif_type>ovs</binding:vif_type>
<device_owner>network:router_interface</device_owner>
<mac_address>fa:16:3e:bb:3c:e4</mac_address>
<binding:profile quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<fixed_ips>
<fixed_ip>
<subnet_id>288bf4a1-51ba-43b6-9d0a-520e9005db17</subnet_id>
<ip_address>10.0.0.1</ip_address>
</fixed_ip>
</fixed_ips>
<id>f71a6703-d6de-4be1-a91a-a570ede1d159</id>
<security_groups quantum:type="list"/>
<device_id>9ae135f4-b6e0-4dad-9e91-3c223e385824</device_id>
</port>
</ports>
Creates a port on a specified
network.You must specify the network where the port is to
created in the network_id attribute in
the request body.The status of the port.A symbolic name for the port.The administrative status of the port, which is up (true) or down (false).The ID of the tenant who owns the network. Only administrative users can specify a tenant ID other than their own.The MAC address. If you specify an address that is not valid, a 400 Bad Request error is returned. If you do not specify a MAC address, OpenStack Networking tries to allocate one. If a failure occurs, a 503 Service Unavailable error is returned.If you specify only a subnet ID, OpenStack Networking allocates an available IP from that subnet to the port. If you specify both a subnet ID and an IP address, OpenStack Networking tries to allocate the specified address to the port.Security groups. Specify one or more security group IDs.The ID of the network.{
"port": {
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"name": "private-port",
"admin_state_up": true
}
}<?xml version="1.0" encoding="UTF-8"?>
<port>
<name>test_port_1</name>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
</port>
The port status. Value is ACTIVE or DOWN.The port name.Allowed address pairs.The administrative state of the port, which is up (true) or
down (false).The ID of the attached network.The ID of the tenant who owns the network. Only administrative users can
specify a tenant ID other than their own.Extra DHCP options.The ID of the entity that uses this port. For example, a dhcp
agent.The MAC address of the port.IP addresses for the port. Includes the IP address and subnet
ID.The ID of the port.The IDs of any attached security groups.The ID of the device that uses this port. For example, a virtual
server.The ID of the host where the port is allocated. In some
cases, different implementations can run on different
hosts.Read-only. A dictionary that enables the application to
pass information about functions that the Networking API
provides. To enable or disable port filtering features such as
security group and anti-MAC/IP spoofing, specify port_filter:
True or port_filter:
False.Read-only. The vif type for the specified
port.A dictionary the enables the application running on the
specified host to pass and receive vif port-specific
information to the plug-in.The vnic type that is bound to the neutron port.In POST and PUT operations, specify a value of
normal (virtual nic), direct
(pci passthrough), or macvtap (virtual
interface with a tap-like software interface). These
values support SR-IOV PCI passthrough networking. The ML2
plug-in supports the vnic_type.In GET operations, the
binding:vnic_type extended
attribute is visible to only port owners and
administrative users.{
"port": {
"status": "DOWN",
"binding:host_id": "",
"name": "private-port",
"allowed_address_pairs": [],
"admin_state_up": true,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"binding:vif_details": {},
"binding:vnic_type": "normal",
"binding:vif_type": "unbound",
"device_owner": "",
"mac_address": "fa:16:3e:c9:cb:f0",
"binding:profile": {},
"fixed_ips": [
{
"subnet_id": "a0304c3a-4f08-4c43-88af-d796509c97d2",
"ip_address": "10.0.0.2"
}
],
"id": "65c0ee9f-d634-4522-8954-51021b570b0d",
"security_groups": [
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"device_id": ""
}
}<?xml version='1.0' encoding='UTF-8'?>
<port xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status>DOWN</status>
<binding:host_id/>
<name>test_port_1</name>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
<tenant_id>d6700c0c9ffa4f1cb322cd4a1f3906fa</tenant_id>
<binding:vif_details quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<binding:vif_type>unbound</binding:vif_type>
<device_owner/>
<mac_address>fa:16:3e:09:e3:47</mac_address>
<binding:profile quantum:type="dict"/>
<fixed_ips>
<fixed_ip>
<subnet_id>a0304c3a-4f08-4c43-88af-d796509c97d2</subnet_id>
<ip_address>10.0.0.4</ip_address>
</fixed_ip>
</fixed_ips>
<id>8021790b-4bfd-46ab-bcc7-0ef2f73bff43</id>
<security_groups>
<security_group>f0ac4394-7e4a-4409-9701-ba8be283dbc3</security_group>
</security_groups>
<device_id/>
</port>
Creates multiple ports in a single
request. Specify a list of ports in the request
body.Guarantees the atomic completion of the bulk
operation.The status of the port.A symbolic name for the port.The administrative status of the port, which is up (true) or down (false).The ID of the tenant who owns the network. Only administrative users can specify a tenant ID other than their own.The MAC address. If you specify an address that is not valid, a 400 Bad Request error is returned. If you do not specify a MAC address, OpenStack Networking tries to allocate one. If a failure occurs, a 503 Service Unavailable error is returned.If you specify only a subnet ID, OpenStack Networking allocates an available IP from that subnet to the port. If you specify both a subnet ID and an IP address, OpenStack Networking tries to allocate the specified address to the port.Security groups. Specify one or more security group IDs.The ID of the network.{
"ports": [
{
"name": "sample_port_1",
"admin_state_up": false,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7"
},
{
"name": "sample_port_2",
"admin_state_up": false,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7"
}
]
}<?xml version="1.0" encoding="UTF-8"?>
<ports>
<port>
<name>test_port_1-xml</name>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
</port>
<port>
<name>test_port_2-xml</name>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
</port>
</ports>
The port status. Value is ACTIVE or DOWN.The port name.Allowed address pairs.The administrative state of the port, which is up (true) or
down (false).The ID of the attached network.The ID of the tenant who owns the network. Only administrative users can
specify a tenant ID other than their own.Extra DHCP options.The ID of the entity that uses this port. For example, a dhcp
agent.The MAC address of the port.IP addresses for the port. Includes the IP address and subnet
ID.The ID of the port.The IDs of any attached security groups.The ID of the device that uses this port. For example, a virtual
server.The ID of the host where the port is allocated. In some
cases, different implementations can run on different
hosts.Read-only. A dictionary that enables the application to
pass information about functions that the Networking API
provides. To enable or disable port filtering features such as
security group and anti-MAC/IP spoofing, specify port_filter:
True or port_filter:
False.Read-only. The vif type for the specified
port.A dictionary the enables the application running on the
specified host to pass and receive vif port-specific
information to the plug-in.The vnic type that is bound to the neutron port.In POST and PUT operations, specify a value of
normal (virtual nic), direct
(pci passthrough), or macvtap (virtual
interface with a tap-like software interface). These
values support SR-IOV PCI passthrough networking. The ML2
plug-in supports the vnic_type.In GET operations, the
binding:vnic_type extended
attribute is visible to only port owners and
administrative users.{
"ports": [
{
"status": "DOWN",
"binding:host_id": "",
"name": "sample_port_1",
"allowed_address_pairs": [],
"admin_state_up": false,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"binding:vif_details": {},
"binding:vnic_type": "normal",
"binding:vif_type": "unbound",
"device_owner": "",
"mac_address": "fa:16:3e:48:b8:9f",
"binding:profile": {},
"fixed_ips": [
{
"subnet_id": "a0304c3a-4f08-4c43-88af-d796509c97d2",
"ip_address": "10.0.0.5"
}
],
"id": "94225baa-9d3f-4b93-bf12-b41e7ce49cdb",
"security_groups": [
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"device_id": ""
},
{
"status": "DOWN",
"binding:host_id": "",
"name": "sample_port_2",
"allowed_address_pairs": [],
"admin_state_up": false,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"binding:vif_details": {},
"binding:vnic_type": "normal",
"binding:vif_type": "unbound",
"device_owner": "",
"mac_address": "fa:16:3e:f4:73:df",
"binding:profile": {},
"fixed_ips": [
{
"subnet_id": "a0304c3a-4f08-4c43-88af-d796509c97d2",
"ip_address": "10.0.0.6"
}
],
"id": "235b09e0-63c4-47f1-b221-66ba54c21760",
"security_groups": [
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"device_id": ""
}
]
}<?xml version='1.0' encoding='UTF-8'?>
<ports xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<port>
<status>DOWN</status>
<binding:host_id/>
<name>test_port_1-xml</name>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
<tenant_id>d6700c0c9ffa4f1cb322cd4a1f3906fa</tenant_id>
<binding:vif_details quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<binding:vif_type>unbound</binding:vif_type>
<device_owner/>
<mac_address>fa:16:3e:fa:e2:34</mac_address>
<binding:profile quantum:type="dict"/>
<fixed_ips>
<fixed_ip>
<subnet_id>a0304c3a-4f08-4c43-88af-d796509c97d2</subnet_id>
<ip_address>10.0.0.7</ip_address>
</fixed_ip>
</fixed_ips>
<id>054e8f14-4082-400e-afcc-5d6e5b3bcc0c</id>
<security_groups>
<security_group>f0ac4394-7e4a-4409-9701-ba8be283dbc3</security_group>
</security_groups>
<device_id/>
</port>
<port>
<status>DOWN</status>
<binding:host_id/>
<name>test_port_2-xml</name>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
<tenant_id>d6700c0c9ffa4f1cb322cd4a1f3906fa</tenant_id>
<binding:vif_details quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<binding:vif_type>unbound</binding:vif_type>
<device_owner/>
<mac_address>fa:16:3e:e6:cf:d9</mac_address>
<binding:profile quantum:type="dict"/>
<fixed_ips>
<fixed_ip>
<subnet_id>a0304c3a-4f08-4c43-88af-d796509c97d2</subnet_id>
<ip_address>10.0.0.8</ip_address>
</fixed_ip>
</fixed_ips>
<id>879e96f9-6dd5-4232-bd19-3f39d0ae463b</id>
<security_groups>
<security_group>f0ac4394-7e4a-4409-9701-ba8be283dbc3</security_group>
</security_groups>
<device_id/>
</port>
</ports>
The UUID
for the port of interest to
you.Shows information for a specified
port.The port status. Value is ACTIVE or DOWN.The port name.Allowed address pairs.The administrative state of the port, which is up (true) or
down (false).The ID of the attached network.The ID of the tenant who owns the network. Only administrative users can
specify a tenant ID other than their own.Extra DHCP options.The ID of the entity that uses this port. For example, a dhcp
agent.The MAC address of the port.IP addresses for the port. Includes the IP address and subnet
ID.The ID of the port.The IDs of any attached security groups.The ID of the device that uses this port. For example, a virtual
server.The ID of the host where the port is allocated. In some
cases, different implementations can run on different
hosts.Read-only. A dictionary that enables the application to
pass information about functions that the Networking API
provides. To enable or disable port filtering features such as
security group and anti-MAC/IP spoofing, specify port_filter:
True or port_filter:
False.Read-only. The vif type for the specified
port.A dictionary the enables the application running on the
specified host to pass and receive vif port-specific
information to the plug-in.The vnic type that is bound to the neutron port.In POST and PUT operations, specify a value of
normal (virtual nic), direct
(pci passthrough), or macvtap (virtual
interface with a tap-like software interface). These
values support SR-IOV PCI passthrough networking. The ML2
plug-in supports the vnic_type.In GET operations, the
binding:vnic_type extended
attribute is visible to only port owners and
administrative users.{
"port": {
"status": "ACTIVE",
"binding:host_id": "devstack",
"name": "",
"allowed_address_pairs": [],
"admin_state_up": true,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"tenant_id": "7e02058126cc4950b75f9970368ba177",
"extra_dhcp_opts": [],
"binding:vif_details": {
"port_filter": true,
"ovs_hybrid_plug": true
},
"binding:vif_type": "ovs",
"device_owner": "network:router_interface",
"mac_address": "fa:16:3e:23:fd:d7",
"binding:profile": {},
"binding:vnic_type": "normal",
"fixed_ips": [
{
"subnet_id": "a0304c3a-4f08-4c43-88af-d796509c97d2",
"ip_address": "10.0.0.1"
}
],
"id": "46d4bfb9-b26e-41f3-bd2e-e6dcc1ccedb2",
"security_groups": [],
"device_id": "5e3898d7-11be-483e-9732-b2f5eccd2b2e"
}
}<?xml version='1.0' encoding='UTF-8'?>
<port xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status>ACTIVE</status>
<binding:host_id>devstack</binding:host_id>
<name/>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
<tenant_id>7e02058126cc4950b75f9970368ba177</tenant_id>
<extra_dhcp_opts quantum:type="list"/>
<binding:vif_details>
<port_filter quantum:type="bool">True</port_filter>
<ovs_hybrid_plug quantum:type="bool">True</ovs_hybrid_plug>
</binding:vif_details>
<binding:vif_type>ovs</binding:vif_type>
<device_owner>network:router_interface</device_owner>
<mac_address>fa:16:3e:23:fd:d7</mac_address>
<binding:profile quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<fixed_ips>
<fixed_ip>
<subnet_id>a0304c3a-4f08-4c43-88af-d796509c97d2</subnet_id>
<ip_address>10.0.0.1</ip_address>
</fixed_ip>
</fixed_ips>
<id>46d4bfb9-b26e-41f3-bd2e-e6dcc1ccedb2</id>
<security_groups quantum:type="list"/>
<device_id>5e3898d7-11be-483e-9732-b2f5eccd2b2e</device_id>
</port>
Updates a specified port.You can update information for a port, such as its
symbolic name and associated IPs. When you update IPs
for a port, any previously associated IPs are removed,
returned to the respective subnets allocation pools,
and replaced by the IPs specified in the body for the
update request. Therefore, this operation replaces the
fixed_ip attribute when it is
specified in the request body. If the updated IP
addresses are not valid or are already in use, the
operation fails and the existing IP addresses are not
removed from the port.When you update security groups for a port and the
operation succeeds, any associated security groups are
removed and replaced by the security groups specified
in the body for the update request. Therefore, this
operation replaces the security_groups
attribute when you specify it in the request body.
However, if the specified security groups are not
valid, the operation fails and the existing security
groups are not removed from the port.The status of the port.A symbolic name for the port.The administrative status of the port, which is up (true) or down (false).The ID of the tenant who owns the network. Only administrative users can specify a tenant ID other than their own.The MAC address. If you specify an address that is not valid, a 400 Bad Request error is returned. If you do not specify a MAC address, OpenStack Networking tries to allocate one. If a failure occurs, a 503 Service Unavailable error is returned.If you specify only a subnet ID, OpenStack Networking allocates an available IP from that subnet to the port. If you specify both a subnet ID and an IP address, OpenStack Networking tries to allocate the specified address to the port.Security groups. Specify one or more security group IDs.The ID of the network.{
"port": {
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"name": "private-port",
"admin_state_up": true
}
}<?xml version="1.0" encoding="UTF-8"?>
<port>
<name>test_port_1</name>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
</port>
The port status. Value is ACTIVE or DOWN.The port name.Allowed address pairs.The administrative state of the port, which is up (true) or
down (false).The ID of the attached network.The ID of the tenant who owns the network. Only administrative users can
specify a tenant ID other than their own.Extra DHCP options.The ID of the entity that uses this port. For example, a dhcp
agent.The MAC address of the port.IP addresses for the port. Includes the IP address and subnet
ID.The ID of the port.The IDs of any attached security groups.The ID of the device that uses this port. For example, a virtual
server.The ID of the host where the port is allocated. In some
cases, different implementations can run on different
hosts.Read-only. A dictionary that enables the application to
pass information about functions that the Networking API
provides. To enable or disable port filtering features such as
security group and anti-MAC/IP spoofing, specify port_filter:
True or port_filter:
False.Read-only. The vif type for the specified
port.A dictionary the enables the application running on the
specified host to pass and receive vif port-specific
information to the plug-in.The vnic type that is bound to the neutron port.In POST and PUT operations, specify a value of
normal (virtual nic), direct
(pci passthrough), or macvtap (virtual
interface with a tap-like software interface). These
values support SR-IOV PCI passthrough networking. The ML2
plug-in supports the vnic_type.In GET operations, the
binding:vnic_type extended
attribute is visible to only port owners and
administrative users.{
"port": {
"status": "DOWN",
"binding:host_id": "",
"name": "private-port",
"allowed_address_pairs": [],
"admin_state_up": true,
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"binding:vif_details": {},
"binding:vnic_type": "normal",
"binding:vif_type": "unbound",
"device_owner": "",
"mac_address": "fa:16:3e:c9:cb:f0",
"binding:profile": {},
"fixed_ips": [
{
"subnet_id": "a0304c3a-4f08-4c43-88af-d796509c97d2",
"ip_address": "10.0.0.2"
}
],
"id": "65c0ee9f-d634-4522-8954-51021b570b0d",
"security_groups": [
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"device_id": ""
}
}<?xml version='1.0' encoding='UTF-8'?>
<port xmlns="http://openstack.org/quantum/api/v2.0"
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<status>DOWN</status>
<binding:host_id/>
<name>test_port_1</name>
<allowed_address_pairs quantum:type="list"/>
<admin_state_up quantum:type="bool">True</admin_state_up>
<network_id>a87cc70a-3e15-4acf-8205-9b711a3531b7</network_id>
<tenant_id>d6700c0c9ffa4f1cb322cd4a1f3906fa</tenant_id>
<binding:vif_details quantum:type="dict"/>
<binding:vnic_type>normal</binding:vnic_type>
<binding:vif_type>unbound</binding:vif_type>
<device_owner/>
<mac_address>fa:16:3e:09:e3:47</mac_address>
<binding:profile quantum:type="dict"/>
<fixed_ips>
<fixed_ip>
<subnet_id>a0304c3a-4f08-4c43-88af-d796509c97d2</subnet_id>
<ip_address>10.0.0.4</ip_address>
</fixed_ip>
</fixed_ips>
<id>8021790b-4bfd-46ab-bcc7-0ef2f73bff43</id>
<security_groups>
<security_group>f0ac4394-7e4a-4409-9701-ba8be283dbc3</security_group>
</security_groups>
<device_id/>
</port>
Deletes a specified port.Any IP addresses that are associated with the port
are returned to the respective subnets allocation
pools.