diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/duplicateReqs/out/nested_cscfServiceTemplate.yaml')
1 files changed, 438 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/duplicateReqs/out/nested_cscfServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/duplicateReqs/out/nested_cscfServiceTemplate.yaml new file mode 100644 index 0000000000..f6b8a5d5b3 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/duplicateReqs/out/nested_cscfServiceTemplate.yaml @@ -0,0 +1,438 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: nested_cscf +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.cscf: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + vf_module_id: + hidden: false + immutable: false + type: string + description: Unique ID for this VF Module instance + internal_net_id: + hidden: false + immutable: false + type: string + description: internal network name/uuid + vcscf_release: + hidden: false + immutable: false + type: string + description: IMS release + port_cscf_internal_0_port_0_network_role: + type: string + required: true + cscf_internal_ips: + hidden: false + immutable: false + type: list + description: List of Internal Lan IPs for CSCF instances + entry_schema: + type: string + vcscf_gateway: + hidden: false + immutable: false + type: string + description: OAM unit cipa ip + vnf_name: + hidden: false + immutable: false + type: string + description: Unique name for this VF instance + port_cscf_internal_0_port_0_order: + type: integer + required: true + vf_module_name: + hidden: false + immutable: false + type: string + description: Unique name for this VF Module instance + cscf_image_name: + hidden: false + immutable: false + type: string + description: image name + cscf_names: + hidden: false + immutable: false + type: list + description: List of instance names for CSCF instances + entry_schema: + type: string + port_cscf_internal_0_port_0_subnetpoolid: + type: string + required: true + vcscf_swrepo_address: + hidden: false + immutable: false + type: string + description: SWRepo IP or FQDN + cscf_uuids: + hidden: false + immutable: false + type: list + description: List of UUIDs generated by cmrepo for CSCF instances + entry_schema: + type: string + vnf_id: + hidden: false + immutable: false + type: string + description: Unique ID for this VF instance + availability_zone_0: + hidden: false + immutable: false + type: string + description: Availability zone name for CSCF instances. + cscf_internal_v6_ips: + hidden: false + immutable: false + type: list + description: List of Internal Lan v6 IPs for CSCF instances + entry_schema: + type: string + cscf_flavor_name: + hidden: false + immutable: false + type: string + description: flavor name + vcscf_cmrepo_address: + hidden: false + immutable: false + type: string + description: CMRepo IP or FQDN + vcscf_dns_address: + hidden: false + immutable: false + type: string + description: DNS server IP + vcscf_internal_network_mtu: + hidden: false + immutable: false + type: float + description: MTU for internal network interface (eth0) + constraints: + - in_range: + - 1000 + - 9100 + port_cscf_internal_0_port_0_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_cscf_internal_0_port_0_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + index: + hidden: false + immutable: false + type: float + description: index + constraints: + - in_range: + - 0 + - 119 + vcscf_internal_netmask: + hidden: false + immutable: false + type: string + description: internal netmask + vcscf_name_delimeter: + hidden: false + immutable: false + type: string + description: 'delimeter used in concatenating different words while naming (ex: + "-","_",".",...)' + constraints: + - valid_values: + - '-' + - '' + - _ + - . + port_cscf_internal_0_port_0_network_role_tag: + type: string + required: true + vcscf_dn: + hidden: false + immutable: false + type: string + description: DN name + vcscf_du: + hidden: false + immutable: false + type: string + description: DU name + port_cscf_internal_0_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_cscf_internal_0_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + cscf_security_group: + hidden: false + immutable: false + type: string + description: security group + node_templates: + cscf_server_0: + type: org.openecomp.resource.vfc.compute.nodes.heat.cscf + properties: + flavor: + get_input: cscf_flavor_name + availability_zone: + get_input: availability_zone_0 + image: + get_input: cscf_image_name + metadata: + vf_module_id: + get_input: vf_module_id + vm_role: cscf + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + config_drive: true + user_data_format: RAW + name: + get_input: + - cscf_names + - get_input: index + cscf_internal_0_port_0: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + ip_requirements: + get_input: port_cscf_internal_0_port_0_ip_requirements + security_groups: + - get_input: cscf_security_group + network_role: + get_input: port_cscf_internal_0_port_0_network_role + fixed_ips: + - ip_address: + get_input: + - cscf_internal_ips + - get_input: index + - ip_address: + get_input: + - cscf_internal_v6_ips + - get_input: index + subnetpoolid: + get_input: port_cscf_internal_0_port_0_subnetpoolid + mac_requirements: + get_input: port_cscf_internal_0_port_0_mac_requirements + name: + str_replace: + template: $PREFIX$DELeth0 + params: + $PREFIX: + get_input: + - cscf_names + - get_input: index + $DEL: + get_input: vcscf_name_delimeter + exCP_naming: + get_input: port_cscf_internal_0_port_0_exCP_naming + vlan_requirements: + get_input: port_cscf_internal_0_port_0_vlan_requirements + network_role_tag: + get_input: port_cscf_internal_0_port_0_network_role_tag + network: + get_input: internal_net_id + order: + get_input: port_cscf_internal_0_port_0_order + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: cscf_server_0 + relationship: tosca.relationships.network.BindsTo + groups: + nested_cscf_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/nested_cscf.yaml + description: IMS CSCF + members: + - cscf_server_0 + - cscf_internal_0_port_0 + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.heat.cscf + capabilities: + disk.device.read.requests_cscf_server_0: + - cscf_server_0 + - disk.device.read.requests + disk.device.usage_cscf_server_0: + - cscf_server_0 + - disk.device.usage + disk.device.read.bytes_cscf_server_0: + - cscf_server_0 + - disk.device.read.bytes + network.outgoing.bytes_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.outgoing.bytes + network.incoming.packets_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.incoming.packets + disk.usage_cscf_server_0: + - cscf_server_0 + - disk.usage + disk.allocation_cscf_server_0: + - cscf_server_0 + - disk.allocation + disk.device.allocation_cscf_server_0: + - cscf_server_0 + - disk.device.allocation + cpu_cscf_server_0: + - cscf_server_0 + - cpu + feature_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - feature + disk.read.requests_cscf_server_0: + - cscf_server_0 + - disk.read.requests + disk.device.write.bytes.rate_cscf_server_0: + - cscf_server_0 + - disk.device.write.bytes.rate + disk.device.capacity_cscf_server_0: + - cscf_server_0 + - disk.device.capacity + feature_cscf_server_0: + - cscf_server_0 + - feature + endpoint_cscf_server_0: + - cscf_server_0 + - endpoint + disk.root.size_cscf_server_0: + - cscf_server_0 + - disk.root.size + vcpus_cscf_server_0: + - cscf_server_0 + - vcpus + binding_cscf_server_0: + - cscf_server_0 + - binding + disk.write.bytes.rate_cscf_server_0: + - cscf_server_0 + - disk.write.bytes.rate + host_cscf_server_0: + - cscf_server_0 + - host + network.outpoing.packets_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.outpoing.packets + instance_cscf_server_0: + - cscf_server_0 + - instance + disk.read.bytes.rate_cscf_server_0: + - cscf_server_0 + - disk.read.bytes.rate + memory_cscf_server_0: + - cscf_server_0 + - memory + disk.write.requests_cscf_server_0: + - cscf_server_0 + - disk.write.requests + attachment_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - attachment + disk.device.read.requests.rate_cscf_server_0: + - cscf_server_0 + - disk.device.read.requests.rate + network.outgoing.bytes.rate_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.outgoing.bytes.rate + disk.write.bytes_cscf_server_0: + - cscf_server_0 + - disk.write.bytes + cpu.delta_cscf_server_0: + - cscf_server_0 + - cpu.delta + network.incoming.bytes_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.incoming.bytes + disk.device.read.bytes.rate_cscf_server_0: + - cscf_server_0 + - disk.device.read.bytes.rate + binding_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - binding + disk.device.write.requests_cscf_server_0: + - cscf_server_0 + - disk.device.write.requests + disk.device.write.requests.rate_cscf_server_0: + - cscf_server_0 + - disk.device.write.requests.rate + disk.read.bytes_cscf_server_0: + - cscf_server_0 + - disk.read.bytes + disk.capacity_cscf_server_0: + - cscf_server_0 + - disk.capacity + memory.usage_cscf_server_0: + - cscf_server_0 + - memory.usage + scalable_cscf_server_0: + - cscf_server_0 + - scalable + disk.device.iops_cscf_server_0: + - cscf_server_0 + - disk.device.iops + disk.iops_cscf_server_0: + - cscf_server_0 + - disk.iops + disk.write.requests.rate_cscf_server_0: + - cscf_server_0 + - disk.write.requests.rate + network.incoming.packets.rate_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.incoming.packets.rate + os_cscf_server_0: + - cscf_server_0 + - os + network.outgoing.packets.rate_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.outgoing.packets.rate + disk.ephemeral.size_cscf_server_0: + - cscf_server_0 + - disk.ephemeral.size + cpu_util_cscf_server_0: + - cscf_server_0 + - cpu_util + memory.resident_cscf_server_0: + - cscf_server_0 + - memory.resident + network.incoming.bytes.rate_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - network.incoming.bytes.rate + disk.latency_cscf_server_0: + - cscf_server_0 + - disk.latency + disk.device.latency_cscf_server_0: + - cscf_server_0 + - disk.device.latency + disk.device.write.bytes_cscf_server_0: + - cscf_server_0 + - disk.device.write.bytes + requirements: + dependency_cscf_server_0: + - cscf_server_0 + - dependency + dependency_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - dependency + link_cscf_internal_0_port_0: + - cscf_internal_0_port_0 + - link + local_storage_cscf_server_0: + - cscf_server_0 + - local_storage |