[Fusioninventory-devel] Adding criteria ing entities computer rules for fusion inventory.

David DURIEUX d.durieux at siprossii.com
Fri Feb 28 11:27:48 UTC 2014


Le Fri, 28 Feb 2014 12:04:47 +0100
Lafarguette Stéphane <stephane.lafarguette at ac-clermont.fr> a écrit:

>Hi,

Hello,

>First thanks for your work.

Thanks ;)

>Is it possible to add network mask in criteria for entities computer 
>rules to affect hardware to entities when sub network isn't fully 
>reserved for entities ie 172.16.84.x/255.255.254.0 ?

Yes it's possible, you can add a ticket on forge.

For the moment, you can do like this:
* Put rule with 'OR'
* add criteria IP begin by 172.16.84.
* add criteria IP begin by 172.16.85.


Another solution is to have criteria:
* IP regex match /^172.16.(84|85)./

David
++

>Thanks a lot !
>



More information about the Fusioninventory-devel mailing list