GNOME Bugzilla – Bug 755610
Export S390Subchannels property on Device.Wired and use that in libnm
Last modified: 2015-09-29 08:00:51 UTC
S390Subchannels is not exported on D-Bus. Let's export the property and add it to libnm:NMDeviceEthernet too.
The code is in branch jk/device-s390-subchannels.
LGTM
hold on, it breaks: make check -C libnm-glib/
(In reply to Thomas Haller from comment #3) > hold on, it breaks: > > make check -C libnm-glib/ Fixed, branch re-pushed.
> libnm: match s390 subchannels and MAC blacklist in connection_compatible() A device can have either 2 or 3 subchannels, so I think we need to compare the # of channels in match_subchans() too. Right now if the connection has 2 but the device has 3, it could match. Should probably have a testcase for that too. IIRC ctc uses only 2 but qeth uses 3.
(In reply to Dan Williams from comment #5) > > libnm: match s390 subchannels and MAC blacklist in connection_compatible() > > A device can have either 2 or 3 subchannels, so I think we need to compare > the # of channels in match_subchans() too. Right now if the connection has > 2 but the device has 3, it could match. Should probably have a testcase for > that too. > Done both in libnm and core, testcase added. Committed to master: edec77f merge: S390 subchannels improvements (bgo #755610) 82e4364 tests: add a test for connection_compatible() for wired devices e7ed259 cli: print s390 subchannels for devices that have that 9abe74d libnm: match s390 subchannels and MAC blacklist in connection_compatible() bbaca1b libnm: add 390-subchannels property to NMDeviceEthernet 4219aa9 device: export S390Subchannels property on Ethernet device