
OpenStack Cloud Computing Cookbook
By :

Ports in OpenStack can be created using the openstack port create
command. Ports are automatically created by OpenStack upon server creation or can be created and attached to instances at a later time. Users may also create ports as a method of reserving IP addresses for later use or to avoid certain addresses from being allocated by OpenStack at all.
You will need the following details, at a minimum, for the port:
Network name or ID
Port name
For our example, the following will be used:
Network name: COOKBOOK_TENANT_NET_1
Port name: COOKBOOK_TEST_PORT_1
With the OpenStack client installed on our system, we are now able to create a port with the following command:
openstack port create COOKBOOK_TEST_PORT_1 \ --network COOKBOOK_TENANT_NET_1
The output will resemble the following:
When a port is created in OpenStack and associated with an instance or other virtual network device, it is bound to a Neutron agent on the respective node hosting...
Change the font size
Change margin width
Change background colour