You should be able to use the os_port.py module to first create a port with your static IP. Then use the port ID returned by setting 'port-id' in the 'nics' parameter of the os_server.py module.
This method assumes you have a neutron service running. Supporting nova networking only would require some work on the module and maybe within the shade library, as well. -David On Saturday, February 27, 2016 at 11:25:18 AM UTC-5, [email protected] wrote: > > Apparently the latest 2.0.1 modules for OpenStack doesn't have a way to > set static IP's (that arent floating IP's) during VM creation - this is > critical functionality for OpenStack installations that do not provide > automatic DNS service and have to provide indepedent, non automatic DNS > service. The static IP's are using to be able to provide DNS names > reliably. If there's a way to achieve that, please let me know, otherwise, > are there any plans to provide this vey basic yet missing functionality? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/68aeb2a4-0f5f-4871-aa98-df635b1bcf31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
