Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
928b74ec
Commit
928b74ec
authored
Jun 06, 2011
by
Guillaume Bottex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now specify computer_guid when requesting a server.
parent
c6a9cff5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
slapos/recipe/nosqltestbed/__init__.py
slapos/recipe/nosqltestbed/__init__.py
+7
-3
No files found.
slapos/recipe/nosqltestbed/__init__.py
View file @
928b74ec
...
...
@@ -58,13 +58,16 @@ class NoSQLTestBed(BaseSlapRecipe):
kumo_cloud_config
[
'nb_server_max'
]
=
3
if
'nb_tester_max'
not
in
kumo_cloud_config
:
kumo_cloud_config
[
'nb_tester_max'
]
=
3
kumo_cloud_config
[
'nb_tester_max'
]
=
1
#
3
if
'nb_thread'
not
in
kumo_cloud_config
:
kumo_cloud_config
[
'nb_thread'
]
=
1
kumo_cloud_config
[
'nb_thread'
]
=
32
#
1
if
'nb_request'
not
in
kumo_cloud_config
:
kumo_cloud_config
[
'nb_request'
]
=
1000
kumo_cloud_config
[
'nb_request'
]
=
1024000
# 1000
if
'computer_guid_list'
not
in
kumo_cloud_config
:
kumo_cloud_config
[
'computer_guid_list'
]
=
"COMP-9:COMP-10:COMP-11"
kumo_cloud_config
[
'software_release_url'
]
=
self
.
software_release_url
kumo_cloud_config
[
'server_url'
]
=
self
.
server_url
...
...
@@ -76,6 +79,7 @@ class NoSQLTestBed(BaseSlapRecipe):
kumo_cloud_connection
=
{}
kumo_cloud_connection
[
'url'
]
=
"http://["
+
kumo_cloud_config
[
'address'
]
+
"]:5000/"
kumo_cloud_connection
[
'computer_guid_list'
]
=
kumo_cloud_config
[
'computer_guid_list'
]
self
.
computer_partition
.
setConnectionDict
(
kumo_cloud_connection
)
nosqltester_manager_wrapper_template_location
=
pkg_resources
.
resource_filename
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment