summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern5/complexVFCMultiLevelNestedScenario/out/MainServiceTemplate.yaml
blob: 1c675f2a9a92db47421af10cd73f17ff011d5171 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Main
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
topology_template:
  inputs:
    packet_external_network_name:
      hidden: false
      immutable: false
      annotations:
        source:
          type: org.openecomp.annotations.Source
          properties:
            vf_module_label:
            - main
            source_type: HEAT
            param_name: packet_external_network_name
      type: string
      description: network name
    packet_internal_network_name:
      hidden: false
      immutable: false
      annotations:
        source:
          type: org.openecomp.annotations.Source
          properties:
            vf_module_label:
            - main
            source_type: HEAT
            param_name: packet_internal_network_name
      type: string
    jsa_name:
      hidden: false
      immutable: false
      annotations:
        source:
          type: org.openecomp.annotations.Source
          properties:
            vf_module_label:
            - main
            source_type: HEAT
            param_name: jsa_name
      type: string
      description: network name of jsa log network
  node_templates:
    packet_external_network:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        network_name:
          get_input: packet_external_network_name
    packet_internal_network:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        network_name:
          get_input: packet_internal_network_name
    test_nested_level1:
      type: org.openecomp.resource.abstract.nodes.heat.nested_pattern5
      directives:
      - substitutable
      properties:
        port_net: packet_internal_network
        service_template_filter:
          substitute_service_template: nested_pattern5ServiceTemplate.yaml
        sub_inf_net: packet_external_network
      requirements:
      - link_pd_server_1b_port_0:
          capability: tosca.capabilities.network.Linkable
          node: packet_internal_network
          relationship: tosca.relationships.network.LinksTo
      - link_pd_server_1b_port_1_test_nested_level2:
          capability: tosca.capabilities.network.Linkable
          node: packet_internal_network
          relationship: tosca.relationships.network.LinksTo
      - link_template_Vlan_vmi_1_test_resourceGroup_0:
          capability: tosca.capabilities.network.Linkable
          node: packet_external_network
          relationship: tosca.relationships.network.LinksTo
      - link_template_Vlan_vmi_1_test_resourceGroup_1_test_nested_level2:
          capability: tosca.capabilities.network.Linkable
          node: packet_external_network
          relationship: tosca.relationships.network.LinksTo
  groups:
    main_group:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/main.yml
        description: |
          Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
      members:
      - packet_external_network
      - packet_internal_network
      - test_nested_level1