diff options
author | 2017-08-21 02:44:17 +0000 | |
---|---|---|
committer | 2017-08-21 03:00:30 +0000 | |
commit | 2e3974f99811dda12ca3f7e3a9521a0efc2e8677 (patch) | |
tree | 6c86bd23c2748a589bbbacbbbad0f339fa34218d /yardstick/benchmark/scenarios/lib/create_server.py | |
parent | 36375f388880519336328406de1d1bbc408d4599 (diff) |
Add common openstack opertation scenarios: subnet & port
JIRA: YARDSTICK-781
This patch adds some common openstack opertation scenarios
Change-Id: Ie59f0d5ae0842f8347824c961436b889a95b1a72
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/lib/create_server.py')
-rw-r--r-- | yardstick/benchmark/scenarios/lib/create_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/lib/create_server.py b/yardstick/benchmark/scenarios/lib/create_server.py index 45c0bfde9..273b0045a 100644 --- a/yardstick/benchmark/scenarios/lib/create_server.py +++ b/yardstick/benchmark/scenarios/lib/create_server.py @@ -59,8 +59,10 @@ class CreateServer(base.Scenario): vm = op_utils.create_instance_and_wait_for_active(self.openstack) if vm: + result.update({"instance_create": 1}) LOG.info("Create server successful!") else: + result.update({"instance_create": 0}) LOG.error("Create server failed!") try: |