rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_static_mac
Module¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_static_mac.
EthernetSwitchStaticMAC
(connector, path='', redfish_version=None, registries=None, reader=None)¶Bases: rsd_lib.base.ResourceBase
EthernetSwitchStaticMAC resource class
A Ethernet Switch ACL represents Access Control List for switch.
mac_address
= <sushy.resources.base.Field object>¶The static mac address
update
(mac_address, vlan_id=None)¶Update attributes of static MAC
mac_address – MAC address that should be forwarded to this port
vlan_id – If specified, defines which packets tagged with specific VLANId should be forwarded to this port
vlan_id
= <sushy.resources.base.Field object>¶The static mac vlan id
rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_static_mac.
EthernetSwitchStaticMACCollection
(connector, path, redfish_version=None, registries=None)¶Bases: rsd_lib.base.ResourceCollectionBase
create_static_mac
(mac_address, vlan_id=None)¶Create new static MAC entry
mac_address – MAC address that should be forwarded to this port
vlan_id – If specified, defines which packets tagged with specific VLANId should be forwarded to this port
The location of new static MAC entry
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.