[NetFlow] Add VXLAN-Aware Match Fields Support in Terraform Module #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Terraform mapping logic to translate schema's flow record VXLAN match field configurations into the Terraform provider's
iosxe_flow_recordresource attributes.Schema Mappings
flow.records[].match.datalink_vlan → match_datalink_vlan
flow.records[].match.routing_vrf_input → match_routing_vrf_input
flow.records[].match.vxlan_vnid → match_vxlan_vnid
flow.records[].match.vxlan_vtep_input → match_vxlan_vtep_input
flow.records[].match.vxlan_vtep_output → match_vxlan_vtep_output
Changes
iosxe_flow.tf:match_datalink_vlan(lines 99, 147) - VLAN input/output matching for switch platformsmatch_routing_vrf_input(lines 112, 160) - VRF input routing for multi-tenancymatch_vxlan_vnid(lines 115, 163) - VXLAN Network Identifier matchingmatch_vxlan_vtep_input(lines 116, 164) - VTEP input endpoint matchingmatch_vxlan_vtep_output(lines 117, 165) - VTEP output endpoint matchingThis Enables Declarative Configuration of:
Version Requirements
IOS-XE 17.12.1 and later:
datalink_vlan(switch platforms only)routing_vrf_inputvxlan_vnidIOS-XE 17.15.1 and later:
vxlan_vtep_inputRequires IOS-XE 17.15.1+vxlan_vtep_outputRequires IOS-XE 17.15.1+Example Configuration