Skip to content

Conversation

@camschaecisco
Copy link
Contributor

Add Terraform mapping logic to translate schema's flow exporter TTL configuration into the Terraform provider's flow_exporter resource attribute.

Schema mappings:

flow.exporters[].ttl → ttl

Changes:

  • Add TTL attribute mapping to iosxe_flow.tf (lines 20 and 42)
  • Support for device-specific, default, and null configuration values
  • Three-tier fallback hierarchy: device config → global defaults → null
  • Fixed BGP compatibility issue: update_source_loopback → update_source_interface_loopback

This enables declarative configuration of:

  • Time To Live (TTL) for NetFlow/IPFIX export packets (0-255)
  • Per-device TTL values with global default fallback
  • Control of packet hop limits for flow data sent to collectors

camschae and others added 3 commits November 11, 2025 16:11
- Add TTL attribute mapping to iosxe_flow_exporter resource
- Implement configuration fallback hierarchy (device → defaults → null)
- TTL controls the Time To Live value for NetFlow/IPFIX export packets

Related to flow exporter TTL implementation across provider and schema
…eighbor

Follow-up to c935ef3 - missed line 421 in iosxe_bgp.tf where update_source_loopback
should be update_source_interface_loopback to match provider attribute name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants