brocade-mac-access-list

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

Top-level container

module: brocade-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 count-sync?          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?                    string
                  +--rw vlan-id-mask?            vlan-format-vlan-id-mask
                  +--rw outer-vlan?              string
                  +--rw outer-vlan-id-mask?      vlan-format-vlan-id-mask
                  +--rw inner-vlan?              string
                  +--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 known-unicast-only?      empty
                  +--rw unknown-unicast-only?    empty
                  +--rw count?                   empty
                  +--rw count-sync?              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