22class NETWORKMANAGERQT_EXPORT DcbSetting :
public Setting
34 Q_DECLARE_FLAGS(DcbFlags, DcbFlagType)
37 explicit DcbSetting(
const Ptr &other);
38 ~DcbSetting()
override;
42 void setAppFcoeMode(
const QString &mode);
45 void setAppFcoePriority(qint32 priority);
46 qint32 appFcoePriority()
const;
48 void setAppFipPriority(qint32 priority);
49 qint32 appFipPriority()
const;
51 void setAppIscsiPriority(qint32 priority);
52 qint32 appIscsiPriority()
const;
54 void setAppFcoeFlags(DcbFlags flags);
55 DcbFlags appFcoeFlags()
const;
57 void setAppFipFlags(DcbFlags flags);
58 DcbFlags appFipFlags()
const;
60 void setAppIscsiFlags(DcbFlags flags);
61 DcbFlags appIscsiFlags()
const;
63 void setPriorityGroupFlags(DcbFlags flags);
64 DcbFlags priorityGroupFlags()
const;
66 void setPriorityFlowControlFlags(DcbFlags flags);
67 DcbFlags priorityFlowControlFlags()
const;
69 void setPriorityFlowControl(quint32 userPriority,
bool enabled);
70 bool priorityFlowControl(quint32 userPriority)
const;
71 void setPriorityFlowControl(
const UIntList &list);
72 UIntList priorityFlowControl()
const;
74 void setPriorityBandwidth(quint32 userPriority, quint32 bandwidthPercent);
75 quint32 priorityBandwidth(quint32 userPriority)
const;
76 void setPriorityBandwidth(
const UIntList &list);
77 UIntList priorityBandwidth()
const;
79 void setPriorityGroupBandwidth(quint32 groupId, quint32 bandwidthPercent);
80 quint32 priorityGroupBandwidth(quint32 groupId)
const;
81 void setPriorityGroupBandwidth(
const UIntList &list);
82 UIntList priorityGroupBandwidth()
const;
84 void setPriorityGroupId(quint32 userPriority, quint32 groupId);
85 quint32 priorityGroupId(quint32 userPriority)
const;
86 void setPriorityGroupId(
const UIntList &list);
87 UIntList priorityGroupId()
const;
89 void setPriorityStrictBandwidth(quint32 userPriority,
bool strict);
90 bool priorityStrictBandwidth(quint32 userPriority)
const;
91 void setPriorityStrictBandwidth(
const UIntList &list);
92 UIntList priorityStrictBandwidth()
const;
94 void setPriorityTrafficClass(quint32 userPriority, quint32 trafficClass);
95 quint32 priorityTrafficClass(quint32 userPriority)
const;
96 void setPriorityTrafficClass(
const UIntList &list);
97 UIntList priorityTrafficClass()
const;
99 void fromMap(
const QVariantMap &setting)
override;
101 QVariantMap
toMap()
const override;
104 DcbSettingPrivate *d_ptr;
107 Q_DECLARE_PRIVATE(DcbSetting)