] [OpenStack][Nova] Configuring IP address on a DHCP
disabled network
yeah.. my notes do the same as what you suggest.
1. create your neutron ports
2. pass port attributes to user-data script
or use cloud-config as per the below.
https://cloudinit.readthedocs.io/en/latest/topics/examples.html#writing
gt;
> params:
>
> $IPADDR: { get_attr: [ myserver, addresses, no-dhcp-net, 0,
> addr ] }
>
>
>
> For now, I am going back to creating port and pass in that information as
> user data.
>
>
>
>
>
> -Kaustubh
>
>
>
> *From:* B
gt;
>
> For now, I am going back to creating port and pass in that information as
> user data.
>
>
>
>
>
> -Kaustubh
>
>
>
> *From:* Brent Troge [mailto:brenttroge2...@gmail.com]
> *Sent:* Wednesday, July 20, 2016 7:27 PM
> *To:* Kaustubh Kelkar
> *Cc
7:27 PM
To: Kaustubh Kelkar
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] [OpenStack][Nova] Configuring IP address on a DHCP
disabled network
Isn't that exposed through outputs ?
And then use the output combined with configdrive cloudinit to configure your
NICS
outputs:
Isn't that exposed through outputs ?
And then use the output combined with configdrive cloudinit to configure
your NICS
outputs:
instance_ip:
description: The IP address of the deployed instance
value: { get_attr: [my_instance, first_address] }
On Jul 20, 2016 5:58 PM, "Kaustubh Kelkar
My use case involves booting up an instance attached to two networks - one
having Neutron DHCP service running and one without. Looking within the
documentation [1], I was hoping to use configuration drive to provide IP
information for the second interface. But, if I understand correctly, one co