How to create specified floating ip using openstacksdk.

asked 2020-08-26 03:31:30 -0600

udayutkarsh gravatar image
My objective is to create floating ip from external network. The floating ip will be supplied by user.

This is something like what we achieve through below cli:

openstack floating ip create  <externa-network> --floating-ip-address <ip-address>

I came across following function in openstacksdk, but I do not think how can I achieve my objective.

create_floating_ip(network=None, server=None, fixed_address=None, nat_destination=None, port=None, wait=False, timeout=60)

BR//Uday
edit retag flag offensive close merge delete