Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewValidation: CSCwi66348 ACI switch Bootstrap can hit several hours delay if PBR policy are referred by mutiple contracts #143

Open
rg5147 opened this issue Jul 31, 2024 · 1 comment
Assignees

Comments

@rg5147
Copy link

rg5147 commented Jul 31, 2024

Validation Type

[ ] - Fault

[ ] - Config

[ x] - Bug

[ ] - Other

What needs to be validated

	This validation needs to be done per switch. Not sure if this is possible with the script 


	1. Version check    < 16.0(4a)/5.3(2c)

	2. Check if the number of instances of the MO classes:  [vnsAdjacencyDefCont , vnsSvcRedirEcmpBucketCons, fvAdjDefCons] surpasses the 100,000. 


	Logic  1 and 2


	Snippit Format version 5.2(6e) :

	Per leaf

	moquery -c vnsAdjacencyDefCont -o xml| wc -l
	86861
	moquery -c vnsSvcRedirEcmpBucketCons -o xml| wc -l
	127858
	moquery -c fvAdjDefCons -o xml| wc -l
	84567

	Instances =  299286  > 100,000

Why it needs to be validated

Front panel ports will be brought up before policy download is completed after 90 minutes

Additional context

Traffic loss if front panel ports are brought up before policy download is complete
Customer should prepare for longer upgrade time for the affected leaf
Customer should shutdown front panel ports for affected leaves
@monrog2 monrog2 self-assigned this Sep 18, 2024
@monrog2
Copy link
Collaborator

monrog2 commented Sep 25, 2024

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":""}}}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants