Config

Leafs

class Acl.AclSets.AclSet.AclEntries.AclEntry.L2.Config

Bases: Entity

Class Hierarchy : Acl AclSets AclSet AclEntries AclEntry L2 Config

This class represents configuration data.

Configuration data

source_mac

Source IEEE 802 MAC address

type: str

pattern: ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$

source_mac_mask

Source IEEE 802 MAC address mask

type: str

pattern: ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$

destination_mac

Destination IEEE 802 MAC address

type: str

pattern: ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$

destination_mac_mask

Destination IEEE 802 MAC address mask

type: str

pattern: ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$

ethertype

Ethertype field to match in Ethernet packets

type: union of the below types:

type: int

range: 1..65535

type: ETHERTYPE