Mastodon Mastodon - OpenStack IPs, part II
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. OpenStack IPs, part II

OpenStack IPs, part II

Posted on June 23, 2015  (Last modified on March 9, 2022) • 1 min read • 73 words
Openstack  
Openstack  
Share via

Just a short one. Now that I can list IPs (see last post), it might be nice to associate them on the command line, too. First I wanted to extend the little script, but then I remembered there must already be a CLI way for this.

And there is.

$ openstack server list
$ nova floating-ip-associate <server-uuid> <floating-IP>

(Note: The floating-ip is the actual IP, not the UUID of the OpenStack floating IP)

Groovy.

 Puppet Quiz: What’s wrong here?
LibreOffice tables 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard