<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rest Query with wdcard in dn =&amp;gt; limitation in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4196640#M64</link>
    <description>&lt;P&gt;Hello Kostia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer. I tried all the possibilites that you mentioned. Unfortunately without success. With the asterisk coding, I receive more object than expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But If I do a wildcard search with the interface name, I receive the correct answer :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://{{apic}}/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,&amp;quot;eth1/49&amp;quot;)" target="_blank"&gt;https://{{apic}}/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"eth1/49")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"totalCount": "&lt;U&gt;&lt;STRONG&gt;8&lt;/STRONG&gt;&lt;/U&gt;",&lt;BR /&gt;"imdata": [&lt;BR /&gt;{&lt;BR /&gt;"lldpIf": {&lt;BR /&gt;"attributes": {&lt;BR /&gt;"adminRxSt": "enabled",&lt;BR /&gt;"adminSt": "enabled",&lt;BR /&gt;"adminTxSt": "enabled",&lt;BR /&gt;"childAction": "",&lt;BR /&gt;"descr": "",&lt;BR /&gt;"dn": "topology/pod-1/node-101/sys/lldp/inst/if-[eth1/49]",&lt;BR /&gt;"id": "eth1/49",&lt;BR /&gt;"lcOwn": "local",&lt;/P&gt;&lt;P&gt;-- output ommited ---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way I needed this request to use with cobra SDK python package. But I found the "lookupByClass" method where I can put the parent DN in parameter and therefore retrieve only the class for a given node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, the workaround is to add the path in the URL and you can filter the node :&lt;/P&gt;&lt;P&gt;Ex :&lt;/P&gt;&lt;P&gt;'https://&amp;lt;APIC&amp;gt;/api/node/class/topology/pod-1/node-121/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpIf,lldpAdjEp&amp;amp;rsp-subtree-include=required'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not so expert with REST in order to see if this problem is a Bug or limitation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you working in this area ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Julian de Lima&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2020 13:53:13 GMT</pubDate>
    <dc:creator>jul.delima</dc:creator>
    <dc:date>2020-12-10T13:53:13Z</dc:date>
    <item>
      <title>Rest Query with wdcard in dn =&gt; limitation</title>
      <link>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4194747#M62</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying (with Cobra) to retrieve some information with the Rest API. I need to retrieve the LLDP neighbors for some leaves. When I'm sending the Get REST with wildcard filter for the dn parameters, I do not receive anything back. But if I'm doing the same request but with the "eq" keyword with the full dn, I receive the information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET with target-filter "== / eq" :&lt;/P&gt;&lt;P&gt;&lt;A href="https://lab01se1001itt/api/class/lldpIf.json?query-target-filter=eq(lldpIf.dn,&amp;quot;topology/pod-1/node-1121/sys/lldp/inst/if-[eth1/13]&amp;quot;)" target="_blank" rel="noopener"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=eq(lldpIf.dn,"topology/pod-1/node-112/sys/lldp/inst/if-[eth1/13]")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"totalCount": "1",&lt;BR /&gt;"imdata": [&lt;BR /&gt;{&lt;BR /&gt;"lldpIf": {&lt;BR /&gt;"attributes": {&lt;BR /&gt;"adminRxSt": "enabled",&lt;BR /&gt;"adminSt": "enabled",&lt;BR /&gt;"adminTxSt": "enabled",&lt;BR /&gt;"childAction": "",&lt;BR /&gt;"descr": "",&lt;BR /&gt;"dn": "topology/pod-1/node-112/sys/lldp/inst/if-[eth1/13]",&lt;BR /&gt;"id": "eth1/13",&lt;BR /&gt;"lcOwn": "local",&lt;BR /&gt;"mac": "xxxxxxx",&lt;BR /&gt;"modTs": "2020-06-17T15:33:16.370+01:00",&lt;BR /&gt;"monPolDn": "uni/fabric/monfab-default",&lt;BR /&gt;"name": "",&lt;BR /&gt;"operRxSt": "down",&lt;BR /&gt;"operTxSt": "down",&lt;BR /&gt;"portDesc": "topology/pod-1/paths-112/pathep-[eth1/13]",&lt;BR /&gt;"portMode": "normal",&lt;BR /&gt;"portVlan": "unspecified",&lt;BR /&gt;"status": "",&lt;BR /&gt;"sysDesc": "topology/pod-1/node-112",&lt;BR /&gt;"wiringIssues": ""&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET with target-filter "contains / wcard" :&lt;/P&gt;&lt;P&gt;&lt;A href="https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,&amp;quot;node-112&amp;quot;)" target="_blank" rel="noopener"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"node-112")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"totalCount": "0",&lt;BR /&gt;"imdata": []&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But If I do this kind of filter with the sysDesc paramter, it's working ! What is the limit with the dn ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 19:53:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4194747#M62</guid>
      <dc:creator>jul.delima</dc:creator>
      <dc:date>2020-12-07T19:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Query with wdcard in dn =&gt; limitation</title>
      <link>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4194853#M63</link>
      <description>&lt;P&gt;Hello jul.delima,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give the wcard a shot with some asterisks for globbing. Also, I saw documentation that it might work with regex. Most likely the syntax actually leans towards regex rather then globbing (&lt;A href="https://www.linuxjournal.com/content/globbing-and-regex-so-similar-so-different" target="_self"&gt;they are similar but different&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed on this link&amp;nbsp;&lt;A href="https://www.ciscolive.com/c/dam/r/ciscolive/apjc/docs/2016/pdf/DEVNET-1627.pdf" target="_blank"&gt;https://www.ciscolive.com/c/dam/r/ciscolive/apjc/docs/2016/pdf/DEVNET-1627.pdf&lt;/A&gt;&amp;nbsp;on page 17 we have this example:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;query-target-filter=wcard(fvTenant.description,"coke.*”) # filter with regex&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in your case, give these a shot, let us know if one works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,".*node-112.*")&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"*node-112*")&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"node-112.*")&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"node-112*")&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: the astrick might need to be urlencoded to&amp;nbsp;%2A, so then might also want to try these:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,".&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;%2A&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;node-112.%2A")&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;%2A&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;node-112&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;%2A&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;")&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"node-112.&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;%2A&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;")&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://APIC/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"node-112&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;%2A&lt;/A&gt;&lt;A href="https://apic/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,%22node-112%22)" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;")&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Kostia Khlebopros&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 22:56:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4194853#M63</guid>
      <dc:creator>kkhlebop</dc:creator>
      <dc:date>2020-12-07T22:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Query with wdcard in dn =&gt; limitation</title>
      <link>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4196640#M64</link>
      <description>&lt;P&gt;Hello Kostia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer. I tried all the possibilites that you mentioned. Unfortunately without success. With the asterisk coding, I receive more object than expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But If I do a wildcard search with the interface name, I receive the correct answer :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://{{apic}}/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,&amp;quot;eth1/49&amp;quot;)" target="_blank"&gt;https://{{apic}}/api/class/lldpIf.json?query-target-filter=wcard(lldpIf.dn,"eth1/49")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"totalCount": "&lt;U&gt;&lt;STRONG&gt;8&lt;/STRONG&gt;&lt;/U&gt;",&lt;BR /&gt;"imdata": [&lt;BR /&gt;{&lt;BR /&gt;"lldpIf": {&lt;BR /&gt;"attributes": {&lt;BR /&gt;"adminRxSt": "enabled",&lt;BR /&gt;"adminSt": "enabled",&lt;BR /&gt;"adminTxSt": "enabled",&lt;BR /&gt;"childAction": "",&lt;BR /&gt;"descr": "",&lt;BR /&gt;"dn": "topology/pod-1/node-101/sys/lldp/inst/if-[eth1/49]",&lt;BR /&gt;"id": "eth1/49",&lt;BR /&gt;"lcOwn": "local",&lt;/P&gt;&lt;P&gt;-- output ommited ---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way I needed this request to use with cobra SDK python package. But I found the "lookupByClass" method where I can put the parent DN in parameter and therefore retrieve only the class for a given node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, the workaround is to add the path in the URL and you can filter the node :&lt;/P&gt;&lt;P&gt;Ex :&lt;/P&gt;&lt;P&gt;'https://&amp;lt;APIC&amp;gt;/api/node/class/topology/pod-1/node-121/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpIf,lldpAdjEp&amp;amp;rsp-subtree-include=required'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not so expert with REST in order to see if this problem is a Bug or limitation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you working in this area ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Julian de Lima&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 13:53:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/4196640#M64</guid>
      <dc:creator>jul.delima</dc:creator>
      <dc:date>2020-12-10T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Query with wdcard in dn =&gt; limitation</title>
      <link>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/5011187#M3253</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/254066"&gt;@jul.delima&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up on this and see if you still need help?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 15:30:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/5011187#M3253</guid>
      <dc:creator>Ruben Cocheno</dc:creator>
      <dc:date>2024-02-01T15:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Query with wdcard in dn =&gt; limitation</title>
      <link>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/5015672#M3269</link>
      <description>&lt;P&gt;Coincidentally, I ran across this post for the same use case as the OP. I have the same issues. While filtering on lldpIf.sysDesc is a feasible workaround, IMO, I'm very curious as to why lldpIf.dn is a no go.&lt;/P&gt;&lt;P&gt;Running ACI 4.2(7r) / 14.2(7r)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The queries I use:&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,&amp;quot;node-101&amp;quot;)" target="_blank"&gt;https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,"node-101")&lt;/A&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;returned 0 results (there ARE LLDP neighbors on node 101)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,"node")&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;returned 6 results - 2 for each of my 3 APICs' - connections to the fabric&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,&amp;quot;.*&amp;quot;)" target="_blank"&gt;https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,".*")&lt;/A&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;returned 444 results - spot check seems to indicate this would be all LLDP neighbors for the entire fabric (using Python lib - did NOT encode the * as %2A)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,&amp;quot;.*node-101.*&amp;quot;)" target="_blank"&gt;https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,".*node-101.*")&lt;/A&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;returned 0 results&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.dn,&amp;quot;.*node-101.*&amp;quot;)" target="_blank"&gt;https://apic/api/class/lldpIf.json?rsp-subtree=children&amp;amp;rsp-subtree-class=lldpAdjEp&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(lldpIf.sysDesc,"node-101")&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;returned 7 results - the 7 lldp neighbors on node 101 in my fabric - seemingly a different way to get the desired results&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a matter of testing, I tried for an entirely different class (randomly selected from my list of queries I've used).&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://apic/api/class/fvBD.json?rsp-subtree=children&amp;amp;rsp-subtree-class=fvSubnet&amp;amp;rsp-subtree-include=required&amp;amp;query-target-filter=wcard(fvBD.dn,"vmware")&lt;/PRE&gt;&lt;P&gt;This returned 3 results, all with "vmware" somewhere in the dn field. This seems to work as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 18:44:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-query-with-wdcard-in-dn-gt-limitation/m-p/5015672#M3269</guid>
      <dc:creator>hrtendrup-old</dc:creator>
      <dc:date>2024-02-09T18:44:24Z</dc:date>
    </item>
  </channel>
</rss>

