Add client_url and server_url to all scenarios
This commit is contained in:
parent
9e496e5d67
commit
81ba681918
|
@ -180,7 +180,7 @@ def main():
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
mode=dict(required=True,
|
mode=dict(required=True,
|
||||||
choices=['call', 'cast', 'fanout', 'notify']),
|
choices=['call', 'cast', 'fanout', 'notify']),
|
||||||
url=dict(required=True),
|
url=dict(),
|
||||||
client_url=dict(),
|
client_url=dict(),
|
||||||
server_url=dict(),
|
server_url=dict(),
|
||||||
threads=dict(type='int', default=10),
|
threads=dict(type='int', default=10),
|
||||||
|
|
|
@ -6,8 +6,8 @@ description:
|
||||||
parameters:
|
parameters:
|
||||||
tester_hosts: List of hosts were omsimulator will be executed
|
tester_hosts: List of hosts were omsimulator will be executed
|
||||||
rabbit_url: RabbitMQ address used by both server and client
|
rabbit_url: RabbitMQ address used by both server and client
|
||||||
client_url: RabbitMQ address used by the client
|
client_url: Override RabbitMQ address for the client
|
||||||
server_url: RabbitMQ address used by the server
|
server_url: Override RabbitMQ address for the server
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
-
|
-
|
||||||
|
|
|
@ -6,6 +6,8 @@ description:
|
||||||
parameters:
|
parameters:
|
||||||
tester_hosts: List of hosts were omsimulator will be executed
|
tester_hosts: List of hosts were omsimulator will be executed
|
||||||
rabbit_url: RabbitMQ address
|
rabbit_url: RabbitMQ address
|
||||||
|
client_url: Override RabbitMQ address for the client
|
||||||
|
server_url: Override RabbitMQ address for the server
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
-
|
-
|
||||||
|
@ -40,6 +42,8 @@ execution:
|
||||||
threads: 1
|
threads: 1
|
||||||
host_count: 1
|
host_count: 1
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
|
|
||||||
report:
|
report:
|
||||||
template: omsimulator-ha-cast.rst
|
template: omsimulator-ha-cast.rst
|
||||||
|
|
|
@ -6,6 +6,8 @@ description:
|
||||||
parameters:
|
parameters:
|
||||||
tester_hosts: List of hosts were omsimulator will be executed
|
tester_hosts: List of hosts were omsimulator will be executed
|
||||||
rabbit_url: RabbitMQ address
|
rabbit_url: RabbitMQ address
|
||||||
|
client_url: Override RabbitMQ address for the client
|
||||||
|
server_url: Override RabbitMQ address for the server
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
-
|
-
|
||||||
|
@ -40,6 +42,8 @@ execution:
|
||||||
threads: 1
|
threads: 1
|
||||||
host_count: 1
|
host_count: 1
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
|
|
||||||
report:
|
report:
|
||||||
template: omsimulator-ha-notify.rst
|
template: omsimulator-ha-notify.rst
|
||||||
|
|
|
@ -7,6 +7,8 @@ parameters:
|
||||||
tester_hosts: List of hosts were omsimulator will be executed
|
tester_hosts: List of hosts were omsimulator will be executed
|
||||||
rabbit_hosts: List of hosts were RabbitMQ runs
|
rabbit_hosts: List of hosts were RabbitMQ runs
|
||||||
rabbit_url: RabbitMQ address
|
rabbit_url: RabbitMQ address
|
||||||
|
client_url: Override RabbitMQ address for the client
|
||||||
|
server_url: Override RabbitMQ address for the server
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
-
|
-
|
||||||
|
@ -53,6 +55,8 @@ execution:
|
||||||
mode: call
|
mode: call
|
||||||
duration: 100
|
duration: 100
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
-
|
-
|
||||||
hosts: {{ tester_hosts }}
|
hosts: {{ tester_hosts }}
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -62,6 +66,8 @@ execution:
|
||||||
mode: cast
|
mode: cast
|
||||||
duration: 100
|
duration: 100
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
-
|
-
|
||||||
hosts: {{ tester_hosts }}
|
hosts: {{ tester_hosts }}
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -71,6 +77,8 @@ execution:
|
||||||
mode: notify
|
mode: notify
|
||||||
duration: 100
|
duration: 100
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
-
|
-
|
||||||
hosts: {{ rabbit_hosts }}
|
hosts: {{ rabbit_hosts }}
|
||||||
tasks:
|
tasks:
|
||||||
|
|
|
@ -7,6 +7,8 @@ parameters:
|
||||||
tester_hosts: List of hosts were omsimulator will be executed
|
tester_hosts: List of hosts were omsimulator will be executed
|
||||||
rabbit_hosts: List of hosts were RabbitMQ runs
|
rabbit_hosts: List of hosts were RabbitMQ runs
|
||||||
rabbit_url: RabbitMQ address
|
rabbit_url: RabbitMQ address
|
||||||
|
client_url: Override RabbitMQ address for the client
|
||||||
|
server_url: Override RabbitMQ address for the server
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
-
|
-
|
||||||
|
@ -54,6 +56,8 @@ execution:
|
||||||
duration: 100
|
duration: 100
|
||||||
threads: 10
|
threads: 10
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
-
|
-
|
||||||
hosts: {{ tester_hosts }}
|
hosts: {{ tester_hosts }}
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -64,6 +68,8 @@ execution:
|
||||||
duration: 100
|
duration: 100
|
||||||
threads: 10
|
threads: 10
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
-
|
-
|
||||||
hosts: {{ tester_hosts }}
|
hosts: {{ tester_hosts }}
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -74,6 +80,8 @@ execution:
|
||||||
duration: 100
|
duration: 100
|
||||||
threads: 10
|
threads: 10
|
||||||
url: {{ rabbit_url }}
|
url: {{ rabbit_url }}
|
||||||
|
client_url: {{ client_url }}
|
||||||
|
server_url: {{ server_url }}
|
||||||
-
|
-
|
||||||
hosts: {{ rabbit_hosts }}
|
hosts: {{ rabbit_hosts }}
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Reference in New Issue