Using many variables in Policy

Hello All,

We want to use variables in policies of HP NA.

i have the below statment but does not working well with Network Automation (NA) 

if (A) then (B and (C or D))

A  is Mandatory option

then should NA checks out B

with one of ( C OR D) 

please advice 

  • 0  

    Hi,

    When you say it is not working well, is it failing or you’re getting an error or just taking a long time when you check the compliance?

    The logic should work, though I would imagine it may be a bit slow if you are checking many devices and each expression is complex (contains reg-ex).  

    There is a give-and-take where if you have rather complex expressions and then you add some logic in, it can take a while to complete.  

    If you could show your policy rule or provide more details, it may help with providing a good answer to your question.  

    Good luck,
    Chris