Categories
Uncategorized

OpenStack IPs, part II

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.

Leave a Reply

Your email address will not be published. Required fields are marked *