Network pool + Cloud Init
-
I have created a network pool and am wanting to use the assigned address from the pool in my cloud-init network configuration. I have successfully created a cloud configuration, and a network configuration to use with my template. But I am not sure how to reference the pool assigned IP address from within my network configuration.
Like the
{name}variable in the cloud config, I'm expecting there to be some kind of{address}variable for the network config.How are people doing this?
Thanks in advance.
And at the risk of being an annoying n00b, based on the reading I have done in the forum, tagging @fohdeesha here in case since he seems to know this stuff

-
Anyone have any ideas?
-
@brm Hmm, I actually am not sure if we ever added support for this specifically (specifying an IP from IP pools in a cloud-init configuration). I've never seen IP variables used or referenced so I don't think it's currently possible. @olivierlambert who was it on the team that implemented the IP Pools feature?
-
-
@olivierlambert Nope,
{address}is not supported in the cloud configs.AFAIK, there is no IP configuration done during VM creation, what value should it take?
-
There's no value outside Cloudinit yes, because the IP address is something for "inside" the VM and not for the virt platform.
-
Cloud configs allow
{{name}}%substitutions. From my perspective (as a user), for how{{name}}is used in my cloud configs something like{{address}}would be identical.What is the intended use case for the IPAM functionality in XOA if it can't be used like this? Real question, not trolling

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login