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

Set anti affinity policy as separate action with Apstra 4.2.0 #903

Conversation

chrismarget-j
Copy link
Collaborator

TestDatasourceDatacenterBlueprint() is failing with Apstra 4.2.0 because the test setup code (creating a blueprint) fails to set the Anti Affinity Policy. This is because Apstra 4.2.0 takes the Anti Affinity Policy from the template, rather than the blueprint instantiation request.

This PR detects v4.2.0 while prepping Apstra for running the data source, and sets the policy as a separate action when required.

Closes #902

@chrismarget-j chrismarget-j merged commit 2f41a15 into main Oct 4, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the 902-test-testdatasourcedatacenterblueprint-fails-with-420-because-anti-affinity-policy-is-part-of-template branch October 4, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test TestDatasourceDatacenterBlueprint() fails with 4.2.0 because Anti Affinity Policy is part of template
2 participants