NetFlow Record
NDOLocation in GUI:
Tenant Template » Tenant Policies » NetFlow Record
Diagram
Section titled “Diagram”Classes
Section titled “Classes”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| tenant_ | Class | tenant_ | No |
tenant_templates (ndo)
Section titled “tenant_templates (ndo)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| tenant_policies | List | tenant_policies | No |
tenant_policies (ndo.tenant_templates)
Section titled “tenant_policies (ndo.tenant_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| netflow_records | List | netflow_records | No |
netflow_records (ndo.tenant_templates.tenant_policies)
Section titled “netflow_records (ndo.tenant_templates.tenant_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%() | No | |
| match_ | List | Choice[dst-ip, dst-ipv4, dst-ipv6, dst-mac, dst-port, ethertype, proto, src-ip, src-ipv4, src-ipv6, src-mac, src-port] | No |
Examples
Section titled “Examples”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-portExample-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