As seen in the previous recipe, we first selected an instance in order to create and associate a floating IP. For better planning, it may be required to create a set of floating IP addresses even if instances have not yet been created. We will now show you how a floating IP address can be created and deleted using the Neutron CLI.
As we have seen, floating IP addresses are chosen automatically from the specified external Network. Therefore, you will need the following information to create a Network using CLI:
The name of the external Network—in our case, it will be
External-Network
The login credentials for SSH to a node where the Neutron client packages are installed
A shell RC file that initializes the environment variables for CLI