Hello, understood. We're starting a lot of stateless VMs via pool and they need concrete MAC addresses to be properly started. I know there is a way to integrate an external network provider to work with IPAM. Now we have custom playbook to reassign mac addresses on these machines so it's not a problem to execute it manually each time pools are redeployed or to use AWX to automate this.
Thank you so much !! -michal -- Michal Mocnak [email protected] On Thu, Jan 28, 2021 at 10:40 AM Martin Perina <[email protected]> wrote: > > Hi, > > we don't have such a callback. Currently we support only custom Ansible > playbooks during host deploy process, which can be used for example to define > custom firewall rules: > > https://www.ovirt.org/documentation/administration_guide/#Configuring_Host_Firewall_Rules > > But it's a general playbook, so any other customization can be done. > > Could you please share with us more details about your use case? > > Thanks, > Martin > > On Tue, Jan 26, 2021 at 10:11 AM Michal Mocnak <[email protected]> wrote: >> >> Hello, >> >> is there a way how to trigger custom ansible playbooks ? For example when VM >> is created i'd like to automatically trigger playbook to define exact MAC >> address. >> >> I guess this is not possible to integrate via VDSM hook as they are executed >> on the host basis. Maybe it's possible to write UI plugin but i didn't find >> as much in documentation. Thank you so much ! >> >> Cheers >> -m >> _______________________________________________ >> Devel mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> Privacy Statement: https://www.ovirt.org/privacy-policy.html >> oVirt Code of Conduct: >> https://www.ovirt.org/community/about/community-guidelines/ >> List Archives: >> https://lists.ovirt.org/archives/list/[email protected]/message/7LRAC5TOAJ3TWYX4DISIKIBJK5HJIKEV/ > > > > -- > Martin Perina > Manager, Software Engineering > Red Hat Czech s.r.o. _______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/2RWLR2HYOLIJUGJX42LU2QCMUROARSH4/
