rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule Module¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.ConditionTypeField(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
ip_destination = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.IPConditionTypeField object>¶ip_source = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.IPConditionTypeField object>¶l4_destination_port = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.PortConditionTypeField object>¶l4_protocol = <sushy.resources.base.Field object>¶l4_source_port = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.PortConditionTypeField object>¶mac_destination = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.MACConditionTypeField object>¶mac_source = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.MACConditionTypeField object>¶vlan_id = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.VlanIdConditionTypeField object>¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.EthernetSwitchACLRule(connector, path='', redfish_version=None, registries=None, reader=None)¶Bases: rsd_lib.base.ResourceBase
EthernetSwitchACLRule resource class
A Ethernet Switch ACL Rule represents Access Control List rule for switch.
action = <sushy.resources.base.Field object>¶Action that will be executed when rule condition will be met.s
condition = <rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.ConditionTypeField object>¶Property contain set of conditions that should be met to trigger Rule action.
forward_mirror_interface¶Property to provide reference to EthernetSwitchPort instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
mirror_port_region¶Property to provide a list of EthernetSwitchPort instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
mirror_type = <sushy.resources.base.Field object>¶Type of mirroring that should be use for Mirror action.
rule_id = <sushy.resources.base.Field object>¶This is ACL rule ID which determine rule priority.
update(data=None)¶Update a new ACL rule
data – JSON for acl_rule
rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.EthernetSwitchACLRuleCollection(connector, path, redfish_version=None, registries=None)¶Bases: rsd_lib.base.ResourceCollectionBase
create_acl_rule(acl_rule_req)¶Create a new ACL rule
acl_rule – JSON for acl_rule
The location of the acl rule
rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.IPConditionTypeField(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
ipv4_address = <sushy.resources.base.Field object>¶mask = <sushy.resources.base.Field object>¶rsd_lib.resources.v2_1.ethernet_switch.ethernet_switch_acl_rule.MACConditionTypeField(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
mac_address = <sushy.resources.base.Field object>¶mask = <sushy.resources.base.Field object>¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.