aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichPortMirroring/singleSubstitution/diffPortType/in/Nested_pd_serverServiceTemplate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichPortMirroring/singleSubstitution/diffPortType/in/Nested_pd_serverServiceTemplate.yaml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichPortMirroring/singleSubstitution/diffPortType/in/Nested_pd_serverServiceTemplate.yaml669
1 files changed, 669 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichPortMirroring/singleSubstitution/diffPortType/in/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichPortMirroring/singleSubstitution/diffPortType/in/Nested_pd_serverServiceTemplate.yaml
new file mode 100644
index 0000000000..df20b892c2
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichPortMirroring/singleSubstitution/diffPortType/in/Nested_pd_serverServiceTemplate.yaml
@@ -0,0 +1,669 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Nested_pd_server
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.nodes.heat.pd_server:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ port_pd01_port_replacement_policy:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_flavor_name:
+ type: string
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_order:
+ type: integer
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_template_VMInt_OAM_lb_internal_VMI_virtual_machine_interface_properties:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
+ required: true
+ port_pd01_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ vm_image_name:
+ type: string
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pd03_port_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pd01_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd03_port_order:
+ type: integer
+ required: true
+ port_pd03_port_network_role:
+ type: string
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_virtual_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_pd03_port_replacement_policy:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pd02_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd01_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pd02_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd03_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pd03_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_template_VMInt_OAM_lb_internal_VMI_port_tuple_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_pd02_port_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pd01_port_network_role_tag:
+ type: string
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_network_role_tag:
+ type: string
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_security_group_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ compute_pd_server_contrail_service_instance_ind:
+ type: list
+ required: true
+ entry_schema:
+ type: boolean
+ compute_pd_server_availability_zone:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_pd_server_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pd02_port_network_role_tag:
+ type: string
+ required: true
+ port_pd03_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_template_VMInt_OAM_lb_internal_VMI_subnetpoolid:
+ type: string
+ required: true
+ port_pd02_port_replacement_policy:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pd01_port_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pd02_port_network_role:
+ type: string
+ required: true
+ port_pd03_port_network_role_tag:
+ type: string
+ required: true
+ port_template_VMInt_OAM_lb_internal_VMI_network_role:
+ type: string
+ required: true
+ port_pd03_port_subnetpoolid:
+ type: string
+ required: true
+ compute_pd_server_user_data_format:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_template_VMInt_OAM_lb_internal_VMI_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd02_port_order:
+ type: integer
+ required: true
+ port_pd02_port_subnetpoolid:
+ type: string
+ required: true
+ port_pd01_port_network:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pd01_port_order:
+ type: integer
+ required: true
+ port_pd01_port_subnetpoolid:
+ type: string
+ required: true
+ port_pd02_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd01_port_network_role:
+ type: string
+ required: true
+ port_pd02_port_network:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_template_VMInt_OAM_lb_internal_VMI_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ node_templates:
+ pd_server:
+ type: org.openecomp.resource.vfc.nodes.heat.pd_server
+ properties:
+ availability_zone:
+ get_input:
+ - compute_pd_server_availability_zone
+ - index_value
+ flavor:
+ get_input: vm_flavor_name
+ image:
+ get_input: vm_image_name
+ contrail_service_instance_ind:
+ get_input:
+ - compute_pd_server_contrail_service_instance_ind
+ - index_value
+ name:
+ get_input:
+ - compute_pd_server_name
+ - index_value
+ user_data_format:
+ get_input:
+ - compute_pd_server_user_data_format
+ - index_value
+ pd_server_pd01_port:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ exCP_naming:
+ get_input: port_pd01_port_exCP_naming
+ replacement_policy:
+ get_input:
+ - port_pd01_port_replacement_policy
+ - index_value
+ vlan_requirements:
+ get_input: port_pd01_port_vlan_requirements
+ ip_requirements:
+ get_input: port_pd01_port_ip_requirements
+ network_role_tag:
+ get_input: port_pd01_port_network_role_tag
+ mac_requirements:
+ get_input: port_pd01_port_mac_requirements
+ order:
+ get_input: port_pd01_port_order
+ network_role:
+ get_input: port_pd01_port_network_role
+ subnetpoolid:
+ get_input: port_pd01_port_subnetpoolid
+ network:
+ get_input:
+ - port_pd01_port_network
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pd_server
+ relationship: tosca.relationships.network.BindsTo
+ pd_server_pd02_port:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ exCP_naming:
+ get_input: port_pd02_port_exCP_naming
+ replacement_policy:
+ get_input:
+ - port_pd02_port_replacement_policy
+ - index_value
+ vlan_requirements:
+ get_input: port_pd02_port_vlan_requirements
+ ip_requirements:
+ get_input: port_pd02_port_ip_requirements
+ network_role_tag:
+ get_input: port_pd02_port_network_role_tag
+ mac_requirements:
+ get_input: port_pd02_port_mac_requirements
+ order:
+ get_input: port_pd02_port_order
+ network_role:
+ get_input: port_pd02_port_network_role
+ subnetpoolid:
+ get_input: port_pd02_port_subnetpoolid
+ network:
+ get_input:
+ - port_pd02_port_network
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pd_server
+ relationship: tosca.relationships.network.BindsTo
+ pd_server_template_VMInt_OAM_lb_internal_VMI:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_mac_requirements
+ order:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_order
+ exCP_naming:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_vlan_requirements
+ virtual_machine_interface_properties:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_virtual_machine_interface_properties
+ - index_value
+ security_group_refs:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_security_group_refs
+ - index_value
+ virtual_network_refs:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_ip_requirements
+ network_role_tag:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_virtual_machine_interface_mac_addresses
+ - index_value
+ port_tuple_refs:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_port_tuple_refs
+ - index_value
+ network_role:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_network_role
+ subnetpoolid:
+ get_input: port_template_VMInt_OAM_lb_internal_VMI_subnetpoolid
+ name:
+ get_input:
+ - port_template_VMInt_OAM_lb_internal_VMI_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pd_server
+ relationship: tosca.relationships.network.BindsTo
+ #Port connected to server but not connected to network -> External
+ pd_server_pd03_port:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ exCP_naming:
+ get_input: port_pd03_port_exCP_naming
+ replacement_policy:
+ get_input:
+ - port_pd03_port_replacement_policy
+ - index_value
+ vlan_requirements:
+ get_input: port_pd03_port_vlan_requirements
+ ip_requirements:
+ get_input: port_pd03_port_ip_requirements
+ network_role_tag:
+ get_input: port_pd03_port_network_role_tag
+ mac_requirements:
+ get_input: port_pd03_port_mac_requirements
+ order:
+ get_input: port_pd03_port_order
+ network_role:
+ get_input: port_pd03_port_network_role
+ subnetpoolid:
+ get_input: port_pd03_port_subnetpoolid
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pd_server
+ relationship: tosca.relationships.network.BindsTo
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.pd_server
+ capabilities:
+ scalable_pd_server:
+ - pd_server
+ - scalable
+ disk.read.bytes.rate_pd_server:
+ - pd_server
+ - disk.read.bytes.rate
+ network.incoming.bytes.rate_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.incoming.bytes.rate
+ memory.usage_pd_server:
+ - pd_server
+ - memory.usage
+ memory_pd_server:
+ - pd_server
+ - memory
+ disk.device.usage_pd_server:
+ - pd_server
+ - disk.device.usage
+ network.outgoing.packets.rate_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.outgoing.packets.rate
+ binding_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - binding
+ network.incoming.packets_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.incoming.packets
+ os_pd_server:
+ - pd_server
+ - os
+ disk.write.bytes.rate_pd_server:
+ - pd_server
+ - disk.write.bytes.rate
+ network.incoming.bytes_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.incoming.bytes
+ cpu_pd_server:
+ - pd_server
+ - cpu
+ cpu_util_pd_server:
+ - pd_server
+ - cpu_util
+ disk.device.write.requests.rate_pd_server:
+ - pd_server
+ - disk.device.write.requests.rate
+ disk.read.bytes_pd_server:
+ - pd_server
+ - disk.read.bytes
+ disk.device.read.bytes.rate_pd_server:
+ - pd_server
+ - disk.device.read.bytes.rate
+ binding_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - binding
+ network.outgoing.bytes_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.outgoing.bytes
+ network.outgoing.packets.rate_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.outgoing.packets.rate
+ network.incoming.bytes_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.incoming.bytes
+ disk.iops_pd_server:
+ - pd_server
+ - disk.iops
+ memory.resident_pd_server:
+ - pd_server
+ - memory.resident
+ cpu.delta_pd_server:
+ - pd_server
+ - cpu.delta
+ network.incoming.packets.rate_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.incoming.packets.rate
+ network.outgoing.bytes_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.outgoing.bytes
+ feature_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - feature
+ network.incoming.bytes.rate_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.incoming.bytes.rate
+ network.outgoing.bytes.rate_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.outgoing.bytes.rate
+ vcpus_pd_server:
+ - pd_server
+ - vcpus
+ disk.device.write.bytes.rate_pd_server:
+ - pd_server
+ - disk.device.write.bytes.rate
+ disk.device.write.requests_pd_server:
+ - pd_server
+ - disk.device.write.requests
+ endpoint_pd_server:
+ - pd_server
+ - endpoint
+ attachment_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - attachment
+ network.outpoing.packets_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.outpoing.packets
+ disk.capacity_pd_server:
+ - pd_server
+ - disk.capacity
+ binding_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - binding
+ disk.device.allocation_pd_server:
+ - pd_server
+ - disk.device.allocation
+ disk.allocation_pd_server:
+ - pd_server
+ - disk.allocation
+ network.incoming.packets_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.incoming.packets
+ binding_pd_server:
+ - pd_server
+ - binding
+ disk.read.requests_pd_server:
+ - pd_server
+ - disk.read.requests
+ network.outgoing.bytes_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.outgoing.bytes
+ feature_pd_server:
+ - pd_server
+ - feature
+ network.incoming.bytes.rate_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.incoming.bytes.rate
+ disk.usage_pd_server:
+ - pd_server
+ - disk.usage
+ network.outpoing.packets_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.outpoing.packets
+ attachment_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - attachment
+ network.outgoing.packets.rate_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.outgoing.packets.rate
+ binding_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - binding
+ network.incoming.bytes_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.incoming.bytes
+ disk.write.bytes_pd_server:
+ - pd_server
+ - disk.write.bytes
+ network.incoming.packets.rate_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.incoming.packets.rate
+ network.incoming.bytes.rate_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.incoming.bytes.rate
+ network.incoming.packets_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.incoming.packets
+ disk.device.read.requests.rate_pd_server:
+ - pd_server
+ - disk.device.read.requests.rate
+ disk.root.size_pd_server:
+ - pd_server
+ - disk.root.size
+ feature_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - feature
+ disk.device.read.bytes_pd_server:
+ - pd_server
+ - disk.device.read.bytes
+ network.outgoing.bytes.rate_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.outgoing.bytes.rate
+ feature_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - feature
+ disk.device.write.bytes_pd_server:
+ - pd_server
+ - disk.device.write.bytes
+ network.outpoing.packets_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.outpoing.packets
+ disk.device.read.requests_pd_server:
+ - pd_server
+ - disk.device.read.requests
+ network.incoming.packets_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - network.incoming.packets
+ instance_pd_server:
+ - pd_server
+ - instance
+ host_pd_server:
+ - pd_server
+ - host
+ network.outpoing.packets_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.outpoing.packets
+ attachment_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - attachment
+ network.outgoing.bytes.rate_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.outgoing.bytes.rate
+ network.incoming.packets.rate_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.incoming.packets.rate
+ disk.write.requests.rate_pd_server:
+ - pd_server
+ - disk.write.requests.rate
+ disk.ephemeral.size_pd_server:
+ - pd_server
+ - disk.ephemeral.size
+ network.outgoing.bytes_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.outgoing.bytes
+ disk.write.requests_pd_server:
+ - pd_server
+ - disk.write.requests
+ feature_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - feature
+ disk.device.latency_pd_server:
+ - pd_server
+ - disk.device.latency
+ network.incoming.packets.rate_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.incoming.packets.rate
+ disk.latency_pd_server:
+ - pd_server
+ - disk.latency
+ disk.device.capacity_pd_server:
+ - pd_server
+ - disk.device.capacity
+ network.outgoing.bytes.rate_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - network.outgoing.bytes.rate
+ network.outgoing.packets.rate_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - network.outgoing.packets.rate
+ disk.device.iops_pd_server:
+ - pd_server
+ - disk.device.iops
+ network.incoming.bytes_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - network.incoming.bytes
+ requirements:
+ local_storage_pd_server:
+ - pd_server
+ - local_storage
+ link_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - link
+ dependency_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - dependency
+ link_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - link
+ dependency_pd_server_pd01_port:
+ - pd_server_pd01_port
+ - dependency
+ link_pd_server_template_VMInt_OAM_lb_internal_VMI:
+ - pd_server_template_VMInt_OAM_lb_internal_VMI
+ - link
+ dependency_pd_server:
+ - pd_server
+ - dependency
+ dependency_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - dependency
+ link_pd_server_pd03_port:
+ - pd_server_pd03_port
+ - link
+ dependency_pd_server_pd02_port:
+ - pd_server_pd02_port
+ - dependency