Gris Ge
9958510f28
bond: add support of queue_id of bond port
...
Introduced `NMSettingBondPort` to hold the new setting class with single
property `NM_SETTING_BOND_PORT_QUEUE_ID`.
For dbus interface, please use `bond-port` as setting name and
`queue-id` as property name.
Unit test cases for ifcfg reader and writer included.
Signed-off-by: Gris Ge <fge@redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=1949127
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/952
2021-08-26 23:04:31 +02:00
Thomas Haller
4e109bacab
clang-format: use "IndentPPDirectives:None" instead of "BeforeHash"
...
Subjectively, I think this looks better.
2021-07-09 08:49:06 +02:00
Thomas Haller
b7a7cc1b13
libnm: add nm_meta_setting_types_by_priority array for sorting settings
...
nm_meta_setting_infos is a list of all NMMetaSettingInfo, sorted by name.
Add nm_meta_setting_types_by_priority which provides a mapping with a
different sort order (first by priority). We need that sometimes.
2021-06-17 17:48:08 +02:00
Thomas Haller
1a5a4838f1
libnm: pack NMMetaSettingType enum
...
We keep the enum around in memory, so let's make it smaller/packed.
2021-06-17 17:48:08 +02:00
Thomas Haller
54976f23cd
build: move "clients/common/" to "src/libnmc-{base,setting}/"
2021-03-02 08:38:25 +01:00