aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDominoClient.py2
-rw-r--r--docs/configguide/featureconfig.rst22
-rw-r--r--docs/configguide/index.rst1
-rw-r--r--docs/configguide/installation.rst55
-rw-r--r--domino_conf.py3
-rw-r--r--requirements.txt1
-rw-r--r--tests/logdata/client1.log66
-rw-r--r--tests/logdata/server.log90
8 files changed, 158 insertions, 82 deletions
diff --git a/DominoClient.py b/DominoClient.py
index e91f6cd..1a54648 100755
--- a/DominoClient.py
+++ b/DominoClient.py
@@ -242,7 +242,7 @@ class DominoClient:
self.CLIservice = None
- self.serviceport = 9091
+ self.serviceport = DOMINO_CLIENT_PORT
self.dominoserver_IP = DOMINO_SERVER_IP
self.CLIport = DOMINO_CLI_PORT
diff --git a/docs/configguide/featureconfig.rst b/docs/configguide/featureconfig.rst
index b6ac974..5364dbe 100644
--- a/docs/configguide/featureconfig.rst
+++ b/docs/configguide/featureconfig.rst
@@ -11,12 +11,30 @@
|
Domino Configuration
====================
+Domino Server and Clients can be configured via (i) passing command line options
+(see API documentation) and (ii) the configuration file "domino_conf.py" under the
+main directory.
+
+* The default file for logging is set as none and log level set as "WARNING".
Domino Server
-------------
+* The default server unique user ID is set as 0 in the configuration file.
+
+* The default TCP port for RPC calls is set as 9090 in the configuration file.
+
+* The default database file for Domino Server is set as "dominoserver.db" under the main directory
+
+* The default folder for keeping published TOSCA files and pushed parts is set as "toscafiles" in the configuration file via variable TOSCADIR.
Domino Client
-------------
+* The default mode of CLI is non-interactive (i.e., Domino CLI Utility is used). This can be changed when the DominoClient is launched by passing the flags --log or -l followed by the
+log level choice from the set {ERROR, WARNING, INFO, DEBUG} (not case sensitive). This overwrites the log level default specified in the configuration file.
+
+* The default Domino Server IP is set as "localhost". This can be overwritten at the time of launching DominoClient via the option flags -i or --ipaddr followed by the IP address of the actual server hosting the Domino Server.
+
+* The default Domino Client TCP port for RPC calls is set as 9091 in the configuration file. It can be overwritten when the DominoClient is launched by passing the flags --port or -p followed by the port number.
+
+* The default folder for keeping preceived TOSCA files is set as "toscafiles" in the configuration file via variable TOSCA_RX_DIR.
-Domino CLI Utility
-------------------
diff --git a/docs/configguide/index.rst b/docs/configguide/index.rst
index b192ffa..d61d449 100644
--- a/docs/configguide/index.rst
+++ b/docs/configguide/index.rst
@@ -16,6 +16,7 @@ Contents:
:numbered:
:maxdepth: 2
+ installation.rst
featureconfig.rst
Indices and tables
diff --git a/docs/configguide/installation.rst b/docs/configguide/installation.rst
new file mode 100644
index 0000000..3a2a7d3
--- /dev/null
+++ b/docs/configguide/installation.rst
@@ -0,0 +1,55 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+.. image:: ../etc/opnfv-logo.png
+ :height: 40
+ :width: 200
+ :alt: OPNFV
+ :align: left
+.. these two pipes are to seperate the logo from the first title
+|
+|
+Domino Installation
+===================
+
+Note: The steps below are tested for Ubuntu (16.04, 14.04) and OS X El Capitan.
+
+Prerequisites
+-------------
+* git
+* python-pip
+* python (version =2.7)
+* tosca-parser (version >=0.4.0)
+* heat-translator (version >=0.5.0)
+
+Installation Steps (Single Node)
+--------------------------------
+
+* Step-0: Prepare Environment
+
+.. code-block:: bash
+
+ > $sudo pip install tosca-parser
+ > $sudo pip install heat-translator
+ > $sudo pip install requests
+
+* Step-1: Get the Domino code
+
+.. code-block:: bash
+
+ > $git clone https://gerrit.opnfv.org/gerrit/domino
+
+* Step-2: Go to the main domino directory
+
+.. code-block:: bash
+
+ > $cd domino
+
+You should see DominoClient.py, DominoServer.py, and domino-cli.py as executibles.
+
+Installation Steps (Multiple Node)
+----------------------------------
+
+Repeat the installation steps for single node on each of the nodes. The script
+run_multinode.sh under ./domino/tests directory deploys the Domino Code on three
+hosts from a deployment node and tests RPC calls.
diff --git a/domino_conf.py b/domino_conf.py
index 56ccf58..644158b 100644
--- a/domino_conf.py
+++ b/domino_conf.py
@@ -2,13 +2,13 @@ logfile = None
LOGLEVEL = 'WARNING' #'WARNING' #ERROR, DEBUG, INFO
#Client Parameters
+DOMINO_CLIENT_PORT = 9091
INTERACTIVE = 'FALSE'
CLIENT_UDID = 1
CLIENT_SEQNO = 0
DOMINO_SERVER_IP = 'localhost'
-DOMINO_SERVER_PORT = 9090
DOMINO_CLI_PORT = 9100
UDID_DESIRED = 12467
@@ -17,6 +17,7 @@ DEFAULT_TOSCA_PUBFILE = './tosca-templates/tosca_helloworld_nfv.yaml'
TOSCA_RX_DIR = './toscafiles/'
#Server Parameters
+DOMINO_SERVER_PORT = 9090
SERVER_UDID = 0
TOSCADIR = './toscafiles/'
TOSCA_DEFAULT_FNAME = 'template1.yaml'
diff --git a/requirements.txt b/requirements.txt
index 62ce629..e0760f6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,3 +8,4 @@ PyYAML>=3.1.0 # MIT
python-dateutil>=2.4.2 # BSD
six>=1.9.0 # MIT
tosca-parser>=0.4.0 # Apache-2.0
+heat-translator>=0.5.0 # Apache-2.0
diff --git a/tests/logdata/client1.log b/tests/logdata/client1.log
index 1486014..9deb2ef 100644
--- a/tests/logdata/client1.log
+++ b/tests/logdata/client1.log
@@ -1,33 +1,33 @@
-07/12/2016 11:15:17 AM Domino Client Starting...
-07/12/2016 11:15:17 AM 1 Sending Registration
-07/12/2016 11:15:17 AM Registration Response: Response Code: 1
-07/12/2016 11:15:17 AM CLI Service is starting
-07/12/2016 11:15:17 AM RPC service for CLI is starting...
-07/12/2016 11:15:19 AM Received CLI ['heartbeat']
-07/12/2016 11:15:19 AM 12467 Sending heartbeat
-07/12/2016 11:15:19 AM heart beat received from: 0 ,sequence number: 2
-07/12/2016 11:15:20 AM Received CLI ['subscribe', '-t', 'hot', '-l', 'tosca.policies.Placement:properties:region:nova-1']
-07/12/2016 11:15:20 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-1'] and templates ['hot']
-07/12/2016 11:15:20 AM Subscribe Response is received from: 0 ,sequence number: 3
-07/12/2016 11:15:21 AM Received CLI ['subscribe', '-t', 'dummy1,dummy2', '--top', 'OVERWRITE']
-07/12/2016 11:15:21 AM subscribing labels [] and templates ['dummy1', 'dummy2']
-07/12/2016 11:15:21 AM Subscribe Response is received from: 0 ,sequence number: 4
-07/12/2016 11:15:22 AM Received CLI ['subscribe', '-t', 'dummy1,dummy2', '--top', 'DELETE']
-07/12/2016 11:15:22 AM subscribing labels [] and templates ['dummy1', 'dummy2']
-07/12/2016 11:15:22 AM Subscribe Response is received from: 0 ,sequence number: 5
-07/12/2016 11:15:23 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-2']
-07/12/2016 11:15:23 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-2'] and templates []
-07/12/2016 11:15:23 AM Subscribe Response is received from: 0 ,sequence number: 6
-07/12/2016 11:15:24 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-3', '--lop', 'OVERWRITE']
-07/12/2016 11:15:24 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
-07/12/2016 11:15:24 AM Subscribe Response is received from: 0 ,sequence number: 7
-07/12/2016 11:15:25 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-3', '--lop', 'DELETE']
-07/12/2016 11:15:25 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
-07/12/2016 11:15:25 AM Subscribe Response is received from: 0 ,sequence number: 8
-07/12/2016 11:15:26 AM Received CLI ['publish', '-t', './tosca-templates/tosca_helloworld_nfv.yaml']
-07/12/2016 11:15:26 AM Publishing the template file: ./tosca-templates/tosca_helloworld_nfv.yaml
-07/12/2016 11:15:26 AM Publish Response is received from: 0 ,sequence number: 9 Op. Status: 2
-07/12/2016 11:15:27 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement.Geolocation:properties:region:us-west-1']
-07/12/2016 11:15:27 AM subscribing labels ['tosca.policies.Placement.Geolocation:properties:region:us-west-1'] and templates []
-07/12/2016 11:15:27 AM Subscribe Response is received from: 0 ,sequence number: 10
-07/12/2016 11:15:28 AM 12467 Received Template File
+07/21/2016 03:04:52 PM Domino Client Starting...
+07/21/2016 03:04:52 PM 1 Sending Registration
+07/21/2016 03:04:52 PM Registration Response: Response Code: 1
+07/21/2016 03:04:52 PM CLI Service is starting
+07/21/2016 03:04:52 PM RPC service for CLI is starting...
+07/21/2016 03:04:54 PM Received CLI ['heartbeat']
+07/21/2016 03:04:54 PM 12467 Sending heartbeat
+07/21/2016 03:04:54 PM heart beat received from: 0 ,sequence number: 2
+07/21/2016 03:04:55 PM Received CLI ['subscribe', '-t', 'hot', '-l', 'tosca.policies.Placement:properties:region:nova-1']
+07/21/2016 03:04:55 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-1'] and templates ['hot']
+07/21/2016 03:04:55 PM Subscribe Response is received from: 0 ,sequence number: 3
+07/21/2016 03:04:56 PM Received CLI ['subscribe', '-t', 'dummy1,dummy2', '--top', 'OVERWRITE']
+07/21/2016 03:04:56 PM subscribing labels [] and templates ['dummy1', 'dummy2']
+07/21/2016 03:04:56 PM Subscribe Response is received from: 0 ,sequence number: 4
+07/21/2016 03:04:57 PM Received CLI ['subscribe', '-t', 'dummy1,dummy2', '--top', 'DELETE']
+07/21/2016 03:04:57 PM subscribing labels [] and templates ['dummy1', 'dummy2']
+07/21/2016 03:04:57 PM Subscribe Response is received from: 0 ,sequence number: 5
+07/21/2016 03:04:58 PM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-2']
+07/21/2016 03:04:58 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-2'] and templates []
+07/21/2016 03:04:58 PM Subscribe Response is received from: 0 ,sequence number: 6
+07/21/2016 03:04:59 PM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-3', '--lop', 'OVERWRITE']
+07/21/2016 03:04:59 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
+07/21/2016 03:04:59 PM Subscribe Response is received from: 0 ,sequence number: 7
+07/21/2016 03:05:00 PM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-3', '--lop', 'DELETE']
+07/21/2016 03:05:00 PM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates []
+07/21/2016 03:05:00 PM Subscribe Response is received from: 0 ,sequence number: 8
+07/21/2016 03:05:01 PM Received CLI ['publish', '-t', './tosca-templates/tosca_helloworld_nfv.yaml']
+07/21/2016 03:05:01 PM Publishing the template file: ./tosca-templates/tosca_helloworld_nfv.yaml
+07/21/2016 03:05:01 PM Publish Response is received from: 0 ,sequence number: 9 Op. Status: 2
+07/21/2016 03:05:02 PM Received CLI ['subscribe', '-l', 'tosca.policies.Placement.Geolocation:properties:region:us-west-1']
+07/21/2016 03:05:02 PM subscribing labels ['tosca.policies.Placement.Geolocation:properties:region:us-west-1'] and templates []
+07/21/2016 03:05:02 PM Subscribe Response is received from: 0 ,sequence number: 10
+07/21/2016 03:05:03 PM 12467 Received Template File
diff --git a/tests/logdata/server.log b/tests/logdata/server.log
index 96c2865..562696b 100644
--- a/tests/logdata/server.log
+++ b/tests/logdata/server.log
@@ -1,45 +1,45 @@
-07/12/2016 11:15:16 AM Domino Server Starting...
-07/12/2016 11:15:17 AM Registration Request received for UDID 12467 from IP: 192.168.254.12 port: 9091
-07/12/2016 11:15:18 AM Registration Request received for UDID 12467 from IP: 192.168.254.12 port: 9092
-07/12/2016 11:15:19 AM heartbeat received from 12467
-07/12/2016 11:15:20 AM Subscribe Request received from 12467
-07/12/2016 11:15:20 AM APPENDING Labels...
-07/12/2016 11:15:20 AM Supported Template: set(['hot']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
-07/12/2016 11:15:21 AM Subscribe Request received from 12467
-07/12/2016 11:15:21 AM APPENDING Labels...
-07/12/2016 11:15:21 AM Supported Template: set(['dummy2', 'dummy1']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
-07/12/2016 11:15:22 AM Subscribe Request received from 12467
-07/12/2016 11:15:22 AM APPENDING Labels...
-07/12/2016 11:15:22 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
-07/12/2016 11:15:23 AM Subscribe Request received from 12467
-07/12/2016 11:15:23 AM APPENDING Labels...
-07/12/2016 11:15:23 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-2', 'tosca.policies.Placement:properties:region:nova-1'])
-07/12/2016 11:15:24 AM Subscribe Request received from 12467
-07/12/2016 11:15:24 AM OVERWRITING Labels...
-07/12/2016 11:15:24 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-3'])
-07/12/2016 11:15:25 AM Subscribe Request received from 12467
-07/12/2016 11:15:25 AM DELETING Labels...
-07/12/2016 11:15:25 AM Supported Template: set([]) Supported Labels: set([])
-07/12/2016 11:15:26 AM Publish Request received from 12467
-07/12/2016 11:15:26 AM ['tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0', '', 'description: Template for deploying a single server with predefined properties.', '', 'metadata:', ' template_name: TOSCA NFV Sample Template', '', 'policy_types:', ' tosca.policies.Placement.Geolocation:', ' description: Geolocation policy', ' derived_from: tosca.policies.Placement', '', 'topology_template:', ' node_templates:', ' VNF1:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf1', ' vendor: acmetelco', ' version: 1.0', '', ' VNF2:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf2', ' vendor: ericsson', ' version: 1.0', '', ' VNF3:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf3', ' vendor: huawei', ' version: 1.0', '', ' policies:', ' - rule1:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF1 ]', ' properties:', ' region: [ us-west-1 ]', ' - rule2:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF2, VNF3 ]', ' properties:', ' region: [ us-west-1 , us-west-2 ]']
-07/12/2016 11:15:26 AM nfv
-07/12/2016 11:15:26 AM nfv.py
-07/12/2016 11:15:26 AM The input "./toscafiles/template1.yaml" successfully passed validation.
-07/12/2016 11:15:26 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'])}
-07/12/2016 11:15:26 AM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set([])}
-07/12/2016 11:15:26 AM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': []}
-07/12/2016 11:15:26 AM Per domain file paths: {}
-07/12/2016 11:15:27 AM Subscribe Request received from 12467
-07/12/2016 11:15:27 AM APPENDING Labels...
-07/12/2016 11:15:27 AM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])
-07/12/2016 11:15:28 AM Publish Request received from 2672199677499651640
-07/12/2016 11:15:28 AM ['tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0', '', 'description: Template for deploying a single server with predefined properties.', '', 'metadata:', ' template_name: TOSCA NFV Sample Template', '', 'policy_types:', ' tosca.policies.Placement.Geolocation:', ' description: Geolocation policy', ' derived_from: tosca.policies.Placement', '', 'topology_template:', ' node_templates:', ' VNF1:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf1', ' vendor: acmetelco', ' version: 1.0', '', ' VNF2:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf2', ' vendor: ericsson', ' version: 1.0', '', ' VNF3:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf3', ' vendor: huawei', ' version: 1.0', '', ' policies:', ' - rule1:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF1 ]', ' properties:', ' region: [ us-west-1 ]', ' - rule2:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF2, VNF3 ]', ' properties:', ' region: [ us-west-1 , us-west-2 ]']
-07/12/2016 11:15:28 AM ERRNO 17; ./toscafiles/ exists. Creating: ./toscafiles/template1.yaml
-07/12/2016 11:15:28 AM nfv
-07/12/2016 11:15:28 AM nfv.py
-07/12/2016 11:15:28 AM The input "./toscafiles/template1.yaml" successfully passed validation.
-07/12/2016 11:15:28 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'])}
-07/12/2016 11:15:28 AM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set([12467])}
-07/12/2016 11:15:28 AM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': 12467}
-07/12/2016 11:15:28 AM Per domain file paths: {12467: './toscafiles/template_part12467.yaml'}
-07/12/2016 11:15:28 AM Push Response received from 12467
+07/21/2016 03:04:51 PM Domino Server Starting...
+07/21/2016 03:04:52 PM Registration Request received for UDID 12467 from IP: 192.168.254.12 port: 9091
+07/21/2016 03:04:53 PM Registration Request received for UDID 12467 from IP: 192.168.254.12 port: 9092
+07/21/2016 03:04:54 PM heartbeat received from 12467
+07/21/2016 03:04:55 PM Subscribe Request received from 12467
+07/21/2016 03:04:55 PM APPENDING Labels...
+07/21/2016 03:04:55 PM Supported Template: set(['hot']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
+07/21/2016 03:04:56 PM Subscribe Request received from 12467
+07/21/2016 03:04:56 PM APPENDING Labels...
+07/21/2016 03:04:56 PM Supported Template: set(['dummy2', 'dummy1']) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
+07/21/2016 03:04:57 PM Subscribe Request received from 12467
+07/21/2016 03:04:57 PM APPENDING Labels...
+07/21/2016 03:04:57 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-1'])
+07/21/2016 03:04:58 PM Subscribe Request received from 12467
+07/21/2016 03:04:58 PM APPENDING Labels...
+07/21/2016 03:04:58 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-2', 'tosca.policies.Placement:properties:region:nova-1'])
+07/21/2016 03:04:59 PM Subscribe Request received from 12467
+07/21/2016 03:04:59 PM OVERWRITING Labels...
+07/21/2016 03:04:59 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement:properties:region:nova-3'])
+07/21/2016 03:05:00 PM Subscribe Request received from 12467
+07/21/2016 03:05:00 PM DELETING Labels...
+07/21/2016 03:05:00 PM Supported Template: set([]) Supported Labels: set([])
+07/21/2016 03:05:01 PM Publish Request received from 12467
+07/21/2016 03:05:01 PM ['tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0', '', 'description: Template for deploying a single server with predefined properties.', '', 'metadata:', ' template_name: TOSCA NFV Sample Template', '', 'policy_types:', ' tosca.policies.Placement.Geolocation:', ' description: Geolocation policy', ' derived_from: tosca.policies.Placement', '', 'topology_template:', ' node_templates:', ' VNF1:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf1', ' vendor: acmetelco', ' version: 1.0', '', ' VNF2:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf2', ' vendor: ericsson', ' version: 1.0', '', ' VNF3:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf3', ' vendor: huawei', ' version: 1.0', '', ' policies:', ' - rule1:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF1 ]', ' properties:', ' region: [ us-west-1 ]', ' - rule2:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF2, VNF3 ]', ' properties:', ' region: [ us-west-1 , us-west-2 ]']
+07/21/2016 03:05:01 PM nfv
+07/21/2016 03:05:01 PM nfv.py
+07/21/2016 03:05:01 PM The input "./toscafiles/template1.yaml" successfully passed validation.
+07/21/2016 03:05:01 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'])}
+07/21/2016 03:05:01 PM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set([])}
+07/21/2016 03:05:01 PM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': []}
+07/21/2016 03:05:01 PM Per domain file paths: {}
+07/21/2016 03:05:02 PM Subscribe Request received from 12467
+07/21/2016 03:05:02 PM APPENDING Labels...
+07/21/2016 03:05:02 PM Supported Template: set([]) Supported Labels: set(['tosca.policies.Placement.Geolocation:properties:region:us-west-1'])
+07/21/2016 03:05:03 PM Publish Request received from 4877619612774783847
+07/21/2016 03:05:03 PM ['tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0', '', 'description: Template for deploying a single server with predefined properties.', '', 'metadata:', ' template_name: TOSCA NFV Sample Template', '', 'policy_types:', ' tosca.policies.Placement.Geolocation:', ' description: Geolocation policy', ' derived_from: tosca.policies.Placement', '', 'topology_template:', ' node_templates:', ' VNF1:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf1', ' vendor: acmetelco', ' version: 1.0', '', ' VNF2:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf2', ' vendor: ericsson', ' version: 1.0', '', ' VNF3:', ' type: tosca.nodes.nfv.VNF', ' properties:', ' id: vnf3', ' vendor: huawei', ' version: 1.0', '', ' policies:', ' - rule1:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF1 ]', ' properties:', ' region: [ us-west-1 ]', ' - rule2:', ' type: tosca.policies.Placement.Geolocation', ' targets: [ VNF2, VNF3 ]', ' properties:', ' region: [ us-west-1 , us-west-2 ]']
+07/21/2016 03:05:03 PM ERRNO 17; ./toscafiles/ exists. Creating: ./toscafiles/template1.yaml
+07/21/2016 03:05:03 PM nfv
+07/21/2016 03:05:03 PM nfv.py
+07/21/2016 03:05:03 PM The input "./toscafiles/template1.yaml" successfully passed validation.
+07/21/2016 03:05:03 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'])}
+07/21/2016 03:05:03 PM Site Maps: {'VNF2': set([]), 'VNF3': set([]), 'VNF1': set([12467])}
+07/21/2016 03:05:03 PM Selected Sites: {'VNF2': [], 'VNF3': [], 'VNF1': 12467}
+07/21/2016 03:05:03 PM Per domain file paths: {12467: './toscafiles/template_part12467.yaml'}
+07/21/2016 03:05:03 PM Push Response received from 12467