summaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat')
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/_index.yml30
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/data.yml811
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/groups.yml40
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml1221
4 files changed, 2102 insertions, 0 deletions
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/_index.yml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/_index.yml
new file mode 100644
index 0000000000..c1a81460d5
--- /dev/null
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/_index.yml
@@ -0,0 +1,30 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+tosca_definitions_version: tosca_simple_openecomp_1_0
+
+metadata:
+ filename: openecomp-heat/_index.yml
+ version: '1.0'
+
+
+imports:
+- openecomp_index:
+ file: ../openecomp/_index.yml
+- nodes:
+ file: nodes.yml
+- groups:
+ file: groups.yml
+ data:
+ file: data.yml \ No newline at end of file
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/data.yml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/data.yml
new file mode 100644
index 0000000000..f320a9879b
--- /dev/null
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/data.yml
@@ -0,0 +1,811 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+tosca_definitions_version: tosca_simple_openecomp_1_0
+
+metadata:
+ filename: openecomp-heat/data.yml
+ version: '1.0'
+
+imports:
+- heat_index:
+ file: _index.yml
+
+data_types:
+
+ org.openecomp.datatypes.heat.network.AddressPair:
+ derived_from: tosca.datatypes.Root
+ description: MAC/IP address pairs
+ properties:
+ mac_address:
+ description: MAC address
+ type: string
+ status: SUPPORTED
+ required: false
+ ip_address:
+ description: IP address
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.novaServer.network.PortExtraProperties:
+ derived_from: tosca.datatypes.Root
+ description: Nova server network expand properties for port
+ properties:
+ port_security_enabled:
+ description: Flag to enable/disable port security on the port
+ type: boolean
+ status: SUPPORTED
+ required: false
+ mac_address:
+ description: MAC address to give to this port
+ type: string
+ status: SUPPORTED
+ required: false
+ admin_state_up:
+ description: The administrative state of this port
+ type: boolean
+ status: SUPPORTED
+ default: true
+ required: false
+ qos_policy:
+ description: The name or ID of QoS policy to attach to this port
+ type: string
+ status: SUPPORTED
+ required: false
+ allowed_address_pairs:
+ description: Additional MAC/IP address pairs allowed to pass through the port
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.AddressPair
+ required: false
+ binding:vnic_type:
+ description: The vnic type to be bound on the neutron port
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - macvtap
+ - direct
+ - normal
+ value_specs:
+ description: Extra parameters to include in the request
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: {}
+ required: false
+
+ 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:
+ description: Start port
+ type: string
+ status: SUPPORTED
+ required: false
+ network_policy_entries_policy_rule_src_ports_end_port:
+ description: End port
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPair:
+ derived_from: tosca.datatypes.Root
+ description: Virtual Machine Sub Interface Address Pair.
+ properties:
+ address_mode:
+ description: Address Mode.
+ type: string
+ status: SUPPORTED
+ required: false
+ ip:
+ description: IP.
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairIp
+ status: SUPPORTED
+ required: false
+ mac:
+ description: Mac.
+ type: string
+ status: SUPPORTED
+ required: false
+
+ 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:
+ description: Destination addresses Virtual network
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.network.rule.Rule:
+ derived_from: tosca.datatypes.Root
+ description: policy rule
+ properties:
+ network_policy_entries_policy_rule_dst_addresses:
+ description: Destination addresses
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstVirtualNetwork
+ required: false
+ network_policy_entries_policy_rule_dst_ports:
+ description: Destination ports
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.DstPortPairs
+ required: false
+ network_policy_entries_policy_rule_protocol:
+ description: Protocol
+ type: string
+ status: SUPPORTED
+ required: false
+ network_policy_entries_policy_rule_src_addresses:
+ description: Source addresses
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcVirtualNetwork
+ required: false
+ network_policy_entries_policy_rule_direction:
+ description: Direction
+ type: string
+ status: SUPPORTED
+ required: false
+ network_policy_entries_policy_rule_src_ports:
+ description: Source ports
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.SrcPortPairs
+ required: false
+ network_policy_entries_policy_rule_action_list:
+ description: Action list
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.ActionList
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule:
+ derived_from: tosca.datatypes.Root
+ description: Rules Pairs
+ properties:
+ remote_group_id:
+ description: The remote group ID to be associated with this security group rule
+ type: string
+ status: SUPPORTED
+ required: false
+ protocol:
+ description: The protocol that is matched by the security group rule
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - tcp
+ - udp
+ - icmp
+ ethertype:
+ description: Ethertype of the traffic
+ type: string
+ status: SUPPORTED
+ default: IPv4
+ required: false
+ constraints:
+ - valid_values:
+ - IPv4
+ - IPv6
+ port_range_max:
+ description: 'The maximum port number in the range that is matched by the
+ security group rule. '
+ type: integer
+ status: SUPPORTED
+ required: false
+ constraints:
+ - in_range:
+ - 0
+ - 65535
+ remote_ip_prefix:
+ description: The remote IP prefix (CIDR) to be associated with this security group rule
+ type: string
+ status: SUPPORTED
+ required: false
+ remote_mode:
+ description: Whether to specify a remote group or a remote IP prefix
+ type: string
+ status: SUPPORTED
+ default: remote_ip_prefix
+ required: false
+ constraints:
+ - valid_values:
+ - remote_ip_prefix
+ - remote_group_id
+ direction:
+ description: The direction in which the security group rule is applied
+ type: string
+ status: SUPPORTED
+ default: ingress
+ required: false
+ constraints:
+ - valid_values:
+ - egress
+ - ingress
+ port_range_min:
+ description: The minimum port number in the range that is matched by the security group rule.
+ type: integer
+ status: SUPPORTED
+ required: false
+ constraints:
+ - in_range:
+ - 0
+ - 65535
+
+ 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:
+ description: Network ipam refs data ipam subnets ip prefix len
+ type: string
+ status: SUPPORTED
+ required: false
+ network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
+ description: Network ipam refs data ipam subnets ip prefix
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties:
+ derived_from: tosca.datatypes.Root
+ description: Virtual Machine Sub Interface VLAN Properties.
+ properties:
+ sub_interface_vlan_tag:
+ description: Sub Interface VLAN Tag.
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairIp:
+ derived_from: tosca.datatypes.Root
+ description: Virtual Machine Sub Interface Address Pair IP.
+ properties:
+ ip_prefix:
+ description: IP Prefix.
+ type: string
+ status: SUPPORTED
+ required: false
+ ip_prefix_len:
+ description: IP Prefix Len.
+ type: integer
+ status: SUPPORTED
+ required: false
+
+ 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:
+ description: Source addresses Virtual network
+ type: string
+ status: SUPPORTED
+ required: false
+
+ 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:
+ description: Simple Action
+ type: string
+ status: SUPPORTED
+ required: false
+ network_policy_entries_policy_rule_action_list_apply_service:
+ description: Apply Service
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+
+ 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:
+ description: Network ipam refs data ipam subnets
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnetList
+ required: false
+
+ org.openecomp.datatypes.heat.FileInfo:
+ derived_from: tosca.datatypes.Root
+ description: Heat File Info
+ properties:
+ file:
+ description: The required URI string (relative or absolute) which can be used to locate the file
+ type: string
+ status: SUPPORTED
+ required: true
+ file_type:
+ description: The type of the file
+ type: string
+ status: SUPPORTED
+ required: true
+ constraints:
+ - valid_values:
+ - base
+ - env
+ - volume
+ - network
+
+ org.openecomp.datatypes.heat.network.contrail.InterfaceData:
+ derived_from: tosca.datatypes.Root
+ description: Interface Data
+ properties:
+ static_routes:
+ description: An ordered list of static routes to be added to this interface
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
+ required: false
+ virtual_network:
+ description: Virtual Network for this interface
+ type: string
+ status: SUPPORTED
+ required: true
+ allowed_address_pairs:
+ description: List of allowed address pair for this interface
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.AddressPair
+ required: false
+ ip_address:
+ description: IP for this interface
+ type: string
+ status: SUPPORTED
+ required: false
+
+ 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:
+ description: Network Policy ref data sequence
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefDataSequence
+ status: SUPPORTED
+ required: false
+
+ 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:
+ description: Start port
+ type: string
+ status: SUPPORTED
+ required: false
+ network_policy_entries_policy_rule_dst_ports_end_port:
+ description: End port
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.network.AllocationPool:
+ derived_from: tosca.datatypes.Root
+ description: The start and end addresses for the allocation pool
+ properties:
+ start:
+ description: Start address for the allocation pool
+ type: string
+ status: SUPPORTED
+ required: false
+ end:
+ description: End address for the allocation pool
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrail.network.rule.PortPairs:
+ derived_from: tosca.datatypes.Root
+ description: source and destination port pairs
+ properties:
+ start_port:
+ description: Start port
+ type: string
+ status: SUPPORTED
+ required: false
+ end_port:
+ description: End port
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork:
+ derived_from: tosca.datatypes.Root
+ description: source and destination addresses
+ properties:
+ virtual_network:
+ description: Virtual network
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrail.network.rule.RuleList:
+ derived_from: tosca.datatypes.Root
+ description: list of policy rules
+ properties:
+ policy_rule:
+ description: Contrail network rule
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrail.network.rule.Rule
+ required: false
+
+ org.openecomp.datatypes.heat.network.contrail.AddressPair:
+ derived_from: tosca.datatypes.Root
+ description: Address Pair
+ properties:
+ address_mode:
+ description: Address mode active-active or active-standy
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - active-active
+ - active-standby
+ prefix:
+ description: IP address prefix
+ type: string
+ status: SUPPORTED
+ required: false
+ mac_address:
+ description: Mac address
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress:
+ derived_from: tosca.datatypes.Root
+ description: Virtual Machine Sub Interface Mac Address.
+ properties:
+ mac_address:
+ description: Mac Addresses List.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+
+ 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:
+ description: Network ipam refs data ipam subnets
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.ref.data.IpamSubnet
+ status: SUPPORTED
+ required: false
+ network_ipam_refs_data_ipam_subnets_addr_from_start:
+ description: Network ipam refs data ipam subnets addr from start
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList:
+ derived_from: tosca.datatypes.Root
+ description: list of policy rules
+ properties:
+ network_policy_entries_policy_rule:
+ description: Contrail network rule
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.Rule
+ required: false
+
+ org.openecomp.datatypes.heat.novaServer.network.AddressInfo:
+ derived_from: tosca.datatypes.network.NetworkInfo
+ description: Network addresses with corresponding port id
+ properties:
+ port_id:
+ description: Port id
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs:
+ derived_from: tosca.datatypes.Root
+ description: Virtual Machine Sub Interface Address Pairs.
+ properties:
+ allowed_address_pair:
+ description: Addresses pair List.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPair
+ required: false
+
+ org.openecomp.datatypes.heat.neutron.port.FixedIps:
+ derived_from: tosca.datatypes.Root
+ description: subnet/ip_address
+ properties:
+ subnet:
+ description: Subnet in which to allocate the IP address for this port
+ type: string
+ status: SUPPORTED
+ required: false
+ ip_address:
+ description: IP address desired in the subnet for this port
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties:
+ derived_from: tosca.datatypes.Root
+ description: Virtual Machine Interface Properties.
+ properties:
+ service_interface_type:
+ description: Service Interface Type.
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.network.subnet.HostRoute:
+ derived_from: tosca.datatypes.Root
+ description: Host route info for the subnet
+ properties:
+ destination:
+ description: The destination for static route
+ type: string
+ status: SUPPORTED
+ required: false
+ nexthop:
+ description: The next hop for the destination
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.network.contrail.port.StaticRoute:
+ derived_from: tosca.datatypes.Root
+ description: static route
+ properties:
+ prefix:
+ description: Route prefix
+ type: string
+ status: SUPPORTED
+ required: false
+ next_hop:
+ description: Next hop
+ type: string
+ status: SUPPORTED
+ required: false
+ next_hop_type:
+ description: Next hop type
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.substitution.SubstitutionFiltering:
+ derived_from: tosca.datatypes.Root
+ description: Substitution Filter
+ properties:
+ substitute_service_template:
+ description: Substitute Service Template
+ type: string
+ status: SUPPORTED
+ required: true
+ index_value:
+ description: Index value of the substitution service template runtime instance
+ type: integer
+ status: SUPPORTED
+ default: 0
+ required: false
+ constraints:
+ - greater_or_equal: 0
+ count:
+ description: Count
+ type: string
+ status: SUPPORTED
+ default: 1
+ required: false
+ scaling_enabled:
+ description: Indicates whether service scaling is enabled
+ type: boolean
+ status: SUPPORTED
+ default: true
+ required: false
+ mandatory:
+ description: Mandatory
+ type: boolean
+ status: SUPPORTED
+ default: true
+ required: false
+
+ 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:
+ description: The ID of the tenant who owns the network
+ type: string
+ status: SUPPORTED
+ required: false
+ enable_dhcp:
+ description: Set to true if DHCP is enabled and false if DHCP is disabled
+ type: boolean
+ status: SUPPORTED
+ default: true
+ required: false
+ ipv6_address_mode:
+ description: IPv6 address mode
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - dhcpv6-stateful
+ - dhcpv6-stateless
+ - slaac
+ ipv6_ra_mode:
+ description: IPv6 RA (Router Advertisement) mode
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - dhcpv6-stateful
+ - dhcpv6-stateless
+ - slaac
+ value_specs:
+ description: Extra parameters to include in the request
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: {}
+ required: false
+ allocation_pools:
+ description: The start and end addresses for the allocation pools
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.AllocationPool
+ required: false
+ subnetpool:
+ description: The name or ID of the subnet pool
+ type: string
+ status: SUPPORTED
+ required: false
+ dns_nameservers:
+ description: A specified set of DNS name servers to be used
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: []
+ required: false
+ host_routes:
+ description: The gateway IP address
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.subnet.HostRoute
+ required: false
+ ip_version:
+ description: The gateway IP address
+ type: integer
+ status: SUPPORTED
+ default: 4
+ required: false
+ constraints:
+ - valid_values:
+ - 4
+ - 6
+ name:
+ description: The name of the subnet
+ type: string
+ status: SUPPORTED
+ required: false
+ prefixlen:
+ description: Prefix length for subnet allocation from subnet pool
+ type: integer
+ status: SUPPORTED
+ required: false
+ constraints:
+ - greater_or_equal: 0
+ cidr:
+ description: The CIDR
+ type: string
+ status: SUPPORTED
+ required: false
+ gateway_ip:
+ description: The gateway IP address
+ type: string
+ status: SUPPORTED
+ required: false
+
+ org.openecomp.datatypes.heat.contrail.network.rule.Rule:
+ derived_from: tosca.datatypes.Root
+ description: policy rule
+ properties:
+ src_ports:
+ description: Source ports
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs
+ required: false
+ protocol:
+ description: Protocol
+ type: string
+ status: SUPPORTED
+ required: false
+ dst_addresses:
+ description: Destination addresses
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork
+ required: false
+ apply_service:
+ description: Service to apply
+ type: string
+ status: SUPPORTED
+ required: false
+ dst_ports:
+ description: Destination ports
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrail.network.rule.PortPairs
+ required: false
+ src_addresses:
+ description: Source addresses
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrail.network.rule.VirtualNetwork
+ required: false
+ direction:
+ description: Direction
+ type: string
+ status: SUPPORTED
+ required: false
+
+ 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:
+ description: Network Policy ref data sequence Major
+ type: integer
+ status: SUPPORTED
+ required: false
+ network_policy_refs_data_sequence_minor:
+ description: Network Policy ref data sequence Minor
+ type: integer
+ status: SUPPORTED
+ required: false
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/groups.yml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/groups.yml
new file mode 100644
index 0000000000..64cb598ef4
--- /dev/null
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/groups.yml
@@ -0,0 +1,40 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+tosca_definitions_version: tosca_simple_openecomp_1_0
+
+metadata:
+ filename: openecomp-heat/groups.yml
+ version: '1.0'
+
+imports:
+- heat_index:
+ file: _index.yml
+
+group_types:
+
+ org.openecomp.groups.heat.HeatStack:
+ derived_from: org.openecomp.groups.VfModule
+ description: Grouped all heat resources which are in the same heat stack
+ properties:
+ heat_file:
+ description: Heat file which associate to this group/heat stack
+ type: string
+ status: SUPPORTED
+ required: true
+ description:
+ description: group description
+ type: string
+ status: SUPPORTED
+ required: true
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
new file mode 100644
index 0000000000..75f9e2f939
--- /dev/null
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
@@ -0,0 +1,1221 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+tosca_definitions_version: tosca_simple_openecomp_1_0
+
+metadata:
+ filename: openecomp-heat/nodes.yml
+ version: '1.0'
+
+imports:
+- heat_index:
+ file: _index.yml
+
+node_types:
+
+ org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ availability_zone:
+ description: Availability zone to create servers in
+ type: string
+ status: SUPPORTED
+ required: false
+ static_routes_list:
+ description: Static routes enabled
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: boolean
+ required: false
+ availability_zone_enable:
+ description: Indicates availability zone is enabled
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ service_template_name:
+ description: Service template name
+ type: string
+ status: SUPPORTED
+ required: false
+ ordered_interfaces:
+ description: Indicates if service interface are ordered
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ flavor:
+ description: flavor
+ type: string
+ status: SUPPORTED
+ required: false
+ image_name:
+ description: Image name
+ type: string
+ status: SUPPORTED
+ required: true
+ service_type:
+ description: Service type
+ type: string
+ status: SUPPORTED
+ required: true
+ constraints:
+ - valid_values:
+ - firewall
+ - analyzer
+ - source-nat
+ - loadbalancer
+ service_interface_type_list:
+ description: List of interface types
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ constraints:
+ - valid_values:
+ - management
+ - left
+ - right
+ - other
+ required: true
+ service_instance_name:
+ description: Service instance name
+ type: string
+ status: SUPPORTED
+ required: true
+ interface_list:
+ description: List of interfaces
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.InterfaceData
+ required: false
+ service_mode:
+ description: Service mode
+ type: string
+ status: SUPPORTED
+ required: true
+ constraints:
+ - valid_values:
+ - transparent
+ - in-network
+ - in-network-nat
+ shared_ip_list:
+ description: Shared ips enabled
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: boolean
+ required: false
+ attributes:
+ tenant_id:
+ description: Tenant id of the Service Instance
+ type: string
+ status: SUPPORTED
+ fq_name:
+ description: The FQ name of the service instance
+ type: string
+ status: SUPPORTED
+ service_template_name:
+ description: Service Template of the Service Instance
+ type: string
+ status: SUPPORTED
+ show:
+ description: All attributes
+ type: string
+ status: SUPPORTED
+ active_vms:
+ description: Number of service VMs active for this Service Instance
+ type: string
+ status: SUPPORTED
+ service_instance_name:
+ description: The name of the service instance
+ type: string
+ status: SUPPORTED
+ virtual_machines:
+ description: Service VMs for the Service Instance
+ type: string
+ status: SUPPORTED
+ status:
+ description: Status of the service instance
+ type: string
+ status: SUPPORTED
+
+
+ org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface:
+ derived_from: org.openecomp.resource.cp.nodes.network.CP
+ properties:
+ name:
+ description: Virtual Machine Interface name
+ type: string
+ status: SUPPORTED
+ required: false
+ security_group_refs:
+ description: List of security groups.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ virtual_network_refs:
+ description: List of virtual networks.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ virtual_machine_interface_properties:
+ description: virtual machine interface properties.
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
+ status: SUPPORTED
+ required: false
+ port_tuple_refs:
+ description: List of port tuples.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ virtual_machine_interface_mac_addresses:
+ description: List of mac addresses.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ virtual_machine_interface_allowed_address_pairs:
+ description: Virtual Machine Interface allowed address pairs.
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ status: SUPPORTED
+ required: false
+
+ attributes:
+ fq_name:
+ description: The FQ name of the Virtual Network.
+ type: string
+ status: SUPPORTED
+ show:
+ description: All attributes.
+ type: string
+ status: SUPPORTED
+ capabilities:
+ binding:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+
+ org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules:
+ derived_from: tosca.nodes.Root
+ properties:
+ entries:
+ description: A symbolic name for this contrail network rule
+ type: org.openecomp.datatypes.heat.contrail.network.rule.RuleList
+ status: SUPPORTED
+ required: false
+ name:
+ description: A symbolic name for this contrail network rule
+ type: string
+ status: SUPPORTED
+ required: false
+ attributes:
+ tenant_id:
+ description: tenant_id
+ type: string
+ status: SUPPORTED
+ fq_name:
+ description: fq_name
+ type: string
+ status: SUPPORTED
+ show:
+ description: All attributes.
+ type: string
+ status: SUPPORTED
+ rules:
+ description: List of rules
+ type: list
+ 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
+
+ org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules:
+ derived_from: tosca.nodes.Root
+ properties:
+ description:
+ description: Description of the security group
+ type: string
+ status: SUPPORTED
+ required: false
+ name:
+ description: A symbolic name for this security group, which is not required to be unique.
+ type: string
+ status: SUPPORTED
+ required: false
+ rules:
+ description: List of security group rules
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule
+ required: false
+ attributes:
+ show:
+ description: Detailed information about resource
+ type: string
+ 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
+
+ org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork:
+ derived_from: org.openecomp.resource.vl.nodes.network.VL
+ properties:
+ shared:
+ description: Is virtual network shared
+ type: string
+ status: SUPPORTED
+ required: false
+ forwarding_mode:
+ description: forwarding mode of the virtual network
+ type: string
+ status: SUPPORTED
+ required: false
+ external:
+ description: Is virtual network external
+ type: string
+ status: SUPPORTED
+ required: false
+ allow_transit:
+ description: Whether this network should be transitive.
+ type: string
+ status: SUPPORTED
+ required: false
+ flood_unknown_unicast:
+ description: flood L2 packets on network
+ type: string
+ status: SUPPORTED
+ required: false
+ route_targets:
+ description: route targets associated with the virtual network
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ subnets:
+ description: Network related subnets
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ required: false
+ attributes:
+ fq_name:
+ description: fq_name
+ type: string
+ status: SUPPORTED
+ show:
+ description: All attributes.
+ type: string
+ status: SUPPORTED
+ subnets_name:
+ description: Subnets name of this network
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subnets_show:
+ description: Detailed information about each subnet
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subnets:
+ description: Network related subnets
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+
+ org.openecomp.resource.vfc.nodes.heat.nova.Server:
+ derived_from: org.openecomp.resource.vfc.nodes.Compute
+ properties:
+ admin_pass:
+ description: The administrator password for the server
+ type: string
+ status: SUPPORTED
+ required: false
+ availability_zone:
+ description: Availability zone to create servers in
+ type: string
+ status: SUPPORTED
+ required: false
+ image:
+ description: The ID or name of the image to boot with
+ type: string
+ status: SUPPORTED
+ required: false
+ image_update_policy:
+ description: Policy on how to apply an image-id update
+ type: string
+ status: SUPPORTED
+ default: REBUILD
+ required: false
+ constraints:
+ - valid_values:
+ - REBUILD_PRESERVE_EPHEMERAL
+ - REPLACE
+ - REBUILD
+ metadata:
+ description: Arbitrary JSON metadata to store for this server
+ type: json
+ status: SUPPORTED
+ required: false
+ contrail_service_instance_ind:
+ description: Nova server related to service instance indicator
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ user_data_update_policy:
+ description: Policy on how to apply a user_data update
+ type: string
+ status: SUPPORTED
+ default: REPLACE
+ required: false
+ constraints:
+ - valid_values:
+ - REPLACE
+ - IGNORE
+ flavor_update_policy:
+ description: Policy on how to apply a flavor update
+ type: string
+ status: SUPPORTED
+ default: RESIZE
+ required: false
+ constraints:
+ - valid_values:
+ - RESIZE
+ - REPLACE
+ user_data:
+ description: User data script to be executed by cloud-init
+ type: string
+ status: SUPPORTED
+ default: ''
+ required: false
+ flavor:
+ description: The ID or name of the flavor to boot onto
+ type: string
+ status: SUPPORTED
+ required: true
+ key_name:
+ description: Name of keypair to inject into the server
+ type: string
+ status: SUPPORTED
+ required: false
+ reservation_id:
+ description: A UUID for the set of servers being requested
+ type: string
+ status: SUPPORTED
+ required: false
+ security_groups:
+ description: List of security group names or IDs
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: []
+ required: false
+ config_drive:
+ description: enable config drive on the server
+ type: boolean
+ status: SUPPORTED
+ required: false
+ personality:
+ description: A map of files to create/overwrite on the server upon boot
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: {}
+ required: false
+ software_config_transport:
+ description: How the server should receive the metadata required for software configuration
+ type: string
+ status: SUPPORTED
+ default: POLL_SERVER_CFN
+ required: false
+ constraints:
+ - valid_values:
+ - POLL_SERVER_CFN
+ - POLL_SERVER_HEAT
+ - POLL_TEMP_URL
+ - ZAQAR_MESSAGE
+ user_data_format:
+ description: How the user_data should be formatted for the server
+ type: string
+ status: SUPPORTED
+ default: HEAT_CFNTOOLS
+ required: false
+ constraints:
+ - valid_values:
+ - SOFTWARE_CONFIG
+ - RAW
+ - HEAT_CFNTOOLS
+ diskConfig:
+ description: Control how the disk is partitioned when the server is created
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - AUTO
+ - MANUAL
+ name:
+ description: Server name
+ type: string
+ status: SUPPORTED
+ required: false
+ scheduler_hints:
+ description: Arbitrary key-value pairs specified by the client to help boot a server
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ attributes:
+ accessIPv4:
+ description: The manually assigned alternative public IPv4 address of the server
+ type: string
+ status: SUPPORTED
+ addresses:
+ description: A dict of all network addresses with corresponding port_id
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
+ accessIPv6:
+ description: The manually assigned alternative public IPv6 address of the server
+ type: string
+ status: SUPPORTED
+ instance_name:
+ description: AWS compatible instance name
+ type: string
+ status: SUPPORTED
+ name:
+ description: Name of the server
+ type: string
+ status: SUPPORTED
+ show:
+ description: Detailed information about resource
+ type: string
+ status: SUPPORTED
+ console_urls:
+ description: URLs of servers consoles
+ type: string
+ status: SUPPORTED
+
+ org.openecomp.resource.vfc.rules.nodes.heat.network.contrailV2.NetworkRules:
+ derived_from: tosca.nodes.Root
+ properties:
+ name:
+ description: A symbolic name for this contrail v2 network rule
+ type: string
+ status: SUPPORTED
+ required: false
+ network_policy_entries:
+ description: A symbolic name for this contrail v2 network rule
+ type: org.openecomp.datatypes.heat.contrailV2.network.rule.RuleList
+ status: SUPPORTED
+ required: false
+ attributes:
+ fq_name:
+ description: fq_name
+ type: string
+ status: SUPPORTED
+ requirements:
+ - network:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.network.Network
+ relationship: org.openecomp.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ org.openecomp.resource.cp.nodes.heat.network.neutron.Port:
+ derived_from: org.openecomp.resource.cp.nodes.network.CP
+ properties:
+ port_security_enabled:
+ description: Flag to enable/disable port security on the network
+ type: boolean
+ status: SUPPORTED
+ required: false
+ device_id:
+ description: Device ID of this port
+ type: string
+ status: SUPPORTED
+ required: false
+ qos_policy:
+ description: The name or ID of QoS policy to attach to this network
+ type: string
+ status: SUPPORTED
+ required: false
+ allowed_address_pairs:
+ description: Additional MAC/IP address pairs allowed to pass through the port
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.AddressPair
+ required: false
+ binding:vnic_type:
+ description: The vnic type to be bound on the neutron port
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - macvtap
+ - direct
+ - normal
+ value_specs:
+ description: Extra parameters to include in the request
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: {}
+ required: false
+ device_owner:
+ description: Name of the network owning the port
+ type: string
+ status: SUPPORTED
+ required: false
+ network:
+ description: Network this port belongs to
+ type: string
+ status: SUPPORTED
+ required: false
+ replacement_policy:
+ description: Policy on how to respond to a stack-update for this resource
+ type: string
+ status: SUPPORTED
+ default: AUTO
+ required: false
+ constraints:
+ - valid_values:
+ - REPLACE_ALWAYS
+ - AUTO
+ security_groups:
+ description: List of security group names or IDs
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ fixed_ips:
+ description: Desired IPs for this port
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.neutron.port.FixedIps
+ required: false
+ mac_address:
+ description: MAC address to give to this port
+ type: string
+ status: SUPPORTED
+ required: false
+ admin_state_up:
+ description: A boolean value specifying the administrative status of the network
+ type: boolean
+ status: SUPPORTED
+ default: true
+ required: false
+ name:
+ description: A symbolic name for this port
+ type: string
+ status: SUPPORTED
+ required: false
+ attributes:
+ tenant_id:
+ description: Tenant owning the port
+ type: string
+ status: SUPPORTED
+ network_id:
+ description: Unique identifier for the network owning the port
+ type: string
+ status: SUPPORTED
+ qos_policy_id:
+ description: The QoS policy ID attached to this network
+ type: string
+ status: SUPPORTED
+ show:
+ description: Detailed information about resource
+ type: string
+ status: SUPPORTED
+ subnets:
+ description: Subnets of this network
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ status:
+ description: The status of the network
+ type: string
+ status: SUPPORTED
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+
+ org.openecomp.resource.vl.nodes.heat.network.neutron.Net:
+ derived_from: org.openecomp.resource.vl.nodes.network.VL
+ properties:
+ dhcp_agent_ids:
+ description: The IDs of the DHCP agent to schedule the network
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ tenant_id:
+ description: The ID of the tenant which will own the network
+ type: string
+ status: SUPPORTED
+ required: false
+ port_security_enabled:
+ description: Flag to enable/disable port security on the network
+ type: boolean
+ status: SUPPORTED
+ required: false
+ shared:
+ description: Whether this network should be shared across all tenants
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ admin_state_up:
+ description: A boolean value specifying the administrative status of the network
+ type: boolean
+ status: SUPPORTED
+ default: true
+ required: false
+ qos_policy:
+ description: The name or ID of QoS policy to attach to this network
+ type: string
+ status: SUPPORTED
+ required: false
+ subnets:
+ description: Network related subnets
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ required: false
+ value_specs:
+ description: Extra parameters to include in the request
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ default: {}
+ required: false
+ attributes:
+ qos_policy_id:
+ description: The QoS policy ID attached to this network
+ type: string
+ status: SUPPORTED
+ show:
+ description: Detailed information about resource
+ type: string
+ status: SUPPORTED
+ subnets_name:
+ description: Subnets name of this network
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subnets:
+ description: Network related subnets
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ mtu:
+ description: The maximum transmission unit size(in bytes) for the network
+ type: scalar-unit.size
+ status: SUPPORTED
+ status:
+ description: The status of the network
+ type: string
+ status: SUPPORTED
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+
+ org.openecomp.resource.cp.nodes.heat.network.contrail.Port:
+ derived_from: org.openecomp.resource.cp.nodes.network.CP
+ properties:
+ static_routes:
+ description: An ordered list of static routes to be added to this interface
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
+ required: false
+ virtual_network:
+ description: Virtual Network for this interface
+ type: string
+ status: SUPPORTED
+ required: true
+ static_route:
+ description: Static route enabled
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ allowed_address_pairs:
+ description: List of allowed address pair for this interface
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.AddressPair
+ required: false
+ shared_ip:
+ description: Shared ip enabled
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ ip_address:
+ description: IP for this interface
+ type: string
+ status: SUPPORTED
+ required: false
+ interface_type:
+ description: Interface type
+ type: string
+ status: SUPPORTED
+ required: true
+ constraints:
+ - valid_values:
+ - management
+ - left
+ - right
+ - other
+ attributes:
+ fq_name:
+ description: fq_name
+ type: string
+ status: SUPPORTED
+
+ org.openecomp.resource.vfc.nodes.heat.contrail.Compute:
+ derived_from: org.openecomp.resource.vfc.nodes.Compute
+ properties:
+ flavor:
+ description: flavor
+ type: string
+ status: SUPPORTED
+ required: false
+ image_name:
+ description: Image name
+ type: string
+ status: SUPPORTED
+ required: true
+ availability_zone:
+ description: Availability zone to create servers in
+ type: string
+ status: SUPPORTED
+ required: false
+ service_type:
+ description: Service type
+ type: string
+ status: SUPPORTED
+ required: true
+ constraints:
+ - valid_values:
+ - firewall
+ - analyzer
+ - source-nat
+ - loadbalancer
+ availability_zone_enable:
+ description: Indicates availability zone is enabled
+ type: boolean
+ status: SUPPORTED
+ default: false
+ required: false
+ service_template_name:
+ description: Service template name
+ type: string
+ status: SUPPORTED
+ required: false
+ service_instance_name:
+ description: Service instance name
+ type: string
+ status: SUPPORTED
+ required: true
+ service_mode:
+ description: Service mode
+ type: string
+ status: SUPPORTED
+ required: true
+ constraints:
+ - valid_values:
+ - transparent
+ - in-network
+ - in-network-nat
+ attributes:
+ tenant_id:
+ description: Tenant id of the VM
+ type: string
+ status: SUPPORTED
+ fq_name:
+ description: fq_name
+ type: string
+ status: SUPPORTED
+ show:
+ description: All attributes
+ type: string
+ status: SUPPORTED
+ active_vms:
+ description: Number of active VMs
+ type: string
+ status: SUPPORTED
+ virtual_machines:
+ description: VMs of this compute
+ type: string
+ status: SUPPORTED
+ status:
+ description: status of the compute
+ type: string
+ status: SUPPORTED
+
+
+ org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface:
+ derived_from: org.openecomp.resource.cp.nodes.network.SubInterface
+ properties:
+ virtual_machine_interface_refs:
+ description: List of virtual machine interface.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ name:
+ description: Virtual Machine Sub Interface VLAN name
+ type: string
+ status: SUPPORTED
+ required: false
+ virtual_network_refs:
+ description: List of virtual networks.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ virtual_machine_interface_properties:
+ description: virtual machine interface properties.
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties
+ status: SUPPORTED
+ required: false
+ virtual_machine_interface_allowed_address_pairs:
+ description: Virtual Machine Sub Interface allowed address pairs.
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ status: SUPPORTED
+ required: false
+ virtual_machine_interface_mac_addresses:
+ description: List of mac addresses.
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress
+ status: SUPPORTED
+ required: false
+ security_group_refs:
+ description: List of security groups.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ port_tuple_refs:
+ description: List of port tuples.
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ attributes:
+ fq_name:
+ description: The FQ name of the Virtual Network.
+ type: string
+ status: SUPPORTED
+ show:
+ description: All attributes.
+ type: string
+ status: SUPPORTED
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.CP
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+
+ org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork:
+ derived_from: org.openecomp.resource.vl.nodes.network.VL
+ properties:
+ network_ipam_refs_data:
+ description: IPAM references Data
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData
+ required: false
+ network_policy_refs_data:
+ description: Policy references data
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData
+ required: false
+ network_ipam_refs:
+ description: IPAM references
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ network_policy_refs:
+ description: Policy references
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ subnets:
+ description: Network related subnets
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ required: false
+ attributes:
+ fq_name:
+ description: fq_name
+ type: string
+ status: SUPPORTED
+ subnets_name:
+ description: Subnets name of this network
+ type: list
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subnets_show:
+ description: Detailed information about each subnet
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subnets:
+ description: Network related subnets
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+
+ org.openecomp.resource.vfc.nodes.heat.cinder.Volume:
+ derived_from: org.openecomp.resource.vfc.nodes.volume
+ properties:
+ availability_zone:
+ description: The availability zone in which the volume will be created
+ type: string
+ status: SUPPORTED
+ required: false
+ image:
+ description: If specified, the name or ID of the image to create the volume from
+ type: string
+ status: SUPPORTED
+ required: false
+ metadata:
+ description: Key/value pairs to associate with the volume
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ volume_type:
+ description: If specified, the type of volume to use, mapping to a specific backend
+ type: string
+ status: SUPPORTED
+ required: false
+ description:
+ description: A description of the volume
+ type: string
+ status: SUPPORTED
+ required: false
+ device_type:
+ description: Device type
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - cdrom
+ - disk
+ disk_bus:
+ description: 'Bus of the device: hypervisor driver chooses a suitable default
+ if omitted'
+ type: string
+ status: SUPPORTED
+ required: false
+ constraints:
+ - valid_values:
+ - ide
+ - lame_bus
+ - scsi
+ - usb
+ - virtio
+ backup_id:
+ description: If specified, the backup to create the volume from
+ type: string
+ status: SUPPORTED
+ required: false
+ source_volid:
+ description: If specified, the volume to use as source
+ type: string
+ status: SUPPORTED
+ required: false
+ boot_index:
+ description: Integer used for ordering the boot disks
+ type: integer
+ status: SUPPORTED
+ required: false
+ size:
+ description: The requested storage size (default unit is MB)
+ type: scalar-unit.size
+ status: SUPPORTED
+ required: false
+ constraints:
+ - greater_or_equal: 1 GB
+ read_only:
+ description: Enables or disables read-only access mode of volume
+ type: boolean
+ status: SUPPORTED
+ required: false
+ name:
+ description: A name used to distinguish the volume
+ type: string
+ status: SUPPORTED
+ required: false
+ scheduler_hints:
+ description: Arbitrary key-value pairs specified by the client to help the Cinder scheduler creating a volume
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ required: false
+ swap_size:
+ description: The size of the swap, in MB
+ type: scalar-unit.size
+ status: SUPPORTED
+ required: false
+ delete_on_termination:
+ description: Indicate whether the volume should be deleted when the server is terminated
+ type: boolean
+ status: SUPPORTED
+ required: false
+ multiattach:
+ description: Whether allow the volume to be attached more than once
+ type: boolean
+ status: SUPPORTED
+ required: false
+ attributes:
+ display_description:
+ description: Description of the volume
+ type: string
+ status: SUPPORTED
+ attachments:
+ description: The list of attachments of the volume
+ type: string
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ encrypted:
+ description: Boolean indicating if the volume is encrypted or not
+ type: boolean
+ status: SUPPORTED
+ show:
+ description: Detailed information about resource
+ type: string
+ status: SUPPORTED
+ created_at:
+ description: The timestamp indicating volume creation
+ type: timestamp
+ status: SUPPORTED
+ display_name:
+ description: Name of the volume
+ type: string
+ status: SUPPORTED
+ metadata_values:
+ description: Key/value pairs associated with the volume in raw dict form
+ type: map
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ bootable:
+ description: Boolean indicating if the volume can be booted or not
+ type: boolean
+ status: SUPPORTED
+ status:
+ description: The current status of the volume
+ type: string
+ status: SUPPORTED