rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl
Module¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.
BindActionField
(*args, **kwargs)¶Bases: sushy.resources.common.ActionField
allowed_values
= <sushy.resources.base.Field object>¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.
EthernetSwitchACL
(connector, path='', redfish_version=None, reader=None)¶Bases: rsd_lib.base.ResourceBase
EthernetSwitchACL resource class
A Ethernet Switch ACL represents Access Control List for switch.
bind_port
(port)¶Bind port from this switch ACL
port – Link to port to bind.
InvalidParameterValueError
get_allowed_bind_ports
()¶Get the allowed ports for bind action.
A set with the allowed bind ports.
get_allowed_unbind_ports
()¶Get the allowed ports for unbind action.
A set with the allowed unbind ports.
links
= <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.LinksField object>¶rules
¶Property to provide reference to EthernetSwitchACLRuleCollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
unbind_port
(port)¶Unbind port from this switch ACL
port – Link to port to unbind.
InvalidParameterValueError
rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.
EthernetSwitchACLActionsField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
bind
= <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.BindActionField object>¶unbind
= <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.UnbindActionField object>¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl.
EthernetSwitchACLCollection
(connector, path, redfish_version=None)¶Bases: rsd_lib.base.ResourceCollectionBase
create_acl
()¶Create a new ACL
The location of the acl rule
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.