From 280f8015d06af1f41a3ef12e8300801c7a5e0d54 Mon Sep 17 00:00:00 2001 From: AviZi Date: Fri, 9 Jun 2017 02:39:56 +0300 Subject: [SDC-29] Amdocs OnBoard 1707 initial commit. Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi --- ...stractSubstituteGlobalTypesServiceTemplate.yaml | 88 ----- .../CinderVolumeGlobalTypesServiceTemplate.yaml | 178 ----------- .../CommonGlobalTypesServiceTemplate.yaml | 354 --------------------- ...stractSubstituteGlobalTypesServiceTemplate.yaml | 166 ---------- .../ContrailComputeGlobalTypesServiceTemplate.yaml | 89 ------ ...ntrailNetworkRuleGlobalTypeServiceTemplate.yaml | 131 -------- .../ContrailPortGlobalTypesServiceTemplate.yaml | 64 ---- ...railV2NetworkRuleGlobalTypeServiceTemplate.yaml | 156 --------- ...lMachineInterfaceGlobalTypeServiceTemplate.yaml | 69 ---- ...lV2VirtualNetworkGlobalTypeServiceTemplate.yaml | 139 -------- ...ailVirtualNetworkGlobalTypeServiceTemplate.yaml | 84 ----- .../expectedoutputfiles/MainServiceTemplate.yaml | 196 ------------ .../NativeTypesServiceTemplateServiceTemplate.yaml | 205 ------------ .../NeutronNetGlobalTypesServiceTemplate.yaml | 97 ------ .../NeutronPortGlobalTypesServiceTemplate.yaml | 151 --------- ...ronSecurityRulesGlobalTypesServiceTemplate.yaml | 116 ------- .../NovaServerGlobalTypesServiceTemplate.yaml | 249 --------------- .../global_types/inputfiles/MANIFEST.json | 11 - .../global_types/inputfiles/hot_template.yml | 2 +- 19 files changed, 1 insertion(+), 2544 deletions(-) delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/AbstractSubstituteGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CinderVolumeGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CommonGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailComputeGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailNetworkRuleGlobalTypeServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailPortGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/MainServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NativeTypesServiceTemplateServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronNetGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronPortGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronSecurityRulesGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NovaServerGlobalTypesServiceTemplate.yaml delete mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/MANIFEST.json (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/AbstractSubstituteGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/AbstractSubstituteGlobalTypesServiceTemplate.yaml deleted file mode 100644 index f94194186f..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/AbstractSubstituteGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,88 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: AbstractSubstituteGlobalTypes - template_version: 1.0.0 -description: Abstract Substitute Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.substitution.SubstitutionFiltering: - derived_from: tosca.datatypes.Root - description: Substitution Filter - properties: - substitute_service_template: - type: string - description: Substitute Service Template - required: true - status: SUPPORTED - index_value: - type: integer - description: Index value of the substitution service template runtime instance - required: false - default: 0 - status: SUPPORTED - constraints: - - greater_or_equal: 0 - count: - type: string - description: Count - required: false - default: 1 - status: SUPPORTED - scaling_enabled: - type: boolean - description: Indicates whether service scaling is enabled - required: false - default: true - status: SUPPORTED - mandatory: - type: boolean - description: Mandatory - required: false - default: true - status: SUPPORTED - org.openecomp.datatypes.heat.substitution.SubstitutionFilter: - derived_from: tosca.datatypes.Root - description: Substitution Filter - properties: - substitute_service_template: - type: string - description: Substitute Service Template - required: true - status: SUPPORTED - index_variable: - type: string - description: Index variable - required: false - default: '%index%' - status: SUPPORTED - constraints: - - min_length: 3 - count: - type: string - description: Count - required: false - default: 1 - status: SUPPORTED - scaling_enabled: - type: boolean - description: Indicates whether service scaling is enabled - required: false - default: true - status: SUPPORTED - mandatory: - type: boolean - description: Mandatory - required: false - default: true - status: SUPPORTED -node_types: - org.openecomp.resource.abstract.nodes.AbstractSubstitute: - derived_from: tosca.nodes.Root - properties: - service_template_filter: - type: org.openecomp.datatypes.heat.substitution.SubstitutionFiltering - description: Substitution Filter - required: true - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CinderVolumeGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CinderVolumeGlobalTypesServiceTemplate.yaml deleted file mode 100644 index 03add7648e..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CinderVolumeGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,178 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: CinderVolumeGlobalTypes - template_version: 1.0.0 -description: Cinder Volume TOSCA Global Types -relationship_types: - org.openecomp.relationships.heat.cinder.VolumeAttachesTo: - derived_from: tosca.relationships.AttachesTo - description: This type represents an attachment relationship for associating volume - properties: - volume_id: - type: string - description: The ID of the volume to be attached - required: true - status: SUPPORTED - location: - type: string - description: The location where the volume is exposed on the instance, mountpoint - required: false - status: SUPPORTED - instance_uuid: - type: string - description: The ID of the server to which the volume attaches - required: true - status: SUPPORTED - attributes: - show: - type: string - description: Detailed information about resource - status: SUPPORTED -node_types: - org.openecomp.resource.vfc.nodes.heat.cinder.Volume: - derived_from: tosca.nodes.BlockStorage - properties: - availability_zone: - type: string - description: The availability zone in which the volume will be created - required: false - status: SUPPORTED - image: - type: string - description: If specified, the name or ID of the image to create the volume from - required: false - status: SUPPORTED - metadata: - type: map - description: Key/value pairs to associate with the volume - required: false - status: SUPPORTED - entry_schema: - type: string - volume_type: - type: string - description: If specified, the type of volume to use, mapping to a specific backend - required: false - status: SUPPORTED - description: - type: string - description: A description of the volume - required: false - status: SUPPORTED - device_type: - type: string - description: Device type - required: false - status: SUPPORTED - constraints: - - valid_values: - - cdrom - - disk - disk_bus: - type: string - description: 'Bus of the device: hypervisor driver chooses a suitable default - if omitted' - required: false - status: SUPPORTED - constraints: - - valid_values: - - ide - - lame_bus - - scsi - - usb - - virtio - backup_id: - type: string - description: If specified, the backup to create the volume from - required: false - status: SUPPORTED - source_volid: - type: string - description: If specified, the volume to use as source - required: false - status: SUPPORTED - boot_index: - type: integer - description: Integer used for ordering the boot disks - required: false - status: SUPPORTED - size: - type: scalar-unit.size - description: The requested storage size (default unit is MB) - required: false - status: SUPPORTED - constraints: - - greater_or_equal: 1 GB - read_only: - type: boolean - description: Enables or disables read-only access mode of volume - required: false - status: SUPPORTED - name: - type: string - description: A name used to distinguish the volume - required: false - status: SUPPORTED - scheduler_hints: - type: map - description: Arbitrary key-value pairs specified by the client to help the Cinder scheduler creating a volume - required: false - status: SUPPORTED - entry_schema: - type: string - swap_size: - type: scalar-unit.size - description: The size of the swap, in MB - required: false - status: SUPPORTED - delete_on_termination: - type: boolean - description: Indicate whether the volume should be deleted when the server is terminated - required: false - status: SUPPORTED - multiattach: - type: boolean - description: Whether allow the volume to be attached more than once - required: false - status: SUPPORTED - attributes: - display_description: - type: string - description: Description of the volume - status: SUPPORTED - attachments: - type: string - description: The list of attachments of the volume - status: SUPPORTED - entry_schema: - type: string - encrypted: - type: boolean - description: Boolean indicating if the volume is encrypted or not - status: SUPPORTED - show: - type: string - description: Detailed information about resource - status: SUPPORTED - created_at: - type: timestamp - description: The timestamp indicating volume creation - status: SUPPORTED - display_name: - type: string - description: Name of the volume - status: SUPPORTED - metadata_values: - type: map - description: Key/value pairs associated with the volume in raw dict form - status: SUPPORTED - entry_schema: - type: string - bootable: - type: boolean - description: Boolean indicating if the volume can be booted or not - status: SUPPORTED - status: - type: string - description: The current status of the volume - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CommonGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CommonGlobalTypesServiceTemplate.yaml deleted file mode 100644 index 4feb78f371..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/CommonGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,354 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: CommonGlobalTypes - template_version: 1.0.0 -description: TOSCA Global Types -imports: - NativeTypesServiceTemplate: - file: NativeTypesServiceTemplateServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.network.AddressPair: - derived_from: tosca.datatypes.Root - description: MAC/IP address pairs - properties: - mac_address: - type: string - description: MAC address - required: false - status: SUPPORTED - ip_address: - type: string - description: IP address - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.network.AllocationPool: - derived_from: tosca.datatypes.Root - description: The start and end addresses for the allocation pool - properties: - start: - type: string - description: Start address for the allocation pool - required: false - status: SUPPORTED - end: - type: string - description: End address for the allocation pool - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.network.contrail.AddressPair: - derived_from: tosca.datatypes.Root - description: Address Pair - properties: - address_mode: - type: string - description: Address mode active-active or active-standy - required: false - status: SUPPORTED - constraints: - - valid_values: - - active-active - - active-standby - prefix: - type: string - description: IP address prefix - required: false - status: SUPPORTED - mac_address: - type: string - description: Mac address - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.network.subnet.HostRoute: - derived_from: tosca.datatypes.Root - description: Host route info for the subnet - properties: - destination: - type: string - description: The destination for static route - required: false - status: SUPPORTED - nexthop: - type: string - description: The next hop for the destination - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.network.contrail.port.StaticRoute: - derived_from: tosca.datatypes.Root - description: static route - properties: - prefix: - type: string - description: Route prefix - required: false - status: SUPPORTED - next_hop: - type: string - description: Next hop - required: false - status: SUPPORTED - next_hop_type: - type: string - description: Next hop type - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.network.neutron.Subnet: - derived_from: tosca.datatypes.Root - description: A subnet represents an IP address block that can be used for assigning IP addresses to virtual instances - properties: - tenant_id: - type: string - description: The ID of the tenant who owns the network - required: false - status: SUPPORTED - enable_dhcp: - type: boolean - description: Set to true if DHCP is enabled and false if DHCP is disabled - required: false - default: true - status: SUPPORTED - ipv6_address_mode: - type: string - description: IPv6 address mode - required: false - status: SUPPORTED - constraints: - - valid_values: - - dhcpv6-stateful - - dhcpv6-stateless - - slaac - ipv6_ra_mode: - type: string - description: IPv6 RA (Router Advertisement) mode - required: false - status: SUPPORTED - constraints: - - valid_values: - - dhcpv6-stateful - - dhcpv6-stateless - - slaac - value_specs: - type: map - description: Extra parameters to include in the request - required: false - default: { - } - status: SUPPORTED - entry_schema: - type: string - allocation_pools: - type: list - description: The start and end addresses for the allocation pools - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.AllocationPool - subnetpool: - type: string - description: The name or ID of the subnet pool - required: false - status: SUPPORTED - dns_nameservers: - type: list - description: A specified set of DNS name servers to be used - required: false - default: [ - ] - status: SUPPORTED - entry_schema: - type: string - host_routes: - type: list - description: The gateway IP address - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.subnet.HostRoute - ip_version: - type: integer - description: The gateway IP address - required: false - default: 4 - status: SUPPORTED - constraints: - - valid_values: - - '4' - - '6' - name: - type: string - description: The name of the subnet - required: false - status: SUPPORTED - prefixlen: - type: integer - description: Prefix length for subnet allocation from subnet pool - required: false - status: SUPPORTED - constraints: - - greater_or_equal: 0 - cidr: - type: string - description: The CIDR - required: false - status: SUPPORTED - gateway_ip: - type: string - description: The gateway IP address - required: false - status: SUPPORTED -capability_types: - org.openecomp.capabilities.metric.SnmpTrap: - derived_from: org.openecomp.capabilities.Metric - description: A node type that includes the Metric capability indicates that it can be monitored using snmp trap. - properties: - oid: - type: string - description: Object Id of the metric - required: true - status: SUPPORTED - org.openecomp.capabilities.metric.SnmpPolling: - derived_from: org.openecomp.capabilities.Metric - description: A node type that includes the Metric capability indicates that it can be monitored using snmp polling. - properties: - oid: - type: string - description: Object Id of the metric - required: true - status: SUPPORTED - org.openecomp.capabilities.metric.Ceilometer: - derived_from: org.openecomp.capabilities.Metric - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - properties: - name: - type: string - description: Ceilometer metric type name to monitor. (The name ceilometer is using) - required: true - status: SUPPORTED - org.openecomp.capabilities.Metric: - derived_from: tosca.capabilities.nfv.Metric - description: A node type that includes the Metric capability indicates that it can be monitored. - properties: - unit: - type: string - description: Unit of the metric value - required: true - status: SUPPORTED - description: - type: string - description: Description of the metric - required: false - status: SUPPORTED - type: - type: string - description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc. - required: true - status: SUPPORTED - category: - type: string - description: Category of the metric, for an example, compute, disk, network, storage and etc. - required: false - status: SUPPORTED - attributes: - value: - type: string - description: Runtime monitored value - status: SUPPORTED -relationship_types: - org.openecomp.relationships.AttachesTo: - derived_from: tosca.relationships.Root - description: This type represents an attachment relationship -group_types: - org.openecomp.groups.heat.HeatStack: - derived_from: tosca.groups.Root - description: Grouped all heat resources which are in the same heat stack - properties: - heat_file: - type: string - description: Heat file which associate to this group/heat stack - required: true - status: SUPPORTED - description: - type: string - description: Heat file description - required: false - status: SUPPORTED -policy_types: - org.openecomp.policies.placement.valet.Exclusivity: - derived_from: tosca.policy.placement - description: Valet Exclusivity - properties: - level: - type: string - description: exclusivity - required: false - default: host - status: SUPPORTED - constraints: - - valid_values: - - host - - rack - org.openecomp.policies.placement.valet.Diversity: - derived_from: tosca.policy.placement - description: Valet Diversity - properties: - level: - type: string - description: diversity - required: false - default: host - status: SUPPORTED - constraints: - - valid_values: - - host - - rack - org.openecomp.policies.placement.Colocate: - derived_from: tosca.policy.placement - description: Keep associated nodes (groups of nodes) based upon affinity value - properties: - name: - type: string - description: The name of the policy - required: false - status: SUPPORTED - affinity: - type: string - description: affinity - required: true - status: SUPPORTED - constraints: - - valid_values: - - host - - region - - compute - org.openecomp.policies.placement.valet.Affinity: - derived_from: tosca.policy.placement - description: Valet Affinity - properties: - level: - type: string - description: affinity - required: false - default: host - status: SUPPORTED - constraints: - - valid_values: - - host - - rack - org.openecomp.policies.placement.Antilocate: - derived_from: tosca.policy.placement - description: My placement policy for separation based upon container type value - properties: - name: - type: string - description: The name of the policy - required: false - status: SUPPORTED - container_type: - type: string - description: container type - required: false - status: SUPPORTED - constraints: - - valid_values: - - host - - region - - compute \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml deleted file mode 100644 index ae5430cf8d..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,166 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailAbstractSubstituteGlobalTypes - template_version: 1.0.0 -description: Contrail Abstract Substitute Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.network.contrail.InterfaceData: - derived_from: tosca.datatypes.Root - description: Interface Data - properties: - static_routes: - type: list - description: An ordered list of static routes to be added to this interface - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute - virtual_network: - type: string - description: Virtual Network for this interface - required: true - status: SUPPORTED - allowed_address_pairs: - type: list - description: List of allowed address pair for this interface - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.contrail.AddressPair - ip_address: - type: string - description: IP for this interface - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute: - derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute - properties: - availability_zone: - type: string - description: Availability zone to create servers in - required: false - status: SUPPORTED - static_routes_list: - type: list - description: Static routes enabled - required: false - status: SUPPORTED - entry_schema: - type: boolean - availability_zone_enable: - type: boolean - description: Indicates availability zone is enabled - required: false - default: false - status: SUPPORTED - service_template_name: - type: string - description: Service template name - required: false - status: SUPPORTED - ordered_interfaces: - type: boolean - description: Indicates if service interface are ordered - required: false - default: false - status: SUPPORTED - flavor: - type: string - description: flavor - required: false - status: SUPPORTED - image_name: - type: string - description: Image name - required: true - status: SUPPORTED - service_type: - type: string - description: Service type - required: true - status: SUPPORTED - constraints: - - valid_values: - - firewall - - analyzer - - source-nat - - loadbalancer - service_interface_type_list: - type: list - description: List of interface types - required: true - status: SUPPORTED - entry_schema: - type: string - constraints: - - valid_values: - - management - - left - - right - - other - service_instance_name: - type: string - description: Service instance name - required: true - status: SUPPORTED - interface_list: - type: list - description: List of interfaces - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.contrail.InterfaceData - service_mode: - type: string - description: Service mode - required: true - status: SUPPORTED - constraints: - - valid_values: - - transparent - - in-network - - in-network-nat - shared_ip_list: - type: list - description: Shared ips enabled - required: false - status: SUPPORTED - entry_schema: - type: boolean - attributes: - tenant_id: - type: string - description: Tenant id of the Service Instance - status: SUPPORTED - fq_name: - type: string - description: The FQ name of the service instance - status: SUPPORTED - service_template_name: - type: string - description: Service Template of the Service Instance - status: SUPPORTED - show: - type: string - description: All attributes - status: SUPPORTED - active_vms: - type: string - description: Number of service VMs active for this Service Instance - status: SUPPORTED - service_instance_name: - type: string - description: The name of the service instance - status: SUPPORTED - virtual_machines: - type: string - description: Service VMs for the Service Instance - status: SUPPORTED - status: - type: string - description: Status of the service instance - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailComputeGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailComputeGlobalTypesServiceTemplate.yaml deleted file mode 100644 index d6ad4f953c..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailComputeGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,89 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailComputeGlobalTypes - template_version: 1.0.0 -description: Contrail Compute TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -node_types: - org.openecomp.resource.vfc.nodes.heat.contrail.Compute: - derived_from: tosca.nodes.Compute - properties: - flavor: - type: string - description: flavor - required: false - status: SUPPORTED - image_name: - type: string - description: Image name - required: true - status: SUPPORTED - availability_zone: - type: string - description: Availability zone to create servers in - required: false - status: SUPPORTED - service_type: - type: string - description: Service type - required: true - status: SUPPORTED - constraints: - - valid_values: - - firewall - - analyzer - - source-nat - - loadbalancer - availability_zone_enable: - type: boolean - description: Indicates availability zone is enabled - required: false - default: false - status: SUPPORTED - service_template_name: - type: string - description: Service template name - required: false - status: SUPPORTED - service_instance_name: - type: string - description: Service instance name - required: true - status: SUPPORTED - service_mode: - type: string - description: Service mode - required: true - status: SUPPORTED - constraints: - - valid_values: - - transparent - - in-network - - in-network-nat - attributes: - tenant_id: - type: string - description: Tenant id of the VM - status: SUPPORTED - fq_name: - type: string - description: fq_name - status: SUPPORTED - show: - type: string - description: All attributes - status: SUPPORTED - active_vms: - type: string - description: Number of active VMs - status: SUPPORTED - virtual_machines: - type: string - description: VMs of this compute - status: SUPPORTED - status: - type: string - description: status of the compute - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailNetworkRuleGlobalTypeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailNetworkRuleGlobalTypeServiceTemplate.yaml deleted file mode 100644 index 1cbf435c53..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailNetworkRuleGlobalTypeServiceTemplate.yaml +++ /dev/null @@ -1,131 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailNetworkRuleGlobalType - template_version: 1.0.0 -description: Contrail Network Rule Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.contrail.network.rule.PortPairs: - derived_from: tosca.datatypes.Root - description: source and destination port pairs - properties: - start_port: - type: string - description: Start port - required: false - status: SUPPORTED - end_port: - type: string - description: End port - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork: - derived_from: tosca.datatypes.Root - description: source and destination addresses - properties: - virtual_network: - type: string - description: Virtual network - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrail.network.rule.RuleList: - derived_from: tosca.datatypes.Root - description: list of policy rules - properties: - policy_rule: - type: list - description: Contrail network rule - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrail.network.rule.Rule - org.openecomp.datatypes.heat.contrail.network.rule.Rule: - derived_from: tosca.datatypes.Root - description: policy rule - properties: - src_ports: - type: list - description: Source ports - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs - protocol: - type: string - description: Protocol - required: false - status: SUPPORTED - dst_addresses: - type: list - description: Destination addresses - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork - apply_service: - type: string - description: Service to apply - required: false - status: SUPPORTED - dst_ports: - type: list - description: Destination ports - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs - src_addresses: - type: list - description: Source addresses - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork - direction: - type: string - description: Direction - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules: - derived_from: tosca.nodes.Root - properties: - entries: - type: org.openecomp.datatypes.heat.contrail.network.rule.RuleList - description: A symbolic name for this contrail network rule - required: false - status: SUPPORTED - name: - type: string - description: A symbolic name for this contrail network rule - required: false - status: SUPPORTED - attributes: - tenant_id: - type: string - description: tenant_id - status: SUPPORTED - fq_name: - type: string - description: fq_name - status: SUPPORTED - show: - type: string - description: All attributes. - status: SUPPORTED - rules: - type: list - description: List of rules - status: SUPPORTED - entry_schema: - type: string - requirements: - - network: - capability: tosca.capabilities.Attachment - node: tosca.nodes.network.Network - relationship: org.openecomp.relationships.AttachesTo - occurrences: - - 0 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailPortGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailPortGlobalTypesServiceTemplate.yaml deleted file mode 100644 index 429ed9f6a1..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailPortGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,64 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailPortGlobalTypes - template_version: 1.0.0 -description: Contrail Port TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -node_types: - org.openecomp.resource.cp.nodes.heat.network.contrail.Port: - derived_from: tosca.nodes.network.Port - properties: - static_routes: - type: list - description: An ordered list of static routes to be added to this interface - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute - virtual_network: - type: string - description: Virtual Network for this interface - required: true - status: SUPPORTED - static_route: - type: boolean - description: Static route enabled - required: false - default: false - status: SUPPORTED - allowed_address_pairs: - type: list - description: List of allowed address pair for this interface - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.contrail.AddressPair - shared_ip: - type: boolean - description: Shared ip enabled - required: false - default: false - status: SUPPORTED - ip_address: - type: string - description: IP for this interface - required: false - status: SUPPORTED - interface_type: - type: string - description: Interface type - required: true - status: SUPPORTED - constraints: - - valid_values: - - management - - left - - right - - other - attributes: - fq_name: - type: string - description: fq_name - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml deleted file mode 100644 index 0526291005..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml +++ /dev/null @@ -1,156 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailV2NetworkRuleGlobalType - template_version: 1.0.0 -description: Contrail V2 Network Rule Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs: - derived_from: tosca.datatypes.Root - description: destination port pairs - properties: - network_policy_entries_policy_rule_dst_ports_start_port: - type: string - description: Start port - required: false - status: SUPPORTED - network_policy_entries_policy_rule_dst_ports_end_port: - type: string - description: End port - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList: - derived_from: tosca.datatypes.Root - description: list of policy rules - properties: - network_policy_entries_policy_rule: - type: list - description: Contrail network rule - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.Rule - org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs: - derived_from: tosca.datatypes.Root - description: source port pairs - properties: - network_policy_entries_policy_rule_src_ports_start_port: - type: string - description: Start port - required: false - status: SUPPORTED - network_policy_entries_policy_rule_src_ports_end_port: - type: string - description: End port - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork: - derived_from: tosca.datatypes.Root - description: source addresses - properties: - network_policy_entries_policy_rule_src_addresses_virtual_network: - type: string - description: Source addresses Virtual network - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork: - derived_from: tosca.datatypes.Root - description: destination addresses - properties: - network_policy_entries_policy_rule_dst_addresses_virtual_network: - type: string - description: Destination addresses Virtual network - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList: - derived_from: tosca.datatypes.Root - description: Action List - properties: - network_policy_entries_policy_rule_action_list_simple_action: - type: string - description: Simple Action - required: false - status: SUPPORTED - network_policy_entries_policy_rule_action_list_apply_service: - type: list - description: Apply Service - required: false - status: SUPPORTED - entry_schema: - type: string - org.openecomp.datatypes.heat.contrailV2.network.rule.Rule: - derived_from: tosca.datatypes.Root - description: policy rule - properties: - network_policy_entries_policy_rule_dst_addresses: - type: list - description: Destination addresses - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork - network_policy_entries_policy_rule_dst_ports: - type: list - description: Destination ports - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs - network_policy_entries_policy_rule_protocol: - type: string - description: Protocol - required: false - status: SUPPORTED - network_policy_entries_policy_rule_src_addresses: - type: list - description: Source addresses - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork - network_policy_entries_policy_rule_direction: - type: string - description: Direction - required: false - status: SUPPORTED - network_policy_entries_policy_rule_src_ports: - type: list - description: Source ports - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs - network_policy_entries_policy_rule_action_list: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList - description: Action list - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.vfc.rules.nodes.heat.network.contrailV2.NetworkRules: - derived_from: tosca.nodes.Root - properties: - name: - type: string - description: A symbolic name for this contrail v2 network rule - required: false - status: SUPPORTED - network_policy_entries: - type: org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList - description: A symbolic name for this contrail v2 network rule - required: false - status: SUPPORTED - attributes: - fq_name: - type: string - description: fq_name - status: SUPPORTED - requirements: - - network: - capability: tosca.capabilities.Attachment - node: tosca.nodes.network.Network - relationship: org.openecomp.relationships.AttachesTo - occurrences: - - 0 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml deleted file mode 100644 index 5c4a58fb11..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml +++ /dev/null @@ -1,69 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailV2VirtualMachineInterfaceGlobalType - template_version: 1.0.0 -description: Contrail Virtual Machine Interface TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties: - derived_from: tosca.datatypes.Root - description: Virtual Machine Interface Properties. - properties: - virtual_machine_interface_properties_service_interface_type: - type: string - description: Service Interface Type. - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface: - derived_from: tosca.nodes.network.Port - properties: - virtual_machine_intefrace_mac_addresses: - type: list - description: List of mac addresses. - required: false - status: SUPPORTED - entry_schema: - type: string - name: - type: string - description: Virtual Machine Interface name - required: false - status: SUPPORTED - security_group_refs: - type: list - description: List of security groups. - required: false - status: SUPPORTED - entry_schema: - type: string - virtual_network_refs: - type: list - description: List of virtual networks. - required: false - status: SUPPORTED - entry_schema: - type: string - virtual_machine_interface_properties: - type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties - description: virtual machine interface properties. - required: false - status: SUPPORTED - port_tuple_refs: - type: list - description: List of port tuples. - required: false - status: SUPPORTED - entry_schema: - type: string - attributes: - fq_name: - type: string - description: The FQ name of the Virtual Network. - status: SUPPORTED - show: - type: string - description: All attributes. - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml deleted file mode 100644 index b950edf79f..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml +++ /dev/null @@ -1,139 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailV2VirtualNetworkGlobalType - template_version: 1.0.0 -description: Contrail V2 Virtual Network Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet: - derived_from: tosca.datatypes.Root - description: Network Ipam Ref Data Subnet - properties: - network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len: - type: string - description: Network ipam refs data ipam subnets ip prefix len - required: false - status: SUPPORTED - network_ipam_refs_data_ipam_subnets_subnet_ip_prefix: - type: string - description: Network ipam refs data ipam subnets ip prefix - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData: - derived_from: tosca.datatypes.Root - description: network policy refs data - properties: - network_policy_refs_data_sequence: - type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence - description: Network Policy ref data sequence - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData: - derived_from: tosca.datatypes.Root - description: Network Ipam Ref Data - properties: - network_ipam_refs_data_ipam_subnets: - type: list - description: Network ipam refs data ipam subnets - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList - org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList: - derived_from: tosca.datatypes.Root - description: Network Ipam Ref Data Subnet List - properties: - network_ipam_refs_data_ipam_subnets_subnet: - type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet - description: Network ipam refs data ipam subnets - required: false - status: SUPPORTED - network_ipam_refs_data_ipam_subnets_addr_from_start: - type: string - description: Network ipam refs data ipam subnets addr from start - required: false - status: SUPPORTED - org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence: - derived_from: tosca.datatypes.Root - description: network policy refs data sequence - properties: - network_policy_refs_data_sequence_major: - type: integer - description: Network Policy ref data sequence Major - required: false - status: SUPPORTED - network_policy_refs_data_sequence_minor: - type: integer - description: Network Policy ref data sequence Minor - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork: - derived_from: tosca.nodes.network.Network - properties: - network_ipam_refs_data: - type: list - description: IPAM references Data - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData - network_policy_refs_data: - type: list - description: Policy references data - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData - network_ipam_refs: - type: list - description: IPAM references - required: false - status: SUPPORTED - entry_schema: - type: string - network_policy_refs: - type: list - description: Policy references - required: false - status: SUPPORTED - entry_schema: - type: string - subnets: - type: map - description: Network related subnets - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.Subnet - attributes: - fq_name: - type: string - description: fq_name - status: SUPPORTED - subnets_name: - type: list - description: Subnets name of this network - status: SUPPORTED - entry_schema: - type: string - subnets_show: - type: map - description: Detailed information about each subnet - status: SUPPORTED - entry_schema: - type: string - subnets: - type: map - description: Network related subnets - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.Subnet - capabilities: - attachment: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml deleted file mode 100644 index 05ab81741d..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml +++ /dev/null @@ -1,84 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: ContrailVirtualNetworkGlobalType - template_version: 1.0.0 -description: Contrail Virtual Network Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -node_types: - org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork: - derived_from: tosca.nodes.network.Network - properties: - shared: - type: string - description: Is virtual network shared - required: false - status: SUPPORTED - forwarding_mode: - type: string - description: forwarding mode of the virtual network - required: false - status: SUPPORTED - external: - type: string - description: Is virtual network external - required: false - status: SUPPORTED - allow_transit: - type: string - description: Whether this network should be transitive. - required: false - status: SUPPORTED - flood_unknown_unicast: - type: string - description: flood L2 packets on network - required: false - status: SUPPORTED - route_targets: - type: list - description: route targets associated with the virtual network - required: false - status: SUPPORTED - entry_schema: - type: string - subnets: - type: map - description: Network related subnets - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.Subnet - attributes: - fq_name: - type: string - description: fq_name - status: SUPPORTED - show: - type: string - description: All attributes. - status: SUPPORTED - subnets_name: - type: list - description: Subnets name of this network - status: SUPPORTED - entry_schema: - type: string - subnets_show: - type: map - description: Detailed information about each subnet - status: SUPPORTED - entry_schema: - type: string - subnets: - type: map - description: Network related subnets - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.Subnet - capabilities: - attachment: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/MainServiceTemplate.yaml deleted file mode 100644 index 251525391b..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/MainServiceTemplate.yaml +++ /dev/null @@ -1,196 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: Main -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.cmaui: - derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server -topology_template: - inputs: - cmaui_names: - hidden: false - immutable: false - type: list - description: CMAUI1, CMAUI2 server names - entry_schema: - type: string - cmaui_cinder_volume_size: - label: CMAUI Cinder volume size - hidden: false - immutable: false - type: float - description: the size of the CMAUI Cinder volume - timezone: - label: timezone - hidden: false - immutable: false - type: string - description: timezone - security_group_name: - label: security group name - hidden: false - immutable: false - type: string - description: the name of security group - oam_network_netmask: - label: oam network netmask - hidden: false - immutable: false - type: string - description: oam network gateway - cmaui_image: - hidden: false - immutable: false - type: string - description: Image for CMAUI server - vnf_id: - hidden: false - immutable: false - type: string - description: Unique ID for this VNF instance - default: This_is_ths_MMSC-CMAUI_id - cmaui_flavor: - hidden: false - immutable: false - type: string - description: Flavor for CMAUI server - oam_network_gateway: - label: oam network gateway - hidden: false - immutable: false - type: string - description: oam network gateway - availability_zone_0: - label: availabilityzone name - hidden: false - immutable: false - type: string - description: availabilityzone name - cmaui_oam_ips: - label: CMAUI oam_net IP addresses - hidden: false - immutable: false - type: list - description: CMAUI oam_net IP addresses - entry_schema: - type: string - external_dns: - label: dns server - hidden: false - immutable: false - type: string - description: dns server - oam_net_name: - hidden: false - immutable: false - type: string - description: UID of OAM network - external_ntp: - label: ntp server - hidden: false - immutable: false - type: string - description: ntp server - CMAUI_volume_type: - label: CMAUI vm volume type - hidden: false - immutable: false - type: string - description: the name of the target volume backend - node_templates: - server_cmaui: - type: org.openecomp.resource.vfc.nodes.heat.cmaui - properties: - flavor: - get_input: cmaui_flavor - availability_zone: - get_input: availability_zone_0 - image: - get_input: cmaui_image - metadata: - vnf_id: - get_input: vnf_id - user_data_format: RAW - name: - get_input: - - cmaui_names - - 0 - requirements: - - dependency: - capability: tosca.capabilities.Node - node: cmaui_volume - relationship: tosca.relationships.DependsOn - - dependency: - capability: tosca.capabilities.Node - node: cmaui_port_0 - relationship: tosca.relationships.DependsOn - - local_storage: - capability: tosca.capabilities.Attachment - node: cmaui_volume - relationship: cmaui_volume_attachment - cmaui_volume: - type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume - properties: - volume_type: - get_input: CMAUI_volume_type - size: '(get_input : cmaui_cinder_volume_size) * 1024' - cmaui_port_0: - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - properties: - replacement_policy: AUTO - security_groups: - - get_input: security_group_name - fixed_ips: - - ip_address: - get_input: - - cmaui_oam_ips - - 0 - network: - get_input: oam_net_name - requirements: - - binding: - capability: tosca.capabilities.network.Bindable - node: server_cmaui - relationship: tosca.relationships.network.BindsTo - relationship_templates: - cmaui_volume_attachment: - type: org.openecomp.relationships.heat.cinder.VolumeAttachesTo - properties: - volume_id: cmaui_volume - instance_uuid: server_cmaui - groups: - hot_template: - type: org.openecomp.groups.heat.HeatStack - properties: - heat_file: ../Artifacts/hot_template.yml - description: cmaui server template for vMMSC - members: - - server_cmaui - - cmaui_volume - - cmaui_port_0 \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NativeTypesServiceTemplateServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NativeTypesServiceTemplateServiceTemplate.yaml deleted file mode 100644 index 27c64039f1..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NativeTypesServiceTemplateServiceTemplate.yaml +++ /dev/null @@ -1,205 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: NativeTypesServiceTemplate - template_version: 1.0.0 -description: TOSCA Native Node Types -node_types: - tosca.nodes.Compute: - derived_from: tosca.nodes.Root - attributes: - private_address: - type: string - description: private address - status: SUPPORTED - public_address: - type: string - description: public_address - status: SUPPORTED - networks: - type: map - description: networks - status: SUPPORTED - entry_schema: - type: tosca.datatypes.network.NetworkInfo - ports: - type: map - description: ports - status: SUPPORTED - entry_schema: - type: tosca.datatypes.network.PortInfo - requirements: - - local_storage: - capability: tosca.capabilities.Attachment - node: tosca.nodes.BlockStorage - relationship: tosca.relationships.AttachesTo - occurrences: - - 0 - - UNBOUNDED - capabilities: - scalable: - type: tosca.capabilities.Scalable - occurrences: - - 1 - - UNBOUNDED - endpoint: - type: tosca.capabilities.Endpoint.Admin - occurrences: - - 1 - - UNBOUNDED - os: - type: tosca.capabilities.OperatingSystem - occurrences: - - 1 - - UNBOUNDED - host: - type: tosca.capabilities.Container - valid_source_types: - - tosca.nodes.SoftwareComponent - occurrences: - - 1 - - UNBOUNDED - binding: - type: tosca.capabilities.network.Bindable - occurrences: - - 1 - - UNBOUNDED - tosca.nodes.network.Port: - derived_from: tosca.nodes.Root - properties: - ip_range_end: - type: string - required: false - status: SUPPORTED - ip_range_start: - type: string - required: false - status: SUPPORTED - ip_address: - type: string - required: false - status: SUPPORTED - is_default: - type: boolean - required: false - default: false - status: SUPPORTED - order: - type: integer - required: true - default: 0 - status: SUPPORTED - constraints: - - greater_or_equal: 0 - requirements: - - link: - capability: tosca.capabilities.network.Linkable - node: tosca.nodes.Root - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - - binding: - capability: tosca.capabilities.network.Bindable - node: tosca.nodes.Root - relationship: tosca.relationships.network.BindsTo - occurrences: - - 1 - - 1 - tosca.nodes.Root: - attributes: - tosca_name: - type: string - description: tosca name - status: SUPPORTED - state: - type: string - description: state - status: SUPPORTED - tosca_id: - type: string - description: tosca id - status: SUPPORTED - interfaces: { - } - tosca.nodes.network.Network: - derived_from: tosca.nodes.Root - properties: - physical_network: - type: string - required: false - status: SUPPORTED - dhcp_enabled: - type: boolean - required: false - default: true - status: SUPPORTED - segmentation_id: - type: string - required: false - status: SUPPORTED - network_id: - type: string - required: false - status: SUPPORTED - ip_version: - type: integer - required: false - default: 4 - status: SUPPORTED - constraints: - - valid_values: - - 4 - - 6 - start_ip: - type: string - required: false - status: SUPPORTED - network_name: - type: string - required: false - status: SUPPORTED - cidr: - type: string - required: false - status: SUPPORTED - gateway_ip: - type: string - required: false - status: SUPPORTED - network_type: - type: string - required: false - status: SUPPORTED - end_ip: - type: string - required: false - status: SUPPORTED - capabilities: - link: - type: tosca.capabilities.network.Linkable - occurrences: - - 1 - - UNBOUNDED - tosca.nodes.BlockStorage: - derived_from: tosca.nodes.Root - properties: - size: - type: scalar-unit.size - required: false - status: SUPPORTED - constraints: - - greater_or_equal: 1 MB - volume_id: - type: string - required: false - status: SUPPORTED - snapshot_id: - type: string - required: false - status: SUPPORTED - capabilities: - attachment: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronNetGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronNetGlobalTypesServiceTemplate.yaml deleted file mode 100644 index e80e2727c7..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronNetGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,97 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: NeutronNetGlobalTypes - template_version: 1.0.0 -description: Neutron Network TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -node_types: - org.openecomp.resource.vl.nodes.heat.network.neutron.Net: - derived_from: tosca.nodes.network.Network - properties: - dhcp_agent_ids: - type: list - description: The IDs of the DHCP agent to schedule the network - required: false - status: SUPPORTED - entry_schema: - type: string - tenant_id: - type: string - description: The ID of the tenant which will own the network - required: false - status: SUPPORTED - port_security_enabled: - type: boolean - description: Flag to enable/disable port security on the network - required: false - status: SUPPORTED - shared: - type: boolean - description: Whether this network should be shared across all tenants - required: false - default: false - status: SUPPORTED - admin_state_up: - type: boolean - description: A boolean value specifying the administrative status of the network - required: false - default: true - status: SUPPORTED - qos_policy: - type: string - description: The name or ID of QoS policy to attach to this network - required: false - status: SUPPORTED - subnets: - type: map - description: Network related subnets - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.Subnet - value_specs: - type: map - description: Extra parameters to include in the request - required: false - default: { - } - status: SUPPORTED - entry_schema: - type: string - attributes: - qos_policy_id: - type: string - description: The QoS policy ID attached to this network - status: SUPPORTED - show: - type: string - description: Detailed information about resource - status: SUPPORTED - subnets_name: - type: list - description: Subnets name of this network - status: SUPPORTED - entry_schema: - type: string - subnets: - type: map - description: Network related subnets - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.Subnet - mtu: - type: scalar-unit.size - description: The maximum transmission unit size(in bytes) for the network - status: SUPPORTED - status: - type: string - description: The status of the network - status: SUPPORTED - capabilities: - attachment: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronPortGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronPortGlobalTypesServiceTemplate.yaml deleted file mode 100644 index a337d6ed18..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronPortGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,151 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: NeutronPortGlobalTypes - template_version: 1.0.0 -description: Neutron Port TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.neutron.port.FixedIps: - derived_from: tosca.datatypes.Root - description: subnet/ip_address - properties: - subnet: - type: string - description: Subnet in which to allocate the IP address for this port - required: false - status: SUPPORTED - ip_address: - type: string - description: IP address desired in the subnet for this port - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.cp.nodes.heat.network.neutron.Port: - derived_from: tosca.nodes.network.Port - properties: - port_security_enabled: - type: boolean - description: Flag to enable/disable port security on the network - required: false - status: SUPPORTED - device_id: - type: string - description: Device ID of this port - required: false - status: SUPPORTED - qos_policy: - type: string - description: The name or ID of QoS policy to attach to this network - required: false - status: SUPPORTED - allowed_address_pairs: - type: list - description: Additional MAC/IP address pairs allowed to pass through the port - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.AddressPair - binding:vnic_type: - type: string - description: The vnic type to be bound on the neutron port - required: false - status: SUPPORTED - constraints: - - valid_values: - - macvtap - - direct - - normal - value_specs: - type: map - description: Extra parameters to include in the request - required: false - default: { - } - status: SUPPORTED - entry_schema: - type: string - device_owner: - type: string - description: Name of the network owning the port - required: false - status: SUPPORTED - network: - type: string - description: Network this port belongs to - required: false - status: SUPPORTED - replacement_policy: - type: string - description: Policy on how to respond to a stack-update for this resource - required: false - default: AUTO - status: SUPPORTED - constraints: - - valid_values: - - REPLACE_ALWAYS - - AUTO - security_groups: - type: list - description: List of security group names or IDs - required: false - status: SUPPORTED - entry_schema: - type: string - fixed_ips: - type: list - description: Desired IPs for this port - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - mac_address: - type: string - description: MAC address to give to this port - required: false - status: SUPPORTED - admin_state_up: - type: boolean - description: A boolean value specifying the administrative status of the network - required: false - default: true - status: SUPPORTED - name: - type: string - description: A symbolic name for this port - required: false - status: SUPPORTED - attributes: - tenant_id: - type: string - description: Tenant owning the port - status: SUPPORTED - network_id: - type: string - description: Unique identifier for the network owning the port - status: SUPPORTED - qos_policy_id: - type: string - description: The QoS policy ID attached to this network - status: SUPPORTED - show: - type: string - description: Detailed information about resource - status: SUPPORTED - subnets: - type: list - description: Subnets of this network - status: SUPPORTED - entry_schema: - type: string - status: - type: string - description: The status of the network - status: SUPPORTED - capabilities: - attachment: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronSecurityRulesGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronSecurityRulesGlobalTypesServiceTemplate.yaml deleted file mode 100644 index 1cbef86d8d..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NeutronSecurityRulesGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,116 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: NeutronSecurityRulesGlobalTypes - template_version: 1.0.0 -description: Neutron Security Rules TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule: - derived_from: tosca.datatypes.Root - description: Rules Pairs - properties: - remote_group_id: - type: string - description: The remote group ID to be associated with this security group rule - required: false - status: SUPPORTED - protocol: - type: string - description: The protocol that is matched by the security group rule - required: false - status: SUPPORTED - constraints: - - valid_values: - - tcp - - udp - - icmp - ethertype: - type: string - description: Ethertype of the traffic - required: false - default: IPv4 - status: SUPPORTED - constraints: - - valid_values: - - IPv4 - - IPv6 - port_range_max: - type: integer - description: 'The maximum port number in the range that is matched by the - security group rule. ' - required: false - status: SUPPORTED - constraints: - - in_range: - - 0 - - 65535 - remote_ip_prefix: - type: string - description: The remote IP prefix (CIDR) to be associated with this security group rule - required: false - status: SUPPORTED - remote_mode: - type: string - description: Whether to specify a remote group or a remote IP prefix - required: false - default: remote_ip_prefix - status: SUPPORTED - constraints: - - valid_values: - - remote_ip_prefix - - remote_group_id - direction: - type: string - description: The direction in which the security group rule is applied - required: false - default: ingress - status: SUPPORTED - constraints: - - valid_values: - - egress - - ingress - port_range_min: - type: integer - description: The minimum port number in the range that is matched by the security group rule. - required: false - status: SUPPORTED - constraints: - - in_range: - - 0 - - 65535 -node_types: - org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules: - derived_from: tosca.nodes.Root - properties: - name: - type: string - description: A symbolic name for this security group, which is not required to be unique. - required: false - status: SUPPORTED - description: - type: string - description: Description of the security group - required: false - status: SUPPORTED - rules: - type: list - description: List of security group rules - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule - attributes: - show: - type: string - description: Detailed information about resource - status: SUPPORTED - requirements: - - port: - capability: tosca.capabilities.Attachment - node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - relationship: org.openecomp.relationships.AttachesTo - occurrences: - - 0 - - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NovaServerGlobalTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NovaServerGlobalTypesServiceTemplate.yaml deleted file mode 100644 index 0ec79f5229..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/expectedoutputfiles/NovaServerGlobalTypesServiceTemplate.yaml +++ /dev/null @@ -1,249 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: NovaServerGlobalTypes - template_version: 1.0.0 -description: Nova Server TOSCA Global Types -imports: - common_definitions: - file: CommonGlobalTypesServiceTemplate.yaml -data_types: - org.openecomp.datatypes.heat.novaServer.network.PortExtraProperties: - derived_from: tosca.datatypes.Root - description: Nova server network expand properties for port - properties: - port_security_enabled: - type: boolean - description: Flag to enable/disable port security on the port - required: false - status: SUPPORTED - mac_address: - type: string - description: MAC address to give to this port - required: false - status: SUPPORTED - admin_state_up: - type: boolean - description: The administrative state of this port - required: false - default: true - status: SUPPORTED - qos_policy: - type: string - description: The name or ID of QoS policy to attach to this port - required: false - status: SUPPORTED - allowed_address_pairs: - type: list - description: Additional MAC/IP address pairs allowed to pass through the port - required: false - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.network.AddressPair - binding:vnic_type: - type: string - description: The vnic type to be bound on the neutron port - required: false - status: SUPPORTED - constraints: - - valid_values: - - macvtap - - direct - - normal - value_specs: - type: map - description: Extra parameters to include in the request - required: false - default: { - } - status: SUPPORTED - entry_schema: - type: string - org.openecomp.datatypes.heat.novaServer.network.AddressInfo: - derived_from: tosca.datatypes.network.NetworkInfo - description: Network addresses with corresponding port id - properties: - port_id: - type: string - description: Port id - required: false - status: SUPPORTED -node_types: - org.openecomp.resource.vfc.nodes.heat.nova.Server: - derived_from: tosca.nodes.Compute - properties: - admin_pass: - type: string - description: The administrator password for the server - required: false - status: SUPPORTED - availability_zone: - type: string - description: Availability zone to create servers in - required: false - status: SUPPORTED - image: - type: string - description: The ID or name of the image to boot with - required: false - status: SUPPORTED - image_update_policy: - type: string - description: Policy on how to apply an image-id update - required: false - default: REBUILD - status: SUPPORTED - constraints: - - valid_values: - - REBUILD_PRESERVE_EPHEMERAL - - REPLACE - - REBUILD - metadata: - type: json - description: Arbitrary JSON metadata to store for this server - required: false - status: SUPPORTED - contrail_service_instance_ind: - type: boolean - description: Nova server related to service instance indicator - required: false - default: false - status: SUPPORTED - user_data_update_policy: - type: string - description: Policy on how to apply a user_data update - required: false - default: REPLACE - status: SUPPORTED - constraints: - - valid_values: - - REPLACE - - IGNORE - flavor_update_policy: - type: string - description: Policy on how to apply a flavor update - required: false - default: RESIZE - status: SUPPORTED - constraints: - - valid_values: - - RESIZE - - REPLACE - user_data: - type: string - description: User data script to be executed by cloud-init - required: false - default: '' - status: SUPPORTED - flavor: - type: string - description: The ID or name of the flavor to boot onto - required: true - status: SUPPORTED - key_name: - type: string - description: Name of keypair to inject into the server - required: false - status: SUPPORTED - reservation_id: - type: string - description: A UUID for the set of servers being requested - required: false - status: SUPPORTED - security_groups: - type: list - description: List of security group names or IDs - required: false - default: [ - ] - status: SUPPORTED - entry_schema: - type: string - config_drive: - type: boolean - description: enable config drive on the server - required: false - status: SUPPORTED - personality: - type: map - description: A map of files to create/overwrite on the server upon boot - required: false - default: { - } - status: SUPPORTED - entry_schema: - type: string - software_config_transport: - type: string - description: How the server should receive the metadata required for software configuration - required: false - default: POLL_SERVER_CFN - status: SUPPORTED - constraints: - - valid_values: - - POLL_SERVER_CFN - - POLL_SERVER_HEAT - - POLL_TEMP_URL - - ZAQAR_MESSAGE - user_data_format: - type: string - description: How the user_data should be formatted for the server - required: false - default: HEAT_CFNTOOLS - status: SUPPORTED - constraints: - - valid_values: - - SOFTWARE_CONFIG - - RAW - - HEAT_CFNTOOLS - diskConfig: - type: string - description: Control how the disk is partitioned when the server is created - required: false - status: SUPPORTED - constraints: - - valid_values: - - AUTO - - MANUAL - name: - type: string - description: Server name - required: false - status: SUPPORTED - scheduler_hints: - type: map - description: Arbitrary key-value pairs specified by the client to help boot a server - required: false - status: SUPPORTED - entry_schema: - type: string - attributes: - accessIPv4: - type: string - description: The manually assigned alternative public IPv4 address of the server - status: SUPPORTED - addresses: - type: map - description: A dict of all network addresses with corresponding port_id - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo - accessIPv6: - type: string - description: The manually assigned alternative public IPv6 address of the server - status: SUPPORTED - instance_name: - type: string - description: AWS compatible instance name - status: SUPPORTED - name: - type: string - description: Name of the server - status: SUPPORTED - show: - type: string - description: Detailed information about resource - status: SUPPORTED - console_urls: - type: string - description: URLs of servers consoles - status: SUPPORTED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/MANIFEST.json deleted file mode 100644 index b2916ccf9c..0000000000 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/MANIFEST.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "vMME_Small", - "description": "HOT template to create 2 cinder volume attachment", - "version": "2013-05-23", - "data": [ - { - "file": "hot_template.yml", - "type": "HEAT" - } - ] -} diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/hot_template.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/hot_template.yml index 574c0ac118..6d760276c0 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/hot_template.yml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/global_types/inputfiles/hot_template.yml @@ -3,7 +3,7 @@ heat_template_version: 2013-05-23 ################################# # # Changes from MSO 01/26/2016 -# Updated per ECOMP feedback +# Updated per OPENECOMP feedback # ################################# -- cgit 1.2.3-korg