Network OS YANG Reference Manual
Network OS YANG Reference Manual
Network OS v3.0.0
53-1002566-01
documentation@brocade.com


YANG Modules : brocade-mac-access-list

brocade-mac-access-list
Description
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 containers
Top-level nodes and their subtree hierarchies follow.
module: brocade-mac-access-list
+--rw mac
+--rw access-list
+--rw standard [name]
| +--rw name mac-acl-name
| +--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 extended [name]
+--rw name mac-acl-name
+--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 ethertype? union
+--rw count? empty
+--rw log? empty
External augmentations
Nodes that augment other modules and their subtrees follow.
module: brocade-interface
+--rw interface
| +--rw gigabitethernet [name]
   | | +--rw mac-access-list:mac
| | +--rw mac-access-list:access-group [mac-access-list mac-direction]
| | +--rw mac-access-list:mac-access-list mac-acl-name
| | +--rw mac-access-list:mac-direction enumeration
| +--rw tengigabitethernet [name]
   | | +--rw mac-access-list:mac
| | +--rw mac-access-list:access-group [mac-access-list mac-direction]
| | +--rw mac-access-list:mac-access-list mac-acl-name
| | +--rw mac-access-list:mac-direction enumeration
| +--rw fortygigabitethernet [name]
   | | +--rw mac-access-list:mac
| | +--rw mac-access-list:access-group [mac-access-list mac-direction]
| | +--rw mac-access-list:mac-access-list mac-acl-name
| | +--rw mac-access-list:mac-direction enumeration
| +--rw port-channel [name]
   | | +--rw mac-access-list:mac
| | +--rw mac-access-list:access-group [mac-access-list mac-direction]
| | +--rw mac-access-list:mac-access-list mac-acl-name
| | +--rw mac-access-list:mac-direction enumeration
   +--rw interface-vlan
      +--rw interface
         +--rw vlan [name]
            +--rw mac-access-list:mac
               +--rw mac-access-list:access-group
                       [mac-access-list mac-direction]
                  +--rw mac-access-list:mac-access-list mac-acl-name
                  +--rw mac-access-list:mac-direction enumeration
RPCs
Custom RPCs defined in this module follow.
Return the ingress and egress policies for an interface:
+---x get-mac-acl-for-intf
+--ro input
| +--ro interface-type? enumeration
| +--ro interface-name? union
| +--ro 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
Actions
None
 

YANG Modules : brocade-mac-access-list