Hello Kamil:

I'm not sure what you are asking for, sorry. In ML2/OVN, the DHCP server is local (in the same compute node where the VM is spawned) and has no IP address. The local OVS instance will capture the DHCP requests and reply to them.

If you are asking for a VM port with a static IP address, this is something you can currently do creating a port and setting the fixed IP address [1].

Can you share the blueprint you are referring to? How do you plan to migrate VMs to a different cloud?

Regards.

[1]https://paste.opendev.org/show/bl87sEpUnZttIMxN9fyc/

On Wed, Sep 20, 2023 at 9:52 AM Kamil Madac <kamil.madac@gmail.com> wrote:
Hello OpenStack community,

I'd like to ask whether it's possible to set a static fixed IP address for a DHCP server within a subnet, especially when using the OVN driver. While I've come across a blueprint that addresses this topic, I haven't been able to find any pertinent details in the documentation.

Our primary use case is to maintain IP addresses during the migration of VMs between two OpenStack clouds.

Any guidance or suggestions would be greatly appreciated.

Thank you!

--
Kamil Madac