Commit Graph

6 Commits

Author SHA1 Message Date
mukesh agrawal
df23c6db56 mod_for_test_scripts: add backchannel interface support for shill
To use a backchannel interface, we need to configure the connection
manager to ignore that interface. shill uses a different syntax
for that command-line option, because base's command-line parser
doesn't support the option syntax flimflam uses.

This CL adds code to rewrite the part of flimflam.conf that holds
shill's configuration options.

CQ-DEPEND=Ic2fdf49ec454995bf9378299e64378f957b9f26c
BUG=chromium-os:23531
TEST=manual (see below)

Manual testing: ran flimflam and shill on test images. Verified
that the connection manager ran with the appropriate command line
flags in both cases.

Change-Id: I57481387e207bf1ad5138a9fce9921539eed080f
Reviewed-on: https://gerrit.chromium.org/gerrit/19712
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
2012-04-06 17:00:20 -07:00
Sam Leffler
71afd1fe1a scripts: adjust to change in flimflam.conf
Update sed cmd to reflect multi-profile changes.

BUG=chromium-os:12948
TEST=run mod_image_for_test; boot and verify flimflam.conf is properly edited

Change-Id: I9f58aabc4c302b1e24737b0fcb15fc2719d120d6
Reviewed-on: http://gerrit.chromium.org/gerrit/1198
Tested-by: Sam Leffler <sleffler@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
2011-06-01 11:57:57 -07:00
Nathan Williams
9494671269 Fix up the modification of the flimflam upstart script
to handle changed command line arguments, and attempt
to make it resilient in the face of future changes.

TEST=Run script on fresh image; confirm that '-I eth_test' is present on the exec line of /etc/init/flimflam.conf

Review URL: http://codereview.chromium.org/2842023
2010-06-24 10:15:34 -04:00
Paul Stewart
ed903f64fd s/connman/flimflam/ to match other changes throughout the tree.
Review URL: http://codereview.chromium.org/2731001
2010-06-08 09:49:11 -07:00
Nathan Williams
219bbebef2 Adjust backchannel network setup to require explicit enabling
on the device under test and to use a not-normally-generated interface name, so that use of add-on ethernet devices is not affected in normal operation.

BUG=2962, 2941

(dup of 1810013, git goofiness)

Review URL: http://codereview.chromium.org/1826003
2010-04-30 19:24:02 -04:00
Nathan Williams
80cd0ca349 Set up for a backchannel Ethernet interface to be used in testing network configuration and connectivity. The second device, typically a USB Ethernet adapter, will not be managed by connman or visible to the UI.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/1431003
2010-03-26 17:32:59 -04:00