NetworkManager/src/tests
Dan Williams 18fd3e45d8 dcb: separate DCB enable/disable and wait for carrier changes (rh #799241) (rh #1081991)
Non-git-master versions of lldpad refuse to touch a device that doesn't
have a carrier.  And when enabling/disabling DCB, the kernel driver will
reconfigure itself and may turn carrier off for a few seconds.  So we
must ensure that before enabling/disabling DCB, the carrier is already
on.  Next we must ensure that *after* enabling/disabling DCB, the
carrier is back on before doing further DCB setup.

There's a race condition between enabling/disabling DCB and receiving
the carrier event in NetworkManager that has to be handled carefully.
Because the carrier may not yet be down after the dcbtool call to
enable/disable DCB returns, we need to wait for a couple seconds for
the carrier to go down, and then again for it to come back up.
Otherwise we might see the still-on carrier, proceed with DCB setup,
and the carrier finally goes down halfway through the setup, which
will fail the operations with "DCB not enabled, link down, or DCB
not supported" errors from lldpad.
2014-04-02 09:37:15 -05:00
..
Makefile.am libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
test-dcb.c dcb: separate DCB enable/disable and wait for carrier changes (rh #799241) (rh #1081991) 2014-04-02 09:37:15 -05:00
test-dhcp-options.c platform/core: add back support for PtP/peer addresses (rh #1018317) 2013-12-02 15:00:28 -05:00
test-general.c core: improve ifname matching of existing x generated connections (rh #1077743) 2014-03-21 09:24:13 +01:00
test-ip4-config.c core/platform: add address/route sources (rh#1005416, bgo#722843) 2014-01-24 09:42:52 -06:00
test-ip6-config.c core/platform: add address/route sources (rh#1005416, bgo#722843) 2014-01-24 09:42:52 -06:00
test-policy-hosts.c tests: clean up gtester usage 2013-02-26 13:07:33 +01:00
test-resolvconf-capture.c core: capture DNS configuration from resolv.conf when generating connections 2013-11-22 15:01:10 -06:00
test-secret-agent.py use /usr/bin/env instead of /bin/env 2011-03-29 01:00:47 +02:00
test-wifi-ap-utils.c core: remove 'wep40' and 'wep104' from several places in NM 2013-09-18 12:07:29 +02:00