CiscoDevNet/terraform-provider-iosxe

resource to configure flow monitor and flow exporter and flow record

thomasnoppe opened this issue · 2 comments

Hi,

Would it be possible to create a resource to configure:

  • flow record
  • flow monitor
  • flow exporter

CLI:

flow record FNF-input
description IPv4 NetFlow
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match ipv4 protocol
match interface input
match ipv4 tos
match flow direction
collect interface output
collect counter bytes long
collect counter packets long
collect transport tcp flags
collect timestamp absolute first
collect timestamp absolute last
!
flow record FNF-output
description IPv4 NetFlow
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match ipv4 protocol
match interface output
match ipv4 tos
match flow direction
collect interface input
collect counter bytes long
collect counter packets long
collect transport tcp flags
collect timestamp absolute first
collect timestamp absolute last
!
flow exporter Scrutinizer
description Export to Scrutinizer
destination x.x.x.x
source Loopback0
transport udp 2055
template data timeout 60

!
flow monitor Scrut_mon_input
description IPv4 FNF ingress exports
exporter Scrutinizer
cache timeout active 60
record FNF-input
!
flow monitor Scrut_mon_output
description IPv4 FNF egress exports
exporter Scrutinizer
cache timeout active 60
record FNF-output
!

kind regards

Added in v0.5.6 release.