wido opened a new issue, #11725:
URL: https://github.com/apache/cloudstack/issues/11725

   ### The required feature described as a wish
   
   Libvirt allows for adding Metadata to the XML of a Domain: 
https://libvirt.org/formatdomain.html#general-metadata
   
   We can use this Metadata to add additional information of the Instance so 
that it can be used by Libvirt hooks: 
https://libvirt.org/hooks.html#etc-libvirt-hooks-qemu
   
   My proposal is to add basic IP address information to the XML:
   
   ```
   <cloudstack:network 
xmlns:cloudstack="https://download.cloudstack.org/libvirt/network"; 
xmlns:network="https://download.cloudstack.org/libvirt/network";>
         <network:address address="192.168.122.5" prefix="24" family="ipv4" 
bridge="cloudbr0" vlan="0"/>
         <network:address address="2001:db8::100" prefix="64" family="ipv6" 
bridge="cloudbr0" vlan="0"/>
   </cloudstack:network>
   ```
   
   Hooks can prepare additional firewalling or routing on the host while it is 
booted, this is up to the admin to decide.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to