On Thu, Jul 25, 2013 at 2:25 PM, Constantinos Venetsanopoulos
<[email protected]> wrote:
> Hi Sebastian,
>
>
> On 07/25/2013 03:20 PM, Sebastian Gebhard wrote:
>>
>> Hi Constantinos,
>>
>> it sounds very good to abstract this even more. I just have one question:
>>
>> Am 25.07.13 14:01, schrieb Constantinos Venetsanopoulos:
>>>
>>> If hypervisor=kvm:
>>>   run kvm-ifup:
>>>   Inside kvm-ifup:
>>>     if custom script (kvm-vif-bridge) is found run that
>>>     else
>>>       run default actions
>>>
>>> If hypervisor=xen:
>>>    run vif-ganeti
>>>    Inside vif-ganeti:
>>>      if custom script (vif-custom) is found run that
>>>      else
>>>       run default actions
>>
>>
>> Where or how would you want to define such a custom script? Or where would
>> you check if there is one?
>>
>
> AFAIK, this already happens inside kvm-ifup and vif-ganeti.
> kvm-ifup searches for kvm-vif-bridge and vif-ganeti
> searches for vif-custom. Dimitris knows the exact details
> on this.
>

Historically this was a way to override the script. This too should be
replaced with a more modular approach to allow overriding single parts
and/or inserting custom code at certain hook points, instead of an
all-or-nothing approach.

Thanks,

Guido

Reply via email to