pyaci icon indicating copy to clipboard operation
pyaci copied to clipboard

Unable to get ACL permits/drops in pyaci

Open the-modern-leo opened this issue 4 years ago • 2 comments

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 https://github.com/datacenter/pyaci/issues/44#issuecomment-591674636

the-modern-leo avatar Mar 04 '20 23:03 the-modern-leo