From 0d1a7cbd73b3a42eb1dc32b598ed78080a7155bc Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Thu, 17 Nov 2016 10:57:56 -0800 Subject: Replace toscaparser with native yaml to load published Tosca file into memory Change-Id: I2ab06c97d103f95d53db256675b6949fa2b7b308 Signed-off-by: Ulas Kozat --- tests/logdata/client1.log | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'tests/logdata/client1.log') diff --git a/tests/logdata/client1.log b/tests/logdata/client1.log index 665a331..c2ebd4b 100644 --- a/tests/logdata/client1.log +++ b/tests/logdata/client1.log @@ -1,3 +1,4 @@ +<<<<<<< HEAD 09/21/2016 10:08:40 AM Domino Client Starting... 09/21/2016 10:08:40 AM 1 Sending Registration 09/21/2016 10:08:40 AM Registration Response: Response Code: 1 @@ -31,3 +32,38 @@ 09/21/2016 10:08:50 AM subscribing labels ['tosca.policies.Placement.Geolocation:properties:region:us-west-1'] and templates [] 09/21/2016 10:08:50 AM Subscribe Response is received from: 0 ,sequence number: 10 09/21/2016 10:08:51 AM 12467 Received Template File +======= +11/17/2016 10:51:34 AM Domino Client Starting... +11/17/2016 10:51:34 AM 1 Sending Registration +11/17/2016 10:51:34 AM Registration Response: Response Code: 1 +11/17/2016 10:51:34 AM CLI Service is starting +11/17/2016 10:51:34 AM RPC service for CLI is starting... +11/17/2016 10:51:36 AM Received CLI ['heartbeat'] +11/17/2016 10:51:36 AM 0 Sending heartbeat +11/17/2016 10:51:36 AM heart beat received from: 0 ,sequence number: 2 +11/17/2016 10:51:37 AM Received CLI ['subscribe', '-t', 'hot', '-l', 'tosca.policies.Placement:properties:region:nova-1'] +11/17/2016 10:51:37 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-1'] and templates ['hot'] +11/17/2016 10:51:37 AM Subscribe Response is received from: 0 ,sequence number: 3 +11/17/2016 10:51:38 AM Received CLI ['subscribe', '-t', 'dummy1,dummy2', '--top', 'OVERWRITE'] +11/17/2016 10:51:38 AM subscribing labels [] and templates ['dummy1', 'dummy2'] +11/17/2016 10:51:38 AM Subscribe Response is received from: 0 ,sequence number: 4 +11/17/2016 10:51:39 AM Received CLI ['subscribe', '-t', 'dummy1,dummy2', '--top', 'DELETE'] +11/17/2016 10:51:39 AM subscribing labels [] and templates ['dummy1', 'dummy2'] +11/17/2016 10:51:39 AM Subscribe Response is received from: 0 ,sequence number: 5 +11/17/2016 10:51:40 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-2'] +11/17/2016 10:51:40 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-2'] and templates [] +11/17/2016 10:51:40 AM Subscribe Response is received from: 0 ,sequence number: 6 +11/17/2016 10:51:41 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-3', '--lop', 'OVERWRITE'] +11/17/2016 10:51:41 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates [] +11/17/2016 10:51:41 AM Subscribe Response is received from: 0 ,sequence number: 7 +11/17/2016 10:51:42 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement:properties:region:nova-3', '--lop', 'DELETE'] +11/17/2016 10:51:42 AM subscribing labels ['tosca.policies.Placement:properties:region:nova-3'] and templates [] +11/17/2016 10:51:42 AM Subscribe Response is received from: 0 ,sequence number: 8 +11/17/2016 10:51:43 AM Received CLI ['publish', '-t', './tosca-templates/tosca_helloworld_nfv.yaml'] +11/17/2016 10:51:43 AM Publishing the template file: ./tosca-templates/tosca_helloworld_nfv.yaml +11/17/2016 10:51:43 AM Publish Response is received from: 0 ,sequence number: 9 Op. Status: 2 +11/17/2016 10:51:44 AM Received CLI ['subscribe', '-l', 'tosca.policies.Placement.Geolocation:properties:region:us-west-1'] +11/17/2016 10:51:44 AM subscribing labels ['tosca.policies.Placement.Geolocation:properties:region:us-west-1'] and templates [] +11/17/2016 10:51:44 AM Subscribe Response is received from: 0 ,sequence number: 10 +11/17/2016 10:51:45 AM 0 Received Template File +>>>>>>> e746280... Replace toscaparser with native yaml to load published Tosca file into memory -- cgit 1.2.3-korg 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
heat_template_version: 2016-10-14

description: >
  OpenStack Nova API service configured with Puppet

parameters:
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  NovaWorkers:
    default: 0
    description: Number of workers for Nova API service.
    type: number

conditions:
  nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}

outputs:
  role_data:
    description: Role data for the Nova Metadata service.
    value:
      service_name: nova_metadata
      config_settings:
        map_merge:
        - nova::api::metadata_listen: {get_param: [ServiceNetMap, NovaMetadataNetwork]}
        -
          if:
          - nova_workers_zero
          - {}
          - nova::api::metadata_workers: {get_param: NovaWorkers}
      step_config: ""