Can you not match outside?

<policy-search-criteria name="Network Ports NNI Search">
                                <or>
                                                 <attr-match 
match-type="equal-to" id="0x12a79" value="1" />
                                                 <attr-match 
match-type="equal-to" id="0x12a79" value="2" />
                                 </or>
                                <and>
                                                <attr-match 
match-type="equal-to" id="0x11ee8" value="15" />
                                                <attr-match 
match-type="contains" id="0x1134b" value="NNI" />
                                                <attr-match 
match-type="equal-to" id="0x10e3f" value="1" />
                                                <attr-match 
match-type="equal-to" id="0x10e40" value="0" />
                                </and>
</policy-search-criteria>

I think it would achieve the same result?

Alternatively what happens if you try to set up the policy in the OneClick GUI?

Dave

David K. Game
Consultant - Managed Service Centre (EU)
Logicalis UK Ltd
__________________________________________________________________
[http://www.reed.co.uk/resources/cms/images/logos/Banner_18028.png]     
[CA_Cert_Pro_Spectrum_r9x_sml]

From: Bohra, Saurabh [mailto:saurabh.bo...@espn.com]
Sent: 21 May 2014 21:14
To: spectrum
Subject: [spectrum] Policy Manager - policy-search-criteria - Question

Spectrum 9.3 H09

Below are the two search criteria's I want to create, however it looks like 
policy manager does not like OR within AND. Any suggestions.

Thanks,


<policy-search-criteria name="Network Ports NNI Search">
                                <and>
                                                <attr-match 
match-type="equal-to" id="0x11ee8" value="15" />
                                                <or>
                                                                <attr-match 
match-type="equal-to" id="0x12a79" value="1" />
                                                                <attr-match 
match-type="equal-to" id="0x12a79" value="2" />
                                                </or>
                                                <attr-match 
match-type="contains" id="0x1134b" value="NNI" />
                                                <attr-match 
match-type="equal-to" id="0x10e3f" value="1" />
                                                <attr-match 
match-type="equal-to" id="0x10e40" value="0" />
                                </and>
</policy-search-criteria>




<policy-search-criteria name="Network Ports 10Gb or High Search">
                                <and>
                                                <attr-match 
match-type="equal-to" id="0x11ee8" value="15" />
                                                <attr-match 
match-type="greater-than-or-equal-to" id="0x12bb3" value="10000000000" />
                                                <or>
                                                                <attr-match 
match-type="equal-to" id="0x12a79" value="1" />
                                                                <attr-match 
match-type="equal-to" id="0x12a79" value="2" />
                                                </or>
                                                <or>
                                                                <attr-match 
match-type="does-not-contains" id="0x1134b" value="vlan" />
                                                                <attr-match 
match-type="does-not-contains" id="0x1134b" value="channel" />
                                                </or>
                                </and>
</policy-search-criteria>


Saurabh Bohra
Sr. Network Mgmt Systems Analyst
ESPN Inc.
O: 860-766-0842  |  M: 860-385-3597  |  e-mail: 
saurabh.bo...@espn.com<mailto:saurabh.bo...@espn.com>


  *   --To unsubscribe from spectrum, send email to 
lists...@unc.edu<mailto:lists...@unc.edu> with the body: unsubscribe spectrum 
david.g...@uk.logicalis.com<mailto:david.g...@uk.logicalis.com>

Please be aware that Logicalis UK Ltd may monitor email traffic data and also 
email content for security purposes.
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

This email communication does not create or vary any contractual relationship 
between Logicalis and you. Internet communications are not secure and 
accordingly Logicalis does not accept any legal liability for the contents of 
this message. The contents of this email are confidential to the intended 
recipient at the email address to which it has been addressed. It may not be 
disclosed to or used by anyone other than this addressee, nor may it be copied 
in any way. If received in error, please contact Logicalis on the above 
switchboard number quoting the name of the sender and the addressee and then 
delete it from your system. Please note that neither Logicalis nor the sender 
accepts any responsibility for viruses and it is your responsibility to scan 
the email and attachments (if any).

Please be aware that Logicalis UK Ltd may monitor email traffic data and also 
email content for security purposes.

Logicalis UK Ltd,  Registered in England and Wales No: 3732397,  Registered 
Office: 110 Buckingham Avenue, Slough. Berkshire, SL1 4PF 

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum arch...@mail-archive.com

Reply via email to