I try to compose an API call that retrieves all deployed EPGs on the ports of the fabric.
I reverse engineered from the web GUI that is can be done for a single port with this call:
But this is not very suitable for a fabric with a lot of ports. Is there a way to get this information for _all_ the ports in one single REST call?
I see that the real information is stored in a pconsResourceCtx record.
Anyway, I cannot get anything from the APIC nevertheless I try to retrieve pconsResourceCtx or l1EthIfToEPg entries.
Many thanks in advance!
Via cli on the apic you could do moquery -c fvStPathAtt | egrep ? So you might look into the class fvStPathAtt for creating your rest api call.