pub struct Port {Show 43 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub actions: Option<Actions>,
pub active_width: Option<i64>,
pub cxl: Option<CXL>,
pub capable_protocol_versions: Option<Vec<String>>,
pub current_protocol_version: Option<String>,
pub current_speed_gbps: Option<f64>,
pub description: Option<Description>,
pub enabled: Option<bool>,
pub environment_metrics: Option<IdRef>,
pub ethernet: Option<EthernetProperties>,
pub fibre_channel: Option<FibreChannelProperties>,
pub function_max_bandwidth: Option<Vec<FunctionMaxBandwidth>>,
pub function_min_bandwidth: Option<Vec<FunctionMinBandwidth>>,
pub gen_z: Option<GenZ>,
pub id: Id,
pub infini_band: Option<InfiniBandProperties>,
pub interface_enabled: Option<bool>,
pub link_configuration: Option<Vec<LinkConfiguration>>,
pub link_network_technology: Option<LinkNetworkTechnology>,
pub link_state: Option<LinkState>,
pub link_status: Option<LinkStatus>,
pub link_transition_indicator: Option<i64>,
pub links: Option<Links>,
pub location: Option<Location>,
pub location_indicator_active: Option<bool>,
pub max_frame_size: Option<i64>,
pub max_speed_gbps: Option<f64>,
pub metrics: Option<IdRef>,
pub name: Name,
pub oem: Option<Oem>,
pub port_id: Option<String>,
pub port_medium: Option<PortMedium>,
pub port_protocol: Option<Protocol>,
pub port_type: Option<PortType>,
pub remote_port_id: Option<String>,
pub sfp: Option<SFP>,
pub signal_detected: Option<bool>,
pub status: Option<Status>,
pub width: Option<i64>,
}
Expand description
The Port schema contains properties that describe a port of a switch, controller, chassis, or any other device that could be connected to another entity.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: Type
§actions: Option<Actions>
§active_width: Option<i64>
The number of active lanes for this interface.
cxl: Option<CXL>
§capable_protocol_versions: Option<Vec<String>>
The protocol versions capable of being sent over this port.
current_protocol_version: Option<String>
The protocol version being sent over this port.
current_speed_gbps: Option<f64>
The current speed of this port.
description: Option<Description>
§enabled: Option<bool>
An indication of whether this port is enabled.
environment_metrics: Option<IdRef>
§ethernet: Option<EthernetProperties>
§fibre_channel: Option<FibreChannelProperties>
§function_max_bandwidth: Option<Vec<FunctionMaxBandwidth>>
An array of maximum bandwidth allocation percentages for the functions associated with this port.
function_min_bandwidth: Option<Vec<FunctionMinBandwidth>>
An array of minimum bandwidth allocation percentages for the functions associated with this port.
gen_z: Option<GenZ>
§id: Id
§infini_band: Option<InfiniBandProperties>
§interface_enabled: Option<bool>
An indication of whether the interface is enabled.
link_configuration: Option<Vec<LinkConfiguration>>
The link configuration of this port.
link_network_technology: Option<LinkNetworkTechnology>
§link_state: Option<LinkState>
§link_status: Option<LinkStatus>
§link_transition_indicator: Option<i64>
The number of link state transitions for this interface.
links: Option<Links>
§location: Option<Location>
§location_indicator_active: Option<bool>
An indicator allowing an operator to physically locate this resource.
max_frame_size: Option<i64>
The maximum frame size supported by the port.
max_speed_gbps: Option<f64>
The maximum speed of this port as currently configured.
metrics: Option<IdRef>
§name: Name
§oem: Option<Oem>
§port_id: Option<String>
The label of this port on the physical package for this port.
port_medium: Option<PortMedium>
§port_protocol: Option<Protocol>
§port_type: Option<PortType>
§remote_port_id: Option<String>
The identifier of the remote port to which this port is connected.
sfp: Option<SFP>
§signal_detected: Option<bool>
An indication of whether a signal is detected on this interface.
status: Option<Status>
§width: Option<i64>
The number of lanes, phys, or other physical transport links that this port contains.