rsd_lib.resources.v2_1.ethernet_switch.port
Module¶rsd_lib.resources.v2_1.ethernet_switch.port.
IPv4AddressesField
(*args, **kwargs)¶Bases: sushy.resources.base.ListField
address
= <sushy.resources.base.Field object>¶The port ipv4 address
address_origin
= <sushy.resources.base.Field object>¶The port ipv4 address origin
gateway
= <sushy.resources.base.Field object>¶The port ipv4 address gateway
subnet_mask
= <sushy.resources.base.Field object>¶The port ipv4 address subnet mask
rsd_lib.resources.v2_1.ethernet_switch.port.
IPv6AddressesField
(*args, **kwargs)¶Bases: sushy.resources.base.ListField
address
= <sushy.resources.base.Field object>¶The port ipv6 address
address_origin
= <sushy.resources.base.Field object>¶The port ipv6 address origin
address_state
= <sushy.resources.base.Field object>¶The port ipv6 address gateway
prefix_length
= <sushy.resources.base.Field object>¶The port ipv6 address prefix length
rsd_lib.resources.v2_1.ethernet_switch.port.
LinksField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
active_acls
= <sushy.resources.base.Field object>¶member_of_port
= <sushy.resources.base.Field object>¶port_members
= <sushy.resources.base.Field object>¶primary_vlan
= <sushy.resources.base.Field object>¶switch
= <sushy.resources.base.Field object>¶rsd_lib.resources.v2_1.ethernet_switch.port.
NeighborInfoField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
cable_id
= <sushy.resources.base.Field object>¶port_id
= <sushy.resources.base.Field object>¶switch_id
= <sushy.resources.base.Field object>¶rsd_lib.resources.v2_1.ethernet_switch.port.
Port
(connector, identity, redfish_version=None)¶Bases: sushy.resources.base.ResourceBase
administrative_state
= <sushy.resources.base.Field object>¶The port administrative state
autosense
= <sushy.resources.base.Field object>¶The boolean indicate the autosense is enabled or not
description
= <sushy.resources.base.Field object>¶The port description
frame_size
= <sushy.resources.base.Field object>¶The port frame size
full_duplex
= <sushy.resources.base.Field object>¶The boolean indicate the full duplex is enabled or not
identity
= <sushy.resources.base.Field object>¶The port identity string
ipv4_addresses
= <rsd_lib.resources.v2_1.ethernet_switch.port.IPv4AddressesField object>¶The port ipv4 link info
ipv6_addresses
= <rsd_lib.resources.v2_1.ethernet_switch.port.IPv6AddressesField object>¶The port ipv6 link info
link_speed_mbps
= <sushy.resources.base.Field object>¶The port link speed(mbps)
link_type
= <sushy.resources.base.Field object>¶The port link type
links
= <rsd_lib.resources.v2_1.ethernet_switch.port.LinksField object>¶The port links
mac_address
= <sushy.resources.base.Field object>¶The port mac address
name
= <sushy.resources.base.Field object>¶The port name
neighbor_info
= <rsd_lib.resources.v2_1.ethernet_switch.port.NeighborInfoField object>¶The port neighbor info
neighbor_mac
= <sushy.resources.base.Field object>¶The port neighbor mac
operational_state
= <sushy.resources.base.Field object>¶The port operational state
port_class
= <sushy.resources.base.Field object>¶The port class
port_id
= <sushy.resources.base.Field object>¶The port id
port_mode
= <sushy.resources.base.Field object>¶The port mode
port_type
= <sushy.resources.base.Field object>¶The port type
static_macs
¶Property to provide reference to StaticMACollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
status
= <rsd_lib.common.StatusField object>¶The port status
vlans
¶Property to provide reference to VLANCollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
rsd_lib.resources.v2_1.ethernet_switch.port.
PortCollection
(connector, path, redfish_version=None)¶Bases: sushy.resources.base.ResourceCollectionBase
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.