extreme-mac-access-list

Provides a data model for configuring MAC access lists and for applying them to interfaces.

A custom RPC enables retrieval of the configured ingress and egress policies per interface.

Top-level container

module: extreme-mac-access-list
   +--rw mac
      +--rw access-list
         +--rw standard* [name]
         |  +--rw name                mac-acl-name
         |  +--rw hide-mac-acl-std
         |     +--rw seq* [seq-id]
         |        +--rw seq-id               uint64
         |        +--rw action               enumeration
         |        +--rw source               union
         |        +--rw srchost              mac-address-type
         |        +--rw src-mac-addr-mask    src-dst-mac-address-mask-type
         |        +--rw count?               empty
         |        +--rw log?                 empty
         |        +--rw copy-sflow?          empty
         +--rw extended* [name]
            +--rw name                mac-acl-name
            +--rw hide-mac-acl-ext
               +--rw seq* [seq-id]
                  +--rw seq-id                   uint64
                  +--rw action                   enumeration
                  +--rw source                   union
                  +--rw srchost                  mac-address-type
                  +--rw src-mac-addr-mask        src-dst-mac-address-mask-type
                  +--rw dst                      union
                  +--rw dsthost                  mac-address-type
                  +--rw dst-mac-addr-mask        src-dst-mac-address-mask-type
                  +--rw vlan-tag-format?         enumeration
                  +--rw vlan?                    union
                  +--rw vlan-id-mask?            vlan-format-vlan-id-mask
                  +--rw outer-vlan?              union
                  +--rw outer-vlan-id-mask?      vlan-format-vlan-id-mask
                  +--rw inner-vlan?              union
                  +--rw inner-vlan-id-mask?      vlan-format-vlan-id-mask
                  +--rw ethertype?               union
                  +--rw arp-guard?               empty
                  +--rw pcp?                     pcp-value
                  +--rw pcp-force?               pcp-remark
                  +--rw drop-precedence-force?   drop-prec-uint
                  +--rw count?                   empty
                  +--rw log?                     empty
                  +--rw mirror?                  empty
                  +--rw copy-sflow?              empty

RPCs

Return the ingress and egress policies for an interface:

rpcs:
   +---x get-mac-acl-for-intf    
      +---w input     
      |  +---w interface-type?   enumeration
      |  +---w interface-name?   union
      |  +---w direction?        enumeration
      +--ro output    
         +--ro interface* [interface-type interface-name]
            +--ro interface-type    enumeration
            +--ro interface-name    union
            +--ro ingress-policy*
            |  +--ro policy-name?   string
            +--ro egress-policy*
               +--ro policy-name?   string