-
Notifications
You must be signed in to change notification settings - Fork 42
add esg support for set rules #291
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
base: main
Are you sure you want to change the base?
Conversation
I just realised there is an issue in my code but I am not sure how to fix it. As with #293 APIC will not let you add a So in the code we need to have the update the import-rule after the ESGs/EPGs are created but I am not sure what is the best way to do so... I tried adding I would need some guidance on how to do this. |
and simply adding a dependency on ESG for set rules module wouldn't help? |
@juchowan I tried and I get |
but in the comment you mention you set depends_on in the l3out module, i'm talking about dependency between set_rules and esg modules. Is it causing the same error? |
I will try tomorrow (almost midnight for me) and will put here the result of the test I do! |
The l3out module has a dependency on aci_set_rule so it creates a cycle. rtctrlRsSetPolicyTagToESg validates the ESG exists and is in the same VRF as the L3out. This creates an implicit dependency on the ESG. The ESG might be created out of sequence or by a different plan so fixing this in the module is not feasible. To work around this issue you could create a new module for this feature with a dependency on ESG. CSCwq86357 has been opened to address this. |
Thanks for confirming this @robvand it did feel was a complicated issue :) |
No description provided.