You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have attempted to use all the solutions provided above for getting packets, and my query is returning an empty list. result = apic.methods.ResolveClass('acllogPermitL3Pkt').GET() result2 = apic.mit.polUni().fvTenant(tenant).GET(**options.subtreeClass('acllogPermitL3Pkt')) result3 = apic.methods.ResolveClass('acllogPermitL3Pkt').GET(**options.filter( filters.Wcard('acllogDropL3Pkt.dn', f"ndbgs/acllog/tn-{tenant}") & filters.Wcard('acllogDropL3Pkt.srcIp', "10.71.0.164"))) test = apic.mit.polUni().fvTenant(tenant).GET() Originally posted by @the-modern-leo in #44 (comment)
The text was updated successfully, but these errors were encountered:
the-modern-leo
changed the title
Unable to get ACL drops in pyaci
Unable to get ACL permits/drops in pyaci
Mar 20, 2020
There is no issue with PyACI. The query rightly returns results.
I suspect that you have not enabled the logging feature on your APIC. Can you please check your configuration. Please refer to the official documentation of APIC on how to enable this feature. Here is an instruction that says on how to do this for a new contract. For an existing contract, just follow step 11 alone.
I have attempted to use all the solutions provided above for getting packets, and my query is returning an empty list.
result = apic.methods.ResolveClass('acllogPermitL3Pkt').GET() result2 = apic.mit.polUni().fvTenant(tenant).GET(**options.subtreeClass('acllogPermitL3Pkt')) result3 = apic.methods.ResolveClass('acllogPermitL3Pkt').GET(**options.filter( filters.Wcard('acllogDropL3Pkt.dn', f"ndbgs/acllog/tn-{tenant}") & filters.Wcard('acllogDropL3Pkt.srcIp', "10.71.0.164"))) test = apic.mit.polUni().fvTenant(tenant).GET()
Originally posted by @the-modern-leo in #44 (comment)
The text was updated successfully, but these errors were encountered: