Filter
Location in GUI: Tenants
» XXX
» Contracts
» Filters
Diagram
Classes
tenants (apic)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
filters | List | [filters] | No |
filters (apic.tenants)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
alias | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
entries | List | [entries] | No |
entries (apic.tenants.filters)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
alias | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
ethertype | Choice | unspecified , ipv4 , trill , arp , ipv6 , mpls_ucast , mac_security , fcoe , ip | No | ip |
protocol | Any | Integer[min: 0 , max: 255 ] or Choice[unspecified , icmp , igmp , tcp , egp , igp , udp , icmpv6 , eigrp , ospfigp , pim , l2tp ] | No | tcp |
source_from_port | Any | Integer[min: 0 , max: 65535 ] or Choice[unspecified , ftpData , smtp , dns , http , pop3 , https , rtsp , ssh ] | No | unspecified |
source_to_port | Any | Integer[min: 0 , max: 65535 ] or Choice[unspecified , ftpData , smtp , dns , http , pop3 , https , rtsp , ssh ] | No | |
destination_from_port | Any | Integer[min: 0 , max: 65535 ] or Choice[unspecified , ftpData , smtp , dns , http , pop3 , https , rtsp , ssh ] | No | unspecified |
destination_to_port | Any | Integer[min: 0 , max: 65535 ] or Choice[unspecified , ftpData , smtp , dns , http , pop3 , https , rtsp , ssh ] | No | |
stateful | Boolean | true , false | No | false |
Examples
Simple example:
apic: tenants: - name: ABC filters: - name: FILTER1 entries: - name: HTTP ethertype: ip protocol: tcp destination_from_port: 80 stateful: true
Full example:
apic: tenants: - name: ABC filters: - name: FILTER1 alias: ABC-FILTER1 description: My Desc entries: - name: ENTRY1 alias: ENTRY1-ALIAS ethertype: ip protocol: tcp source_from_port: 80 source_to_port: 80 destination_from_port: 80 destination_to_port: 80 stateful: true