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

Add support for Site-aware Policy Enforcement Mode #39

Merged
merged 2 commits into from
Aug 23, 2024
Merged

Add support for Site-aware Policy Enforcement Mode #39

merged 2 commits into from
Aug 23, 2024

Conversation

andbyrne
Copy link
Collaborator

@andbyrne andbyrne commented Jul 9, 2024

No description provided.

@andbyrne andbyrne requested a review from juchowan July 12, 2024 03:44
vzany = try(vrf.vzany, local.defaults.ndo.schemas.templates.vrfs.vzany)
ip_data_plane_learning = try(vrf.data_plane_learning, local.defaults.ndo.schemas.templates.vrfs.data_plane_learning) ? "enabled" : "disabled"
preferred_group = try(vrf.preferred_group, local.defaults.ndo.schemas.templates.vrfs.preferred_group)
site_aware_policy_enforcement = try(vrf.site_aware_policy_enforcement, null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why without default value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we push a value without the user specifying it, this will break with older versions that didn't have this option. For versions that do support it, null will use the NDO default.

@andbyrne andbyrne requested a review from juchowan August 8, 2024 01:22
@juchowan juchowan merged commit 641a30a into main Aug 23, 2024
1 check passed
@andbyrne andbyrne deleted the ab-vrf branch October 14, 2024 22:33
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.

2 participants