NM.SettingDcb¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w |
|||
r/w |
|||
r/w/en |
|||
r/w |
|||
r/w/en |
|||
r/w |
|||
r/w |
|||
r/w |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingDcb(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Data Center Bridging Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingDcbobject- Return type:
Creates a new
NM.SettingDcbobject with default values.
- get_app_fcoe_flags()¶
- Returns:
the
NM.SettingDcb:app-fcoe-flagsproperty of the setting- Return type:
- get_app_fcoe_mode()¶
- Returns:
the
NM.SettingDcb:app-fcoe-modeproperty of the setting- Return type:
- get_app_fcoe_priority()¶
- Returns:
the
NM.SettingDcb:app-fcoe-priorityproperty of the setting- Return type:
- get_app_fip_flags()¶
- Returns:
the
NM.SettingDcb:app-fip-flagsproperty of the setting- Return type:
- get_app_fip_priority()¶
- Returns:
the
NM.SettingDcb:app-fip-priorityproperty of the setting- Return type:
- get_app_iscsi_flags()¶
- Returns:
the
NM.SettingDcb:app-iscsi-flagsproperty of the setting- Return type:
- get_app_iscsi_priority()¶
- Returns:
the
NM.SettingDcb:app-iscsi-priorityproperty of the setting- Return type:
- get_priority_bandwidth(user_priority)¶
- Parameters:
user_priority (
int) – the User Priority (0 - 7) to retrieve the group bandwidth percentage for- Returns:
the allowed bandwidth percentage of user_priority in its priority group. These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.- Return type:
- get_priority_flow_control(user_priority)¶
- get_priority_flow_control_flags()¶
- Returns:
the
NM.SettingDcb:priority-flow-control-flagsproperty of the setting- Return type:
- get_priority_group_bandwidth(group_id)¶
- Parameters:
group_id (
int) – the priority group (0 - 7) to retrieve the bandwidth percentage for- Returns:
the bandwidth percentage assigned to group_id. These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.- Return type:
- get_priority_group_flags()¶
- Returns:
the
NM.SettingDcb:priority-group-flagsproperty of the setting- Return type:
- get_priority_group_id(user_priority)¶
- Parameters:
user_priority (
int) – the User Priority (0 - 7) to retrieve the group ID for- Returns:
the group number user_priority is assigned to. These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.- Return type:
- get_priority_strict_bandwidth(user_priority)¶
- Parameters:
user_priority (
int) – the User Priority (0 - 7) to retrieve strict bandwidth for- Returns:
Trueif user_priority may use all of the bandwidth allocated to its assigned group, orFalseif not. These values are only valid whenNM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.- Return type:
- get_priority_traffic_class(user_priority)¶
- Parameters:
user_priority (
int) – the User Priority (0 - 7) to retrieve the traffic class for- Returns:
the traffic class assigned to user_priority. These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.- Return type:
- set_priority_bandwidth(user_priority, bandwidth_percent)¶
- Parameters:
These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.
- set_priority_flow_control(user_priority, enabled)¶
- Parameters:
These values are only valid when
NM.SettingDcb:priority-flow-controlincludes theNM.SettingDcbFlags.ENABLEflag.
- set_priority_group_bandwidth(group_id, bandwidth_percent)¶
- Parameters:
These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.
- set_priority_group_id(user_priority, group_id)¶
- Parameters:
These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.
- set_priority_strict_bandwidth(user_priority, strict)¶
- Parameters:
These values are only valid when
NM.SettingDcb:priority-group-flagsincludes theNM.SettingDcbFlags.ENABLEflag.
Property Details¶
- NM.SettingDcb.props.app_fcoe_flags¶
- Name:
app-fcoe-flags- Type:
- Default Value:
- Flags:
Specifies the
NM.SettingDcbFlagsfor the DCB FCoE application. Flags may be any combination ofNM.SettingDcbFlags.ENABLE,NM.SettingDcbFlags.ADVERTISE, andNM.SettingDcbFlags.WILLING.
- NM.SettingDcb.props.app_fcoe_mode¶
- Name:
app-fcoe-mode- Type:
- Default Value:
- Flags:
The FCoE controller mode; either
NM.SETTING_DCB_FCOE_MODE_FABRICorNM.SETTING_DCB_FCOE_MODE_VN2VN.Since 1.34,
Noneis the default and meansNM.SETTING_DCB_FCOE_MODE_FABRIC. Before 1.34,Nonewas rejected as invalid and the default wasNM.SETTING_DCB_FCOE_MODE_FABRIC.
- NM.SettingDcb.props.app_fcoe_priority¶
- Name:
app-fcoe-priority- Type:
- Default Value:
-1- Flags:
The highest User Priority (0 - 7) which FCoE frames should use, or -1 for default priority. Only used when the
NM.SettingDcb:app-fcoe-flagsproperty includes theNM.SettingDcbFlags.ENABLEflag.
- NM.SettingDcb.props.app_fip_flags¶
- Name:
app-fip-flags- Type:
- Default Value:
- Flags:
Specifies the
NM.SettingDcbFlagsfor the DCB FIP application. Flags may be any combination ofNM.SettingDcbFlags.ENABLE,NM.SettingDcbFlags.ADVERTISE, andNM.SettingDcbFlags.WILLING.
- NM.SettingDcb.props.app_fip_priority¶
- Name:
app-fip-priority- Type:
- Default Value:
-1- Flags:
The highest User Priority (0 - 7) which FIP frames should use, or -1 for default priority. Only used when the
NM.SettingDcb:app-fip-flagsproperty includes theNM.SettingDcbFlags.ENABLEflag.
- NM.SettingDcb.props.app_iscsi_flags¶
- Name:
app-iscsi-flags- Type:
- Default Value:
- Flags:
Specifies the
NM.SettingDcbFlagsfor the DCB iSCSI application. Flags may be any combination ofNM.SettingDcbFlags.ENABLE,NM.SettingDcbFlags.ADVERTISE, andNM.SettingDcbFlags.WILLING.
- NM.SettingDcb.props.app_iscsi_priority¶
- Name:
app-iscsi-priority- Type:
- Default Value:
-1- Flags:
The highest User Priority (0 - 7) which iSCSI frames should use, or -1 for default priority. Only used when the
NM.SettingDcb:app-iscsi-flagsproperty includes theNM.SettingDcbFlags.ENABLEflag.
- NM.SettingDcb.props.priority_bandwidth¶
- Name:
priority-bandwidth- Type:
- Default Value:
- Flags:
An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the percentage of bandwidth of the priority’s assigned group that the priority may use. The sum of all percentages for priorities which belong to the same group must total 100 percents.
- NM.SettingDcb.props.priority_flow_control¶
- Name:
priority-flow-control- Type:
- Default Value:
- Flags:
An array of 8 boolean values, where the array index corresponds to the User Priority (0 - 7) and the value indicates whether or not the corresponding priority should transmit priority pause.
- NM.SettingDcb.props.priority_flow_control_flags¶
- Name:
priority-flow-control-flags- Type:
- Default Value:
- Flags:
Specifies the
NM.SettingDcbFlagsfor DCB Priority Flow Control (PFC). Flags may be any combination ofNM.SettingDcbFlags.ENABLE,NM.SettingDcbFlags.ADVERTISE, andNM.SettingDcbFlags.WILLING.
- NM.SettingDcb.props.priority_group_bandwidth¶
- Name:
priority-group-bandwidth- Type:
- Default Value:
- Flags:
An array of 8 uint values, where the array index corresponds to the Priority Group ID (0 - 7) and the value indicates the percentage of link bandwidth allocated to that group. Allowed values are 0 - 100, and the sum of all values must total 100 percents.
- NM.SettingDcb.props.priority_group_flags¶
- Name:
priority-group-flags- Type:
- Default Value:
- Flags:
Specifies the
NM.SettingDcbFlagsfor DCB Priority Groups. Flags may be any combination ofNM.SettingDcbFlags.ENABLE,NM.SettingDcbFlags.ADVERTISE, andNM.SettingDcbFlags.WILLING.
- NM.SettingDcb.props.priority_group_id¶
- Name:
priority-group-id- Type:
- Default Value:
- Flags:
An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the Priority Group ID. Allowed Priority Group ID values are 0 - 7 or 15 for the unrestricted group.
- NM.SettingDcb.props.priority_strict_bandwidth¶
- Name:
priority-strict-bandwidth- Type:
- Default Value:
- Flags:
An array of 8 boolean values, where the array index corresponds to the User Priority (0 - 7) and the value indicates whether or not the priority may use all of the bandwidth allocated to its assigned group.
- NM.SettingDcb.props.priority_traffic_class¶
- Name:
priority-traffic-class- Type:
- Default Value:
- Flags:
An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the traffic class (0 - 7) to which the priority is mapped.