Skip to content

NetFlow Record

Location in GUI: Tenant Template » Tenant Policies » NetFlow Record

Diagram
NameTypeConstraintMandatoryDefault Value
netflow_recordsList[netflow_records]No

netflow_records (ndo.tenant_templates.tenant_policies)

Section titled “netflow_records (ndo.tenant_templates.tenant_policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
match_parametersListChoice[dst-ip, dst-ipv4, dst-ipv6, dst-mac, dst-port, ethertype, proto, src-ip, src-ipv4, src-ipv6, src-mac, src-port]No

Example-1: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1. The NetFlow record NFR1 is defined with a full set of match parameters.

ndo:
tenant_templates:
tenant_policies:
- name: TP1
tenant: NDO1
sites:
- APIC1
netflow_records:
- name: NFR1
description: NetFlow Record 1
match_parameters:
- dst-ip
- src-ip
- proto
- dst-port
- src-port

Example-2: The example below shows a minimal NetFlow record NFR2 with only the required name.

ndo:
tenant_templates:
tenant_policies:
- name: TP1
tenant: NDO1
sites:
- APIC1
netflow_records:
- name: NFR2