SettingDcb
Object Hierarchy:
Description:
Data Center Bridging Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string APP_FCOE_FLAGS
- public const string APP_FCOE_MODE
- public const string APP_FCOE_PRIORITY
- public const string APP_FIP_FLAGS
- public const string APP_FIP_PRIORITY
- public const string APP_ISCSI_FLAGS
- public const string APP_ISCSI_PRIORITY
- public const string FCOE_MODE_FABRIC
Indicates that the FCoE controller should use "fabric" mode (default)
- public const string FCOE_MODE_VN2VN
Indicates that the FCoE controller should use "VN2VN" mode.
- public const string PRIORITY_BANDWIDTH
- public const string PRIORITY_FLOW_CONTROL
- public const string PRIORITY_FLOW_CONTROL_FLAGS
- public const string PRIORITY_GROUP_BANDWIDTH
- public const string PRIORITY_GROUP_FLAGS
- public const string PRIORITY_GROUP_ID
- public const string PRIORITY_STRICT_BANDWIDTH
- public const string PRIORITY_TRAFFIC_CLASS
- public const string SETTING_NAME
Properties:
- public SettingDcbFlags app_fcoe_flags { get; set; }
Specifies the SettingDcbFlags for the DCB FCoE application.
- public string app_fcoe_mode { owned get; set; }
The FCoE controller mode; either nm_setting_dcb_fcoe_mode_fabric or nm_setting_dcb_fcoe_mode_vn2vn.
- public int app_fcoe_priority { get; set; }
The highest User Priority (0 - 7) which FCoE frames should use, or -1 for default priority.
- public SettingDcbFlags app_fip_flags { get; set; }
Specifies the SettingDcbFlags for the DCB FIP application.
- public int app_fip_priority { get; set; }
The highest User Priority (0 - 7) which FIP frames should use, or -1 for default priority.
- public SettingDcbFlags app_iscsi_flags { get; set; }
Specifies the SettingDcbFlags for the DCB iSCSI application.
- public int app_iscsi_priority { get; set; }
The highest User Priority (0 - 7) which iSCSI frames should use, or -1 for default priority.
- public Array<uint> priority_bandwidth { owned get; set; }
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.
- public Array<bool> priority_flow_control { owned get; set; }
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.
- public SettingDcbFlags priority_flow_control_flags { get; set; }
Specifies the SettingDcbFlags for DCB Priority Flow Control (PFC).
- public Array<uint> priority_group_bandwidth { owned get; set; }
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.
- public SettingDcbFlags priority_group_flags { get; set; }
Specifies the SettingDcbFlags for DCB Priority Groups.
- public Array<uint> priority_group_id { owned get; set; }
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.
- public Array<bool> priority_strict_bandwidth { owned get; set; }
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.
- public Array<uint> priority_traffic_class { owned get; set; }
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.
Creation methods:
- public SettingDcb ()
Creates a new SettingDcb object with default values.
Methods:
- public SettingDcbFlags get_app_fcoe_flags ()
- public unowned string get_app_fcoe_mode ()
- public int get_app_fcoe_priority ()
- public SettingDcbFlags get_app_fip_flags ()
- public int get_app_fip_priority ()
- public SettingDcbFlags get_app_iscsi_flags ()
- public int get_app_iscsi_priority ()
- public uint get_priority_bandwidth (uint user_priority)
- public bool get_priority_flow_control (uint user_priority)
- public SettingDcbFlags get_priority_flow_control_flags ()
- public uint get_priority_group_bandwidth (uint group_id)
- public SettingDcbFlags get_priority_group_flags ()
- public uint get_priority_group_id (uint user_priority)
- public bool get_priority_strict_bandwidth (uint user_priority)
- public uint get_priority_traffic_class (uint user_priority)
- public void set_priority_bandwidth (uint user_priority, uint bandwidth_percent)
These values are only valid when priority_group_flags includes the nm_setting_dcb_flag_enable flag.
- public void set_priority_flow_control (uint user_priority, bool enabled)
These values are only valid when priority_flow_control includes the nm_setting_dcb_flag_enable flag.
- public void set_priority_group_bandwidth (uint group_id, uint bandwidth_percent)
These values are only valid when priority_group_flags includes the nm_setting_dcb_flag_enable flag.
- public void set_priority_group_id (uint user_priority, uint group_id)
These values are only valid when priority_group_flags includes the nm_setting_dcb_flag_enable flag.
- public void set_priority_strict_bandwidth (uint user_priority, bool strict)
These values are only valid when priority_group_flags includes the nm_setting_dcb_flag_enable flag.
- public void set_priority_traffic_class (uint user_priority, uint traffic_class)
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object