From 2961f612f5e808d8229ab5ad7028c3526233e33a Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Wed, 20 Jul 2016 17:47:50 -0700 Subject: update installation, configuration guide, configuration file and client Change-Id: I686c7d2c39894f68b73d1dd54071eb637acf846d Signed-off-by: Ulas Kozat --- tests/logdata/client1.log | 66 +++++++++++++++++----------------- tests/logdata/server.log | 90 +++++++++++++++++++++++------------------------ 2 files changed, 78 insertions(+), 78 deletions(-) (limited to 'tests/logdata') 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 -- cgit 1.2.3-korg