cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
212
Views
1
Helpful
5
Replies

Get CPU information from Cisco ACI Sandbox

zo3
Level 1
Level 1

Is it possible to get CPU usage or memory usage stats flowing through the always on sandbox or through the simulator? Is there any way to simulate the data from the fake devices?

5 Replies 5

Not an expert here, maybe this? https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/4-x/rest-api-config/Cisco-APIC-REST-API-Configuration-Guide-401/Cisco-APIC-REST-API-Configuration-Guide-401_chapter_0110.html

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi! Yes, I've been using these requests but the switches themselves don't report anything. When I look on the APIC GUI, I notice that the CPU is 0% so there's nothing going on. I was wondering if there was some way to make the simulated switches do something so that I can play around with those stats via the API. If it's not possible via the sandbox, maybe some way to do that with the personal reservation?

 

I got you, so i am not sure if there is away to generate traffic in here or the reservation based one either. Not sure if you can access a linux host in the reservation based one, and use some basic python scripts to generate traffic or some CPU events.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hmm got it, that makes sense. I'll try to see if I can do some scripts with the sandboxes. Figured I'd ask in case this was already a solved issue for sandboxes/reservations, thank you!

I know this was done in the SD-WAN versions, on the local devbox python script generate traffic and when the policy applied in the template traffic can be routed via the policy - its simple HTTP GET (it does not break out on to the internet as there is no access), but the flow happens. If you do not find this here, see if you have access to dcloud, as their POC normally has labs with traffic generators. 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io