summaryrefslogtreecommitdiffstats
path: root/aria/multivim-plugin/nova_plugin/tests/resources/test-start-operation-retry-blueprint.yaml
blob: 275806cf5a584dc829c34257277cfab30085e9b5 (plain)
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
tosca_definitions_version: cloudify_dsl_1_3

imports:
  - https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager/4.1/resources/rest-service/cloudify/types/types.yaml
  - plugin.yaml

inputs:
  use_password:
    type: boolean
    default: false

node_templates:
  server:
    type: cloudify.openstack.nodes.Server
    properties:
      install_agent: false
      use_password: { get_input: use_password }
      server:
        key_name: key
        scheduler_hints:
          group: affinity-group-id
      openstack_config:
        username: aaa
        password: aaa
        tenant_name: aaa
        auth_url: aaa
    interfaces:
      cloudify.interfaces.lifecycle:
        start:
          inputs:
            start_retry_interval: 1