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
michal(a)marigan.net
On Thu, Jan 28, 2021 at 10:40 AM Martin Perina <mperina(a)redhat.com> 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_Hos...
>
> 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 <michal(a)marigan.net> 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 -- devel(a)ovirt.org
>> To unsubscribe send an email to devel-leave(a)ovirt.org
>> 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/devel@ovirt.org/message/7LRAC5TOAJ3...
>
>
>
> --
> Martin Perina
> Manager, Software Engineering
> Red Hat Czech s.r.o.