Open rg5147 opened 2 months ago
Can pull out all fabric Node Ids with a fabricNode query then iterate through and count... maybe do a fabric-wide count first to decide whether or not to bother doing the iterations:
admin@apic1:~> icurl 'http://127.0.0.1:7777/api/node-101/class/vnsAdjacencyDefCont.json?&rsp-subtree-include=count'
{"totalCount":"1","imdata":[{"moCount":{"attributes":{"childAction":"","count":"15","dn":"","status":""}}}]}
admin@apic1:~> icurl 'http://127.0.0.1:7777/api/node-101/class/vnsSvcRedirEcmpBucketCons.json?&rsp-subtree-include=count'
{"totalCount":"1","imdata":[{"moCount":{"attributes":{"childAction":"","count":"15","dn":"","status":""}}}]}
admin@apic1:~> icurl 'http://127.0.0.1:7777/api/node-101/class/fvAdjDefCons.json?&rsp-subtree-include=count'
{"totalCount":"1","imdata":[{"moCount":{"attributes":{"childAction":"","count":"15","dn":"","status":""}}}]}
Validation Type
What needs to be validated
Why it needs to be validated
Additional context