Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
60ea4341
Commit
60ea4341
authored
Jun 21, 2011
by
Guillaume Bottex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP, recipe modification for multi-users.
parent
37f97800
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
slapos/recipe/erp5scalabilitytestbed/__init__.py
slapos/recipe/erp5scalabilitytestbed/__init__.py
+8
-2
slapos/recipe/erp5scalabilitytestbed/template/erp5tester_manager_run.in
...erp5scalabilitytestbed/template/erp5tester_manager_run.in
+1
-1
No files found.
slapos/recipe/erp5scalabilitytestbed/__init__.py
View file @
60ea4341
...
...
@@ -47,8 +47,7 @@ class Recipe(BaseSlapRecipe):
config
[
'address'
]
=
self
.
getGlobalIPv6Address
()
config
[
'report_path'
]
=
self
.
log_directory
config
.
setdefault
(
'nb_server_max'
,
3
)
config
.
setdefault
(
'nb_tester_max'
,
3
)
config
.
setdefault
(
'user_range_increment'
,
1
)
config
[
'software_release_url'
]
=
self
.
software_release_url
config
[
'server_url'
]
=
self
.
server_url
config
[
'key_file'
]
=
self
.
key_file
...
...
@@ -57,6 +56,13 @@ class Recipe(BaseSlapRecipe):
config
[
'computer_partition_id'
]
=
self
.
computer_partition_id
config
[
'plugin_name'
]
=
'erp5'
if
','
in
config
[
'nb_users'
]:
config
[
'nb_tester_init'
]
=
config
[
'nb_users'
].
split
(
','
)[
0
]
config
[
'nb_tester_max'
]
=
config
[
'nb_users'
].
split
(
','
)[
1
]
else
:
config
[
'nb_tester_init'
]
=
config
[
'nb_users'
]
config
[
'nb_tester_max'
]
=
config
[
'nb_users'
]
connection
=
{}
connection
[
'url'
]
=
'http://['
+
config
[
'address'
]
+
']:5000/'
connection
[
'erp5_url'
]
=
config
[
'erp5_url'
]
...
...
slapos/recipe/erp5scalabilitytestbed/template/erp5tester_manager_run.in
View file @
60ea4341
...
...
@@ -2,6 +2,6 @@
# BEWARE: This file is operated by slapgrid
# BEWARE: It will be overwritten automatically
exec
%
(
scalability_tester_manager_binary
)
s
-a
%
(
address
)
s
-r
%
(
report_path
)
s
\
-
s
%
(
nb_server_max
)
s
-t
%
(
nb_tester_max
)
s %
(
software_release_url
)
s
\
-
m
%
(
nb_tester_init
)
s
-t %
(
nb_tester_max
)
s %
(
software_release_url
)
s
\
%
(
server_url
)
s
"%(key_file)s"
"%(cert_file)s"
%
(
computer_id
)
s
\
%
(
computer_partition_id
)
s %
(
plugin_name
)
s
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