[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] custom network filter


I am having a VDSM hook that use custom network filter:

<filter name='isolatedprivatevlan-vdsm' chain='root'>
  <filterref filter='clean-traffic'/>
  <rule action='drop' direction='out' priority='500'>
    <mac match='no' dstmacaddr='$GATEWAY_MAC'/>

the filter file name is isolatedprivatevlan-vdsm.xml, and installed in:

when I try to use it in libvirt domain xml:

    <filterref filter="isolatedprivatevlan-rhevm">
        <parameter name="GATEWAY_MAC" value="aa:aa:aa:aa:aa:aa"/>

I am getting the following error:
Network filter not found: Could not find filter 'isolatedprivatevlan-rhevm'

The hook was running but not at my current version: libvirt-0.9.4-17.el6.x86_64

I try to install nwfilter-define via virsh and the list command,
nwfilter-list - I can see the custom filter but again the same error.

any ideas?

Thank you,
Shahar Havivi.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]