cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
554
Views
1
Helpful
2
Replies

ACI - leaf capacity dashboard, how does it calculate LPM usage?

Wojciech Mitus
Level 1
Level 1

Hi, i'm trying to create a python script which would gather some of the data available on APIC leaf capacity dashboard. Using API inspector, i was able to get most of API calls used by this dashboard and create appropriate calls for various resources (VLAN's, EPG's, L2 endpoints, L3 prefixes, etc.) in Python, but i can't find a call which would return LPM usage per leaf, so i guess this is somehow calculated from other variables by the dashboard code.

Question is: how can i get/calculate LPM usage per leaf using APIC API calls?

Thanks,

Wojtek

 

 

2 Replies 2

Marcel Zehnder
Spotlight
Spotlight

Hi, you can get the max value for LPM's per leaf by quering these two classes:

configprofileEntity (attribute LPM is the max value for a specific profile)
topoctrlFwdScaleProf (leaf/profile mapping)

These will give you the "100% numbers" - whats missing now is the actual LPM size per leaf - I let you know as soon as I find the correct class.

Hi Marcel, were you able to find something? I'm still struggling with calculating LPM size per leaf using API. 

Thanks.

Wojtek

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License