History log of /external/autotest/cli/host.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a40d1279a721910a730ff463373ee81cab199897 16-Nov-2017 Aviv Keshet <akeshet@chromium.org> autotest: include host id in `atest host stat` output

Because it is useful.

BUG=None
TEST=atest host stat <some host> -> worked, saw id

Change-Id: I03e52791833b480d8935fe2f845ca5ebcb8d13fd
Reviewed-on: https://chromium-review.googlesource.com/774359
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/cli/host.py
d252d26af8704f5653eafc668f0f6e3ddc033df1 31-May-2017 Prathmesh Prabhu <pprabhu@chromium.org> [autotest] Populate HostInfoStore from cli/host.py

This CLI module creates a fake host object when creating a new host.
Populate a HostInfoStore for the flow.

BUG=chromium:678430
TEST=(1) moblab_SmokeSuite passes
CQ-DEPEND=CL:517771

Change-Id: I25542d8ce26a2e19abd52a3a0aaff6b9df003391
Reviewed-on: https://chromium-review.googlesource.com/519569
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/cli/host.py
2c32d6b593c4987a525ef162d6704fa6d6d7c0b0 04-Feb-2017 Allen Li <ayatane@chromium.org> [autotest] Merge client/bin/site_utils

BUG=chromium:672727
TEST=None

Change-Id: I03a05a3ae3163437109010106ad988ff101a3998
Reviewed-on: https://chromium-review.googlesource.com/437589
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
/external/autotest/cli/host.py
d6011f1c77541a16c6c84e1fe5628c5a22e1c6e0 09-Dec-2016 xixuan <xixuan@chromium.org> autotest: close tunnel when using atest creating host.

This CL calls cleanup stuff after creating a host with atest.

Also fixes pylint warnings and errors.

BUG=chromium:659799
TEST=Ran atest create host locally and verified tunnel is closed.
Close a host twice in atest create & Schedule a job on a host with local
autotest to verify this CL.

Change-Id: Ieb1e90b83c338d9ae848bbe9b1cf30bd854612cf
Reviewed-on: https://chromium-review.googlesource.com/418165
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/cli/host.py
5208eaac79f67826fb546d3c3516d6b04e467e3e 03-Jul-2016 Justin Giorgi <jgiorgi@google.com> [autotest] Added per-host ssh parameters.

Parameters are stored as host attributes ssh_user, ssh_port,
ssh_verbosity_flag and ssh_options. Password is intentionally not stored. The
verbosity flag and options are only used by CrosHost.

No modifications necessary to ssh host objects because they already
receive and utilize the parameters. Only modified factory to pull
arguments from attributes before using existing defaults. Testbed and ADBHost
were modified to pass the arguments through.

Also fixed typo in factory and added tests.

Modified atest host create to pass simulated afe_host so that detection
of parameters by host attributes works even before the attributes are in
afe.

BUG=chromium:620196
TEST=Unit tests of changes to factory, confirmed manually locally and on
moblab.

Change-Id: I61ff857edf28b973d8241a275456219782f2ff03
Reviewed-on: https://chromium-review.googlesource.com/353040
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Justin Giorgi <jgiorgi@google.com>
Reviewed-by: Justin Giorgi <jgiorgi@google.com>
/external/autotest/cli/host.py
9261f9f6076df5ad0588553f65a40d0406e9881b 12-Jul-2016 Justin Giorgi <jgiorgi@google.com> [autotest] Improved atest attribute matching.

Commas in values no longer need to be escaped. Multiple attributes are
now passed by repeating the argument ie: -i foo=bar -i baz=zip,bang

BUG=chromium:627284
TEST=Added unit test.

Change-Id: I9c975dc451fba19536804b853fcb25fd00b8f716
Reviewed-on: https://chromium-review.googlesource.com/359953
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Justin Giorgi <jgiorgi@google.com>
Reviewed-by: Simran Basi <sbasi@chromium.org>
/external/autotest/cli/host.py
6f47a2d79bfd7eaa95b109e70eecc2f2323c5236 29-Jun-2016 Kevin Cheng <kevcheng@chromium.org> [autotest] Scrub out backslashes in host attributes.

A user can use a ',' in the val portion of the host attribute but
they'll need to escape it with two backslashes '\\'. However when the
attribute gets stored, a backslash will be part of the val so if a user
did the following:

# atest host mod -i key=val\\,val2\\,val3

The host attribute stored will look like:

key: val\,val2\,val3

This just scrubs out the backslashes in the value.

BUG=None
TEST=Check that host can add/mod attributes with '\\,' in the val and
doesn't keep the '\\'. Added unit test.

Change-Id: I5f4d7612d5cde51a5bcdaa9261594f86ac15a6be
Reviewed-on: https://chromium-review.googlesource.com/356772
Commit-Ready: Kevin Cheng <kevcheng@chromium.org>
Tested-by: Kevin Cheng <kevcheng@chromium.org>
Reviewed-by: Kevin Cheng <kevcheng@chromium.org>
/external/autotest/cli/host.py
16bba56968e78f167f8fe69439dc684f28f1a57f 22-Jun-2016 Justin Giorgi <jgiorgi@google.com> Cleaned up host mod and host create logic.

Merged site_host.py into host.py. Created base class for shared logic
between mod and create actions. Also merged tests to run the same test
cases against both actions.

CQ-DEPEND=CL:354552

BUG=None
TEST=Unit tests verified locally.

Change-Id: If14786ef5f58a415406efd7a2f24b96ca3ea1a74
Reviewed-on: https://chromium-review.googlesource.com/355733
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Justin Giorgi <jgiorgi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
/external/autotest/cli/host.py
619901b378f775f7a208b554952f784a856c58fb 28-Mar-2016 Aviv Keshet <akeshet@chromium.org> [autotest] atest host: add 'locked_by' to result output

Adding this makes it more convenient to audit if we have devices that
are unnecessarily locked.

BUG=None
TEST=./cli/atest host list --locked

Change-Id: I8cea33ba1626bdd50c3388b1dd850afe3a4e9682
Reviewed-on: https://chromium-review.googlesource.com/335581
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/cli/host.py
4c0d2904152d2c8f3fc748f53cd9fd26f6aeab5d 13-Jan-2016 Shuqian Zhao <shuqianz@chromium.org> [autotest] Forcefully modify host locking status via cli

When host locking status is inconsistent between masterDB and shardDB for some
unknown rpc reasons, we may need to forcefully lock the host both in
masterDB and shardDB gaurantee the lab reliability.

BUG=chromium:568193
TEST=Test locally. Test in puppetlab to lock an already locked host and
unlock an already unlocked host.

Change-Id: I83f53da0a2e76dedfc8e58deb609073efec5f369
Reviewed-on: https://chromium-review.googlesource.com/321792
Commit-Ready: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/cli/host.py
3a4a57a7704ab15136286628f465dbb2d1a56171 30-Sep-2015 Kevin Cheng <kevcheng@chromium.org> [autotest] Add serial flag for adb_host support in cli/atest.

User should be able to specify serials to pass to adb_host and
the board label will be autodetected and the serial will be
added as a host attribute. Currently only works only for 1
serial, a later cl will enable multiple serials.

Also refactored the label decorator logic into site_utils
and remote.RemoteHost.

BUG=chromium:535352
TEST=manually added hosts using the serial flag using cli/atest
and checking the host was correctly detected on a moblab.

Change-Id: I4c95377eaee4529ea99add4387be6dcf56a529fb
Reviewed-on: https://chromium-review.googlesource.com/303214
Commit-Ready: Kevin Cheng <kevcheng@chromium.org>
Tested-by: Kevin Cheng <kevcheng@chromium.org>
Reviewed-by: Kevin Cheng <kevcheng@chromium.org>
/external/autotest/cli/host.py
6818633834ad52c3de153235639ea9299a6e9a6d 28-Apr-2015 Matthew Sartori <msartori@chromium.org> [autotest] Require lock reason to lock device

When locking a device, a locking reason now must be provided.
This applies to both adding a new device, and modifying an
existing device from both the web frontend and the atest
command-line tool.

BUG=chromium:336805
DEPLOY=migrate
TEST=Tested adding locked/unlocked devices and locking/unlocking devices
from both the web frontend and using the 'atest host ...' command-line tools.

Change-Id: I3a8cd8891a2999f026dd709ae8a79e2b8cbc251a
Reviewed-on: https://chromium-review.googlesource.com/267595
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Matthew Sartori <msartori@chromium.org>
/external/autotest/cli/host.py
0739d68fcbd84d02839a85ce3c594e774e82c602 26-Feb-2015 Simran Basi <sbasi@google.com> Moblab: Servo Support via Host Attributes.

Moblab devices will look for servo_args inside a host's host
attributes.

Host attributes can be set via the CLI or the Web Frontend.

CLI to see attributes:
atest host stat <host>

CLI to set attribute:
atest host mod --attribute <attribute> --value <value> <host>

Updated the afe's management system so that it properly configures
the admin interface to allow editing of host attributes.

BUG=chromium:394544
TEST=local moblab setup. Tested both CLI and AFE host attribute
manipulation. Launched Servod, and ensure servo host is only
created when the attribute is applied to the host.

Change-Id: Ie3cccab31aa7518435ef0abc6ce206363406c272
Reviewed-on: https://chromium-review.googlesource.com/255550
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
/external/autotest/cli/host.py
211c5acb05537a3a0835e60a3c42c12aa5e08e8e 03-Mar-2015 Simran Basi <sbasi@chromium.org> Revert "Moblab: Servo Support via Host Attributes."

This reverts commit 71f190bc31be36311c1c59d762a13a28754d7ea9.

Reverting as the db migration does not work on systems that have not touched the afe at all.

Change-Id: I0c6875ec17f9362b7e646471b6ae5d06c70b770d
Reviewed-on: https://chromium-review.googlesource.com/255350
Reviewed-by: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
/external/autotest/cli/host.py
71f190bc31be36311c1c59d762a13a28754d7ea9 26-Feb-2015 Simran Basi <sbasi@google.com> Moblab: Servo Support via Host Attributes.

Moblab devices will look for servo_args inside a host's host
attributes.

Host attributes can be set via the CLI or the Web Frontend.

CLI to see attributes:
atest host stat <host>

CLI to set attribute:
atest host mod --attribute <attribute> --value <value> <host>

For the Web Frontend, we require a DB change to make the host
attributes panel visible in the admin interface.

BUG=chromium:394544
TEST=local moblab setup. Tested both CLI and AFE host attribute
manipulation. Launched Servod, and ensure servo host is only
created when the attribute is applied to the host.
DEPLOY=migrate

Change-Id: I9fb3e8ab6d386104c7e9ed555eaa110a0ae72b02
Reviewed-on: https://chromium-review.googlesource.com/253760
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
/external/autotest/cli/host.py
a504856da45127af5b28dddc85d68b7817c6e311 12-Dec-2014 Prashanth Balasubramanian <beeps@google.com> [autotest] Get atest to list the shard a host is on.

TEST=Ran atest host list.
BUG=chromium:438858

Change-Id: I0ec46f1d3f8068c0f2144a8a0e5a769cf81a0c96
Reviewed-on: https://chromium-review.googlesource.com/235545
Reviewed-by: Prashanth B <beeps@chromium.org>
Tested-by: Prashanth B <beeps@chromium.org>
Commit-Queue: Prashanth B <beeps@chromium.org>
Trybot-Ready: Prashanth B <beeps@chromium.org>
/external/autotest/cli/host.py
c342f9fb42a17db4e26f8b265b3d094388d54102 20-May-2014 Jiaxi Luo <jiaxiluo@chromium.org> [afe] afe admin add host label auto detection

Add a checkbox when add/edit host from afe admin interface,
which will trigger label auto detection by piping to cli host create.
Add a helper function in host_create to fill in data without parsing
from command line.

TEST=Compared adding hosts through afe and cli, ran host_unittest.
BUG=chromium:371898
DEPLOY=apache
Change-Id: Id5307e68d55dc5120e6a8036888987d2819b4ad6
Reviewed-on: https://chromium-review.googlesource.com/199607
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
/external/autotest/cli/host.py
c2863163f0305e441e3178b88ab5a80656ca777b 12-Jul-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> (Submitting for dalecurtis. For some reason, Patchwork doesn't want to pick
up his patches...)

All,

First off, sorry for the spam, hopefully this will be last message and
Patchwork will finally pick up the patch. Reposted with modifications from
prior discussion per James Ren. Credit for suggestion to split on commas
goes to Jongki Suwandi.

The "host list", "host create", and "job create" command line options for
the atest CLI module do not support labels with commas. In our deployment we
have several labels which contain commas, leading to some bad parsing when
trying to use the CLI tools. I've added escaped comma support to the
topic_common.item_parse_info.get_values.__get_items(...) function to fix
this.

For example, atest host list --label "label0,comma\,label" will now parse
the labels as 'label0' and 'comma,label'.

Any option using topic_common.item_parse_info gets this behavior for free.
Specifically for our needs, I've changed the "atest host list" and "atest
job create" methods from using <string>.split(',') to
topic_common.item_parse_info for labels.

Implementation wise, I modified the
topic_common.item_parse_info.get_values.__get_items(...) regex so that it
would only split commas not preceded by slashes. In order to handle labels
that may end in slashes, I replace double slashes with a null character
before splitting and then put a single slash back afterwards. The new regex
is r'(?<!\),|\s' if space splitting is enabled and r'(?<!\),' otherwise.

Testing was done through 11 new unit tests, exercising escaped commas with
and without preceding escaped slashes. As well as manual testing on our own
deployment.

All unit tests pass and existing deployments should not be affected. A minor
quibble is consistency from a user point of view. I've only added support
for escaped commas to the topic_common.item_parse_info class, but there are
a couple other areas which are still using <string>.split(',') to parse
their options. Specifically status names, host names, test names, and
dependencies in the host.py and job.py files. I've left these alone for now,
but if anyone objects I can roll them in.

I've attached the patch file for the changes, but if you prefer a more GUI
driven experience, you can see the change list here:

http://codereview.chromium.org/2740001/show

Risk: Low-Medium (CLI infrastructure and tests modified)
Visibility: CLI users
Signed-off-by: Dale Curtis

Regards,

Dale Curtis
Software Engineer in Test @ Google



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4718 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
12b45582c04b2417036a6f11afc843ac5fddea50 11-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Massive permission fix

Fix permissions for all the development tree

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4094 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
6958c72662bfbd951b16ad90c0cde9e1a6d3993a 23-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> In CLI host code, changed "job_Id" sort spec to "job__id". This is required by Django 1.0.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3763 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
be0d8692a68c879c4d03a39789bf249b8178114e 21-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove the ability for host status to be modified via the frontend.
This interferes with the monitor_db scheduler as it owns the field.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3584 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
9deeefadc178834bf322d03e27e28e0fbdb2594f 02-May-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Re-factor the option parsing following a suggestion from Greg.
Eliminate the <topic>.parse altogether.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3081 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
8c7b04c52a8881333ac828f6a1976cafe8412a4a 25-Mar-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Getting rid of the socket timeout tunes, except for the kernel uploads. Now that the servers are more stable, they seem unnecessary and created some spurious failures.

Also fixing a bad patch application in job.py

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2924 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
aed47e868e9ddd26f1cc30723db7798a73485240 17-Mar-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Adding the protection flag to host create

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2885 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
ef87cad2bb6977bbfad56cae017e8729a4a00ca6 11-Mar-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Updated the hardcoded cli host protections with the ones currently
available in client.common_lib.host_protections.

Signed-off-by: Mihai Rusu <dizzy@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2871 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
3df90c9c3ad4ee71dc24989a6cd0aab5c067883c 09-Mar-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Removing the dead status.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2855 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
91e0efdf0f19a48afb2dc89a86323043bac779db 26-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Adding the host filtering by locked/unlocked.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2836 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
d9ac445a60d6d11537f566503164344e09527917 07-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove the old acl_groups_users and acl_groups_hosts many2many pivot
table column name hack.

Renames acl_group_id -> aclgroup_id.

Adds a migration script and updates the one piece of code that actually
depended upon the old name.

This is needed for my upcoming change that ports autotest to Django
1.0.x but seems worth cleaning up as a change of its own.

Signed-off-by: Gregory Smith <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2764 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
f703fb4108d3fc7e0dbb18b1d73c5ceb1b08abf3 30-Jan-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Re-allow wildcards in host list --label searches.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2704 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
6eca46040bece6cdcb32c7ad408fa7862075431a 07-Jan-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix host mod to continue on failures.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@2602 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
719e14a3fd5c41d3e6d060885e9b83298c80cfbb 04-Dec-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Lock the hosts on creation to avoid a race where the scheduler uses
the host before it gets ACL'ed.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2544 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
df75f8b737431b926c2b895fe404cbf04e8eca9a 18-Nov-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add list printing functions.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2437 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
70b9bf47455d019f04b4d922029abc39786fff55 18-Nov-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add an option (-N, --hostnames-only) to host_list to only return hostnames.
-N was chosen because this is the MDB option for this behavior.
Risk(Low): Adding new option
Visibility(Medium): Users can now get host lists without parsing

Signed-off-by: Ryan Kubiak <rkubiak@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2434 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
6444c6bcee9ff22a484184b07e37897c0491b941 27-Oct-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add the filtering on multiple labels.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@2345 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
536a524747f1ae34d0f9bf8a6ca7652b9e3b057c 18-Oct-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add filtering on ACLs and user.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2305 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
e163b03a27fea8a33f6ca5f77c7e58a5bb37f7f3 18-Oct-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> - Expose the lock_time and protection fields in host stat.
- Allow users to set the protection level through the CLI.
Risk(Low): Changes affect host_stat and host_mod. Verified working.
Visibility(Medium): Users will notice new functionality in the CLI

Signed-off-by: Ryan Kubiak <rkubiak@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2303 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
cd8eb97b9ee72f89cdb27e3a850a758826b66fa0 25-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix the list filtering on status to avoid "unknown hosts" reported any time you specify a status in atest host list -s "Ready".

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2035 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
1494eca8832c0c11368094a86cd055c84dd82bf3 13-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Display the latest job entries instead of the oldest ones.
Visisbility: Medium (CLI)
Risk: Low

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1984 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
6996fe8cf5110a8be2b72f57155f7e87d979ded2 13-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Added a longer timeout to host job and host stat, as they do not
inherit from atest_list.

Added a --max-query option (default 20) to limit the number of jobs displayed.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1977 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py
be630eb07ddb84310fcc580acffcaa362a2dc606 01-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Attached is the CLI code tarball. It is documented at http://test.kernel.org/autotest/CLIHowTo

From: jmeurin@google.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1950 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/host.py