OpenStack IPs, part II
Posted on June 23, 2015 (Last modified on March 9, 2022) • 1 min read • 73 wordsJust 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.