Merge "Add a subsection under "Doctor capabilities and usage" section"
authorBertrand Souville <souville@docomolab-euro.com>
Wed, 10 Aug 2016 05:29:27 +0000 (05:29 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Wed, 10 Aug 2016 05:29:27 +0000 (05:29 +0000)
tests/clean.py
tests/inspector.py
tests/nova_force_down.py
tests/run.sh

index af966ae..f839405 100644 (file)
@@ -14,7 +14,7 @@ import os
 import novaclient.client as novaclient
 
 
-nova_api_version = 2.11
+nova_api_version = '2.11'
 
 def enable_compute_host(hostname):
     self.nova = novaclient.Client(self.nova_api_version,
index db7db39..c8fb00f 100644 (file)
@@ -20,7 +20,7 @@ import nova_force_down
 
 class DoctorInspectorSample(object):
 
-    nova_api_version = 2.11
+    nova_api_version = '2.11'
 
     def __init__(self):
         self.nova = novaclient.Client(self.nova_api_version,
index bb10e9e..abea567 100644 (file)
@@ -36,7 +36,7 @@ def force_down(hostname, force_down=True):
         'Content-Type': 'application/json',
         'Accept': 'application/json',
         'X-Auth-Token': keystone.auth_ref['token']['id'],
-        'X-OpenStack-Nova-API-Version': 2.11,
+        'X-OpenStack-Nova-API-Version': '2.11',
     }
 
     print requests.put(url, data=json.dumps(data), headers=headers)
index 06aa684..7f5a6c0 100755 (executable)
@@ -22,8 +22,7 @@ CONSUMER_PORT=12346
 DOCTOR_USER=doctor
 DOCTOR_PW=doctor
 DOCTOR_PROJECT=doctor
-#TODO: change back to `_member_` when JIRA DOCTOR-55 is done
-DOCTOR_ROLE=admin
+DOCTOR_ROLE=_member_
 
 SUPPORTED_INSTALLER_TYPES="apex local"
 INSTALLER_TYPE=${INSTALLER_TYPE:-apex}