aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrail2serviceinstance/sharedNetworkNested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
blob: a11b54226bcc6bc157d1292dbb8391d9221787d4 (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: GlobalSubstitutionTypes
imports:
  ContrailComputeGlobalTypes:
    file: ContrailComputeGlobalTypesServiceTemplate.yaml
  CinderVolumeGlobalTypes:
    file: CinderVolumeGlobalTypesServiceTemplate.yaml
  ContrailVirtualNetworkGlobalType:
    file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
  AbstractSubstituteGlobalTypes:
    file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
  ContrailPortGlobalTypes:
    file: ContrailPortGlobalTypesServiceTemplate.yaml
  NeutronPortGlobalTypes:
    file: NeutronPortGlobalTypesServiceTemplate.yaml
  NeutronNetGlobalTypes:
    file: NeutronNetGlobalTypesServiceTemplate.yaml
  CommonGlobalTypes:
    file: CommonGlobalTypesServiceTemplate.yaml
  ContrailAbstractSubstituteGlobalTypes:
    file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
  ContrailNetworkRuleGlobalType:
    file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
  NeutronSecurityRulesGlobalTypes:
    file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
  NovaServerGlobalTypes:
    file: NovaServerGlobalTypesServiceTemplate.yaml
  ContrailV2VirtualMachineInterfaceGlobalType:
    file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
node_types:
  org.openecomp.resource.vfc.nodes.heat.st_image:
    derived_from: org.openecomp.resource.vfc.nodes.heat.contrail.Compute
  org.openecomp.resource.abstract.nodes.heat.service_template:
    derived_from: org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute
    requirements:
    - link_port_0:
        capability: tosca.capabilities.network.Linkable
        node: tosca.nodes.Root
        relationship: tosca.relationships.network.LinksTo
        occurrences:
        - 1
        - 1
  org.openecomp.resource.abstract.nodes.heat.OCS-fw:
    derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
    properties:
      service_policy_name:
        type: string
        description: Policy Name
      st_static_routes_list:
        type: string
        description: List of static routes enabled-disabled
      st_type:
        type: string
        description: service type
      st_service_interface_type_list:
        type: string
        description: List of interface types
      st_mode:
        type: string
        description: service mode
      Cricket_OCS_protected_net_id:
        type: string
        description: Name of Cricket OCS network
      oam_mgmt_net_0_id:
        type: string
        description: Name of OAM network
      start_dst_ports:
        type: float
        description: Start of dst port
      st_flavor:
        type: string
        description: Flavor
      availability_zone_1:
        type: string
        description: availability zone
      service_instance_name:
        type: string
        description: Service instance name
      st_scaling:
        type: string
        description: Indicates whether service scaling is enabled
      max_num_fw_instances:
        type: float
        description: maximum number of firewall instances for scaling
      start_src_ports:
        type: float
        description: Start of src port
      service_policy_direction:
        type: string
        description: Direction of Policy
      st_name:
        type: string
        description: Name of service template
      hsl_direct_net3:
        type: string
      hsl_direct_net4:
        type: string
      HSL_direct_net_gateway:
        type: string
        description: HSL (Logging) network gateway address
      hsl_direct_net1:
        type: string
      hsl_direct_net2:
        type: string
      st_image:
        type: string
        description: Name of the image
      st_shared_ip_list:
        type: string
        description: List of shared ip enabled-disabled
      Cricket_OCS_direct_net_id:
        type: string
        description: Name of Cricket OCS network
      network_param:
        type: string
      end_src_ports:
        type: float
        description: End of src port
      end_dst_ports:
        type: float
        description: End of dst port
      HSL_direct_net_id:
        type: string
        description: Name of HSL (Logging) network
      HSL_direct_net_cidr:
        type: string
        description: HSL (Logging) network address (CIDR notation)
    requirements:
    - link_port_0_service_instance:
        capability: tosca.capabilities.network.Linkable
        node: tosca.nodes.Root
        relationship: tosca.relationships.network.LinksTo
        occurrences:
        - 1
        - 1
    - network_service_policy:
        capability: tosca.capabilities.Attachment
        node: tosca.nodes.network.Network
        relationship: org.openecomp.relationships.AttachesTo
        occurrences:
        - 0
        - UNBOUNDED
    capabilities:
      link_hsl_direct_net:
        type: tosca.capabilities.network.Linkable
        occurrences:
        - 1
        - UNBOUNDED
      attachment_hsl_direct_net:
        type: tosca.capabilities.Attachment
        occurrences:
        - 1
        - UNBOUNDED