January 2018
Intermediate to advanced
398 pages
7h 54m
English
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:
For our example, the following will be used:
COOKBOOK_TENANT_NET_1COOKBOOK_TEST_PORT_1With 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 \Read now
Unlock full access