summaryrefslogtreecommitdiffstats
path: root/cli/commands/cli_os.py
AgeCommit message (Collapse)AuthorFilesLines
2016-09-01stop hardcoded FUNCTEST_REPO path everywhereSerenaFeng1-3/+2
functest repo is used by almost every testcase, each place we get it like: REPOS_DIR = os.getenv('repos_dir') FUNCTEST_REPO = ("%s/functest" % REPOS_DIR) provide a common interface in functest_util.py JIRA: FUNCTEST-453 Change-Id: Ie0635dacc761ed2d05b7e606530368844f32ebaf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-31unify functest_yaml obtain processSerenaFeng1-4/+2
functest_yaml is needed in almost all of the testcases, the obtain process is the same: with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) f.close() abstract a method to unify the process, and provide the interface JIRA: FUNCTEST-447 Change-Id: I96a9a9962d7b466f10bbd3b5ab2495957524e22a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-15Update cli output textJuha Kosonen1-2/+4
Show correct command for creating snapshot in output when snapshot is required but not yet created. Change-Id: I3418406ca3370968248749ec1fdb30196b7d3a00 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-07-04Change OpenStack clean behaviourjose.lausuch1-12/+14
JIRA: FUNCTEST-236 The openstack snapshot generation is now triggered before running a test case and removed from prepare_env Change-Id: I4d1bc95dedd7f59d4b1d5866f288e1c1a70ec69e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-09CLI implementationjose.lausuch1-0/+120
JIRA: FUNCTEST-243 Change-Id: Ibf0ef9bcc5f3aeda96b050827b954ce060317613 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>