]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Add caching lsb_release parser
authorZack Cerza <zack@cerza.org>
Thu, 5 Jun 2014 21:50:24 +0000 (16:50 -0500)
committerZack Cerza <zack.cerza@inktank.com>
Thu, 11 Sep 2014 21:12:51 +0000 (15:12 -0600)
commit959353415598cb8a6a3c20c0d0cc80d0c97cfcc1
tree01e96fdb0171cd9021dc8d3b826eceed3fb6957e
parentc5664033ca07c29d6a73a278168af3ef6550f400
Add caching lsb_release parser

In far too many places do we remotely exec lsb_release in some form,
then parse the output. In shifting to a more stable interface between
teuthology and its tasks, this seemed important to me.

Remote objects now have a 'distro' property that, when first accessed,
calls 'lsb_release -a' remotely and parses the results.

I've included tests and documentation.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/orchestra/remote.py
teuthology/orchestra/test/test_integration.py
teuthology/orchestra/test/test_remote.py