summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/logdata/client1.log52
-rw-r--r--tests/logdata/server.log114
-rwxr-xr-xtests/run.sh10
3 files changed, 93 insertions, 83 deletions
diff --git a/tests/logdata/client1.log b/tests/logdata/client1.log
index e74f6b7..5366196 100644
--- a/tests/logdata/client1.log
+++ b/tests/logdata/client1.log
@@ -1,26 +1,26 @@
-02/17/2017 03:27:55 PM Domino Client Starting...
-02/17/2017 03:27:55 PM 1 Sending Registration
-02/17/2017 03:27:55 PM Registration Response: Response Code: 1
-02/17/2017 03:27:55 PM CLI Service is starting
-02/17/2017 03:27:55 PM RPC service for CLI is starting...
-02/17/2017 03:27:57 PM 12345678123456781234567812345678 Sending heartbeat
-02/17/2017 03:27:57 PM heart beat received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 2
-02/17/2017 03:27:58 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-1'] and templates ['hot']
-02/17/2017 03:27:58 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 3
-02/17/2017 03:27:59 PM subscribing labels [] and templates ['dummy1', 'dummy2']
-02/17/2017 03:27:59 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 4
-02/17/2017 03:28:01 PM subscribing labels [] and templates ['dummy1', 'dummy2']
-02/17/2017 03:28:01 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 5
-02/17/2017 03:28:02 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-2'] and templates []
-02/17/2017 03:28:02 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 6
-02/17/2017 03:28:03 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
-02/17/2017 03:28:03 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 7
-02/17/2017 03:28:04 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
-02/17/2017 03:28:04 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 8
-02/17/2017 03:28:05 PM Publishing the template file: ./tosca-templates/tosca_helloworld_nfv.yaml
-02/17/2017 03:28:05 PM Publish Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 9 Status: 2
-02/17/2017 03:28:06 PM subscribing labels ['tosca.policies.Placement.Geolocation:properties:region:us-west-1'] and templates []
-02/17/2017 03:28:06 PM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 10
-02/17/2017 03:28:07 PM 12345678123456781234567812345678 Received Template File
-02/17/2017 03:28:09 PM 12345678123456781234567812345678 Received Template File
-02/17/2017 03:28:09 PM IGNORING error: ERRNO 17; ./toscafiles/12345678123456781234567812345678 exists.
+02/23/2017 09:46:49 AM Domino Client Starting...
+02/23/2017 09:46:49 AM 1 Sending Registration
+02/23/2017 09:46:49 AM Registration Response: Response Code: 1
+02/23/2017 09:46:49 AM CLI Service is starting
+02/23/2017 09:46:49 AM RPC service for CLI is starting...
+02/23/2017 09:46:51 AM 12345678123456781234567812345678 Sending heartbeat
+02/23/2017 09:46:51 AM heart beat received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 2
+02/23/2017 09:46:52 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-1'] and templates ['hot']
+02/23/2017 09:46:52 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 3
+02/23/2017 09:46:53 AM subscribing labels [] and templates ['dummy1', 'dummy2']
+02/23/2017 09:46:53 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 4
+02/23/2017 09:46:54 AM subscribing labels [] and templates ['dummy1', 'dummy2']
+02/23/2017 09:46:54 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 5
+02/23/2017 09:46:55 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-2'] and templates []
+02/23/2017 09:46:55 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 6
+02/23/2017 09:46:56 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
+02/23/2017 09:46:56 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 7
+02/23/2017 09:46:57 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
+02/23/2017 09:46:57 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 8
+02/23/2017 09:46:58 AM Publishing the template file: ./tosca-templates/tosca_helloworld_nfv.yaml
+02/23/2017 09:46:58 AM Publish Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 9 Status: 2
+02/23/2017 09:46:59 AM subscribing labels ['tosca.policies.Placement.Geolocation:properties:region:us-west-1'] and templates []
+02/23/2017 09:46:59 AM Subscribe Response is received from: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ,sequence number: 10
+02/23/2017 09:47:00 AM 12345678123456781234567812345678 Received Template File
+02/23/2017 09:47:03 AM 12345678123456781234567812345678 Received Template File
+02/23/2017 09:47:03 AM IGNORING error: ERRNO 17; ./toscafiles/12345678123456781234567812345678 exists.
diff --git a/tests/logdata/server.log b/tests/logdata/server.log
index e7dcd78..2bab49c 100644
--- a/tests/logdata/server.log
+++ b/tests/logdata/server.log
@@ -1,57 +1,57 @@
-02/17/2017 03:27:55 PM Domino Server Starting...
-02/17/2017 03:27:55 PM Registration Request received for UUID 12345678123456781234567812345678 from IP: 192.168.253.33 port: 9091
-02/17/2017 03:27:56 PM Registration Request received for UUID 12345678123456781234567812345678 from IP: 192.168.253.33 port: 9092
-02/17/2017 03:27:57 PM heartbeat received from 12345678123456781234567812345678
-02/17/2017 03:27:58 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:27:58 PM APPENDING Labels...
-02/17/2017 03:27:58 PM Supported Template: set(['hot']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
-02/17/2017 03:27:59 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:27:59 PM APPENDING Labels...
-02/17/2017 03:27:59 PM Supported Template: set(['dummy2', 'dummy1']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
-02/17/2017 03:28:01 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:28:01 PM APPENDING Labels...
-02/17/2017 03:28:01 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
-02/17/2017 03:28:02 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:28:02 PM APPENDING Labels...
-02/17/2017 03:28:02 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-2', 'tosca.policies.Placement:properties:region:nova-1'])
-02/17/2017 03:28:03 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:28:03 PM OVERWRITING Labels...
-02/17/2017 03:28:03 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-3'])
-02/17/2017 03:28:04 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:28:04 PM DELETING Labels...
-02/17/2017 03:28:04 PM Supported Template: set([]) Supported Labels: set([])
-02/17/2017 03:28:05 PM Publish Request received from 12345678123456781234567812345678
-02/17/2017 03:28:05 PM Node Labels: {'VNF2': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF3': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF1': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])}
-02/17/2017 03:28:05 PM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set([])}
-02/17/2017 03:28:05 PM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': []}
-02/17/2017 03:28:05 PM Per domain file paths: {}
-02/17/2017 03:28:05 PM Per domain topologies: {}
-02/17/2017 03:28:05 PM Boundary VLs: {}
-02/17/2017 03:28:05 PM VL sites: {}
-02/17/2017 03:28:05 PM Subscribers: [] for TUID: 8400d1b81f704e08b5eea4065ab1123b
-02/17/2017 03:28:06 PM Subscribe Request received from 12345678123456781234567812345678
-02/17/2017 03:28:06 PM APPENDING Labels...
-02/17/2017 03:28:06 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])
-02/17/2017 03:28:07 PM Publish Request received from 9d2a14da97cb4d17b25a729266ea5789
-02/17/2017 03:28:07 PM ERRNO 17; ./toscafiles/ exists. Creating: ./toscafiles/template1.yaml
-02/17/2017 03:28:07 PM Node Labels: {'VNF2': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF3': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF1': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])}
-02/17/2017 03:28:07 PM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set(['12345678123456781234567812345678'])}
-02/17/2017 03:28:07 PM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': '12345678123456781234567812345678'}
-02/17/2017 03:28:07 PM Per domain file paths: {'12345678123456781234567812345678': './toscafiles/template_part12345678123456781234567812345678.yaml'}
-02/17/2017 03:28:07 PM Per domain topologies: {'12345678123456781234567812345678': {'policy_types': {'tosca.policies.Placement.Geolocation': {'description': 'Geolocation policy', 'derived_from': 'tosca.policies.Placement'}}, 'tosca_definitions_version': 'tosca_simple_profile_for_nfv_1_0_0', 'description': 'Template for deploying a single server with predefined properties.', 'topology_template': {'node_templates': {'VNF1': {'type': 'tosca.nodes.nfv.VNF', 'properties': {'version': 1.0, 'vendor': 'acmetelco', 'id': 'vnf1'}}}, 'policies': [{'rule1': {'type': 'tosca.policies.Placement.Geolocation', 'targets': ['VNF1'], 'properties': {'region': ['us-west-1']}}}]}, 'metadata': {'template_name': 'TOSCA NFV Sample Template'}}}
-02/17/2017 03:28:07 PM Boundary VLs: {}
-02/17/2017 03:28:07 PM VL sites: {}
-02/17/2017 03:28:07 PM Push Response received from 12345678123456781234567812345678
-02/17/2017 03:28:07 PM Subscribers: ['12345678123456781234567812345678'] for TUID: 64bf4842181e45af8c125c5742a6d53a
-02/17/2017 03:28:09 PM Publish Request received from 9d2a14da97cb4d17b25a729266ea5789
-02/17/2017 03:28:09 PM ERRNO 17; ./toscafiles/ exists. Creating: ./toscafiles/template1.yaml
-02/17/2017 03:28:09 PM Node Labels: {'VNF2': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF3': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF1': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])}
-02/17/2017 03:28:09 PM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set(['12345678123456781234567812345678'])}
-02/17/2017 03:28:09 PM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': '12345678123456781234567812345678'}
-02/17/2017 03:28:09 PM Per domain file paths: {'12345678123456781234567812345678': './toscafiles/template_part12345678123456781234567812345678.yaml'}
-02/17/2017 03:28:09 PM Per domain topologies: {'12345678123456781234567812345678': {'policy_types': {'tosca.policies.Placement.Geolocation': {'description': 'Geolocation policy', 'derived_from': 'tosca.policies.Placement'}}, 'tosca_definitions_version': 'tosca_simple_profile_for_nfv_1_0_0', 'description': 'Template for deploying a single server with predefined properties.', 'topology_template': {'node_templates': {'VNF1': {'type': 'tosca.nodes.nfv.VNF', 'properties': {'version': 1.0, 'vendor': 'acmetelco', 'id': 'vnf1'}}}, 'policies': [{'rule1': {'type': 'tosca.policies.Placement.Geolocation', 'targets': ['VNF1'], 'properties': {'region': ['us-west-1']}}}]}, 'metadata': {'template_name': 'TOSCA NFV Sample Template'}}}
-02/17/2017 03:28:09 PM Boundary VLs: {}
-02/17/2017 03:28:09 PM VL sites: {}
-02/17/2017 03:28:09 PM TEMPLATE UUID 64bf4842181e45af8c125c5742a6d53a exists, verify publisher and update subscribers
-02/17/2017 03:28:09 PM Push Response received from 12345678123456781234567812345678
-02/17/2017 03:28:09 PM Subscribers: ['12345678123456781234567812345678'] for TUID: 64bf4842181e45af8c125c5742a6d53a
+02/23/2017 09:46:48 AM Domino Server Starting...
+02/23/2017 09:46:49 AM Registration Request received for UUID 12345678123456781234567812345678 from IP: 192.168.254.86 port: 9091
+02/23/2017 09:46:50 AM Registration Request received for UUID 12345678123456781234567812345678 from IP: 192.168.254.86 port: 9092
+02/23/2017 09:46:51 AM heartbeat received from 12345678123456781234567812345678
+02/23/2017 09:46:52 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:52 AM APPENDING Labels...
+02/23/2017 09:46:52 AM Supported Template: set(['hot']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
+02/23/2017 09:46:53 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:53 AM APPENDING Labels...
+02/23/2017 09:46:53 AM Supported Template: set(['dummy2', 'dummy1']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
+02/23/2017 09:46:54 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:54 AM APPENDING Labels...
+02/23/2017 09:46:54 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
+02/23/2017 09:46:55 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:55 AM APPENDING Labels...
+02/23/2017 09:46:55 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-2', 'tosca.policies.Placement:properties:region:nova-1'])
+02/23/2017 09:46:56 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:56 AM OVERWRITING Labels...
+02/23/2017 09:46:56 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-3'])
+02/23/2017 09:46:57 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:57 AM DELETING Labels...
+02/23/2017 09:46:57 AM Supported Template: set([]) Supported Labels: set([])
+02/23/2017 09:46:58 AM Publish Request received from 12345678123456781234567812345678
+02/23/2017 09:46:58 AM Node Labels: {'VNF2': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF3': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF1': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])}
+02/23/2017 09:46:58 AM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set([])}
+02/23/2017 09:46:58 AM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': []}
+02/23/2017 09:46:58 AM Per domain file paths: {}
+02/23/2017 09:46:58 AM Per domain topologies: {}
+02/23/2017 09:46:58 AM Boundary VLs: {}
+02/23/2017 09:46:58 AM VL sites: {}
+02/23/2017 09:46:58 AM Subscribers: [] for TUID: dbabf18860284240b52f7d31d1e5046a
+02/23/2017 09:46:59 AM Subscribe Request received from 12345678123456781234567812345678
+02/23/2017 09:46:59 AM APPENDING Labels...
+02/23/2017 09:46:59 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])
+02/23/2017 09:47:00 AM Publish Request received from 1a8af57ef9ab4eff90c10543df205b5b
+02/23/2017 09:47:00 AM ERRNO 17; ./toscafiles/ exists. Creating: ./toscafiles/template1.yaml
+02/23/2017 09:47:00 AM Node Labels: {'VNF2': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF3': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF1': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])}
+02/23/2017 09:47:00 AM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set(['12345678123456781234567812345678'])}
+02/23/2017 09:47:00 AM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': '12345678123456781234567812345678'}
+02/23/2017 09:47:00 AM Per domain file paths: {'12345678123456781234567812345678': './toscafiles/template_part12345678123456781234567812345678.yaml'}
+02/23/2017 09:47:00 AM Per domain topologies: {'12345678123456781234567812345678': {'policy_types': {'tosca.policies.Placement.Geolocation': {'description': 'Geolocation policy', 'derived_from': 'tosca.policies.Placement'}}, 'tosca_definitions_version': 'tosca_simple_profile_for_nfv_1_0_0', 'description': 'Template for deploying a single server with predefined properties.', 'topology_template': {'node_templates': {'VNF1': {'type': 'tosca.nodes.nfv.VNF', 'properties': {'version': 1.0, 'vendor': 'acmetelco', 'id': 'vnf1'}}}, 'policies': [{'rule1': {'type': 'tosca.policies.Placement.Geolocation', 'targets': ['VNF1'], 'properties': {'region': ['us-west-1']}}}]}, 'metadata': {'template_name': 'TOSCA NFV Sample Template'}}}
+02/23/2017 09:47:00 AM Boundary VLs: {}
+02/23/2017 09:47:00 AM VL sites: {}
+02/23/2017 09:47:00 AM Push Response received from 12345678123456781234567812345678
+02/23/2017 09:47:00 AM Subscribers: ['12345678123456781234567812345678'] for TUID: 1671862ef3aa446b8cfae9b0059dccc1
+02/23/2017 09:47:03 AM Publish Request received from 1a8af57ef9ab4eff90c10543df205b5b
+02/23/2017 09:47:03 AM ERRNO 17; ./toscafiles/ exists. Creating: ./toscafiles/template1.yaml
+02/23/2017 09:47:03 AM Node Labels: {'VNF2': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF3': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1', 'tosca.policies.Placement.Geolocation:properties:region:us-west-2']), 'VNF1': set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])}
+02/23/2017 09:47:03 AM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set(['12345678123456781234567812345678'])}
+02/23/2017 09:47:03 AM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': '12345678123456781234567812345678'}
+02/23/2017 09:47:03 AM Per domain file paths: {'12345678123456781234567812345678': './toscafiles/template_part12345678123456781234567812345678.yaml'}
+02/23/2017 09:47:03 AM Per domain topologies: {'12345678123456781234567812345678': {'policy_types': {'tosca.policies.Placement.Geolocation': {'description': 'Geolocation policy', 'derived_from': 'tosca.policies.Placement'}}, 'tosca_definitions_version': 'tosca_simple_profile_for_nfv_1_0_0', 'description': 'Template for deploying a single server with predefined properties.', 'topology_template': {'node_templates': {'VNF1': {'type': 'tosca.nodes.nfv.VNF', 'properties': {'version': 1.0, 'vendor': 'acmetelco', 'id': 'vnf1'}}}, 'policies': [{'rule1': {'type': 'tosca.policies.Placement.Geolocation', 'targets': ['VNF1'], 'properties': {'region': ['us-west-1']}}}]}, 'metadata': {'template_name': 'TOSCA NFV Sample Template'}}}
+02/23/2017 09:47:03 AM Boundary VLs: {}
+02/23/2017 09:47:03 AM VL sites: {}
+02/23/2017 09:47:03 AM TEMPLATE UUID 1671862ef3aa446b8cfae9b0059dccc1 exists, verify publisher and update subscribers
+02/23/2017 09:47:03 AM Push Response received from 12345678123456781234567812345678
+02/23/2017 09:47:03 AM Subscribers: ['12345678123456781234567812345678'] for TUID: 1671862ef3aa446b8cfae9b0059dccc1
diff --git a/tests/run.sh b/tests/run.sh
index 8918ce5..736d991 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -24,6 +24,12 @@ client1_log=./tests/logdata/client1.log
client2_log=./tests/logdata/client2.log
server_log=./tests/logdata/server.log
+install_dependency() {
+ sudo pip install tosca-parser
+ sudo pip install heat-translator
+}
+
+
start_server() {
pgrep -f "python DominoServer.py" && return 0
python DominoServer.py --log "$LOGLEVEL" > "$server_log" 2>&1 &
@@ -97,6 +103,10 @@ echo "Cleaning residue files and folders from previous runs..."
clean_directories
sleep 1
+echo "Installing dependencies..."
+install_dependency
+sleep 1
+
echo "Launching Domino Server..."
start_server
sleep 1