http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml deleted file mode 100644 index 30abe10..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml +++ /dev/null @@ -1,321 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -capability_types: - - tosca.capabilities.Root: - _extensions: - shorthand_name: Root # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.4.1 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ROOT' - description: >- - This is the default (root) TOSCA Capability Type definition that all other TOSCA Capability Types derive from. - - tosca.capabilities.Node: - _extensions: - shorthand_name: Node - type_qualified_name: tosca:Node - specification: tosca-simple-1.0 - specification_section: 5.4.2 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_NODE' - role: feature - description: >- - The Node capability indicates the base capabilities of a TOSCA Node Type. - derived_from: tosca.capabilities.Root - - tosca.capabilities.Container: - _extensions: - shorthand_name: Container - type_qualified_name: tosca:Container - specification: tosca-simple-1.0 - specification_section: 5.4.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_CONTAINER' - role: host - description: >- - The Container capability, when included on a Node Type or Template definition, indicates that the node can act as a container - for (or a host for) one or more other declared Node Types. - derived_from: tosca.capabilities.Root - properties: - num_cpus: - description: >- - Number of (actual or virtual) CPUs associated with the Compute node. - type: integer - constraints: - - greater_or_equal: 1 - required: false - cpu_frequency: - description: >- - Specifies the operating frequency of CPU's core. This property expresses the expected frequency of one (1) CPU as - provided by the property "num_cpus". - type: scalar-unit.frequency - constraints: - - greater_or_equal: 0.1 GHz - required: false - disk_size: - description: >- - Size of the local disk available to applications running on the Compute node (default unit is MB). - type: scalar-unit.size - constraints: - - greater_or_equal: 0 MB - required: false - mem_size: - description: >- - Size of memory available to applications running on the Compute node (default unit is MB). - type: scalar-unit.size - constraints: - - greater_or_equal: 0 MB - required: false - - tosca.capabilities.Attachment: - _extensions: - shorthand_name: Attachment - type_qualified_name: tosca:Attachment - specification: tosca-simple-1.0 - specification_section: 5.4.8 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ATTACHMENT' - description: >- - This is the default TOSCA type that should be used or extended to define an attachment capability of a (logical) - infrastructure device node (e.g., BlockStorage node). - derived_from: tosca.capabilities.Root - - tosca.capabilities.OperatingSystem: - _extensions: - shorthand_name: OperatingSystem - type_qualified_name: tosca:OperatingSystem - specification: tosca-simple-1.0 - specification_section: 5.4.9 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_OPSYS' - description: >- - This is the default TOSCA type that should be used to express an Operating System capability for a node. - derived_from: tosca.capabilities.Root - properties: - architecture: - description: >- - The Operating System (OS) architecture. Examples of valid values include: x86_32, x86_64, etc. - type: string - required: false - type: - description: >- - The Operating System (OS) type. Examples of valid values include: linux, aix, mac, windows, etc. - type: string - required: false - distribution: - description: >- - The Operating System (OS) distribution. Examples of valid values for a "type" of "Linux" would include: debian, fedora, - rhel and ubuntu. - type: string - required: false - version: - description: >- - The Operating System version. - type: version - required: false - - tosca.capabilities.Scalable: - _extensions: - shorthand_name: Scalable - type_qualified_name: tosca:Scalable - specification: tosca-simple-1.0 - specification_section: 5.4.10 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_SCALABLE' - description: >- - This is the default TOSCA type that should be used to express a scalability capability for a node. - derived_from: tosca.capabilities.Root - properties: - min_instances: - description: >- - This property is used to indicate the minimum number of instances that should be created for the associated TOSCA Node - Template by a TOSCA orchestrator. - type: integer - default: 1 - max_instances: - description: >- - This property is used to indicate the maximum number of instances that should be created for the associated TOSCA Node - Template by a TOSCA orchestrator. - type: integer - default: 1 - default_instances: - description: >- - An optional property that indicates the requested default number of instances that should be the starting number of - instances a TOSCA orchestrator should attempt to allocate. Note: The value for this property MUST be in the range between - the values set for "min_instances" and "max_instances" properties. - type: integer - required: false - - # - # Endpoints - # - - tosca.capabilities.Endpoint: - _extensions: - shorthand_name: Endpoint - type_qualified_name: tosca:Endpoint - specification: tosca-simple-1.0 - specification_section: 5.4.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT' - description: >- - This is the default TOSCA type that should be used or extended to define a network endpoint capability. This includes the information to express a basic endpoint with a single port or a complex endpoint with multiple ports. By default the Endpoint is assumed to represent an address on a private network unless otherwise specified. - derived_from: tosca.capabilities.Root - properties: - protocol: - description: >- - The name of the protocol (i.e., the protocol prefix) that the endpoint accepts (any OSI Layer 4-7 protocols). Examples: - http, https, ftp, tcp, udp, etc. - type: string - default: tcp - required: true - port: - description: >- - The optional port of the endpoint. - type: tosca.datatypes.network.PortDef - required: false - secure: - description: >- - Requests for the endpoint to be secure and use credentials supplied on the ConnectsTo relationship. - type: boolean - default: false - required: false - url_path: - description: >- - The optional URL path of the endpoint's address if applicable for the protocol. - type: string - required: false - port_name: - description: >- - The optional name (or ID) of the network port this endpoint should be bound to. - type: string - required: false - network_name: - description: >- - The optional name (or ID) of the network this endpoint should be bound to. network_name: PRIVATE | PUBLIC | - <network_name> | <network_id>. - type: string - default: PRIVATE - required: false - initiator: - description: >- - The optional indicator of the direction of the connection. - type: string - constraints: - - valid_values: [ source, target, peer ] - default: source - required: false - ports: - description: >- - The optional map of ports the Endpoint supports (if more than one). - type: map - entry_schema: - type: tosca.datatypes.network.PortSpec - constraints: - - min_length: 1 - required: false - attributes: - ip_address: - description: >- - Note: This is the IP address as propagated up by the associated node's host (Compute) container. - type: string - - tosca.capabilities.Endpoint.Public: - _extensions: - shorthand_name: Endpoint.Public - type_qualified_name: tosca:Endpoint.Public - specification: tosca-simple-1.0 - specification_section: 5.4.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT_PUBLIC' - description: >- - This capability represents a public endpoint which is accessible to the general internet (and its public IP address ranges). - - This public endpoint capability also can be used to create a floating (IP) address that the underlying network assigns from a - pool allocated from the application's underlying public network. This floating address is managed by the underlying network - such that can be routed an application's private address and remains reliable to internet clients. - derived_from: tosca.capabilities.Endpoint - properties: - network_name: - type: string - constraints: - - equal: PUBLIC - default: PUBLIC - floating: - description: >- - Indicates that the public address should be allocated from a pool of floating IPs that are associated with the network. - type: boolean - default: false - status: experimental - dns_name: - description: >- - The optional name to register with DNS. - type: string - required: false - status: experimental - - tosca.capabilities.Endpoint.Admin: - _extensions: - shorthand_name: Endpoint.Admin - type_qualified_name: tosca:Endpoint.Admin - specification: tosca-simple-1.0 - specification_section: 5.4.6 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT_ADMIN' - description: >- - This is the default TOSCA type that should be used or extended to define a specialized administrator endpoint capability. - derived_from: tosca.capabilities.Endpoint - properties: - secure: - description: >- - Requests for the endpoint to be secure and use credentials supplied on the ConnectsTo relationship. - type: boolean - constraints: - - equal: true - default: true - - tosca.capabilities.Endpoint.Database: - _extensions: - shorthand_name: Endpoint.Database - type_qualified_name: tosca:Endpoint.Database - specification: tosca-simple-1.0 - specification_section: 5.4.7 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT_DATABASE' - description: >- - This is the default TOSCA type that should be used or extended to define a specialized database endpoint capability. - derived_from: tosca.capabilities.Endpoint - - # - # Network - # - - tosca.capabilities.network.Bindable: - _extensions: - shorthand_name: Bindable # ARIA NOTE: mistake in spec? has "network." as a prefix - type_qualified_name: tosca:Bindable - specification: tosca-simple-1.0 - specification_section: 5.4.11 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_NETWORK_BINDABLE' - description: >- - A node type that includes the Bindable capability indicates that it can be bound to a logical network association via a - network port. - derived_from: tosca.capabilities.Node - - tosca.capabilities.network.Linkable: - _extensions: - shorthand_name: Linkable - type_qualified_name: tosca:Linkable - specification: tosca-simple-1.0 - specification_section: 7.5.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_NETWORK_LINKABLE' - description: >- - A node type that includes the Linkable capability indicates that it can be pointed by tosca.relationships.network.LinksTo - relationship type. - derived_from: tosca.capabilities.Node
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/data.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/data.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/data.yaml deleted file mode 100644 index 771a969..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/data.yaml +++ /dev/null @@ -1,268 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -data_types: - - # - # Primitive - # - - timestamp: - _extensions: - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_timestamp - - version: - _extensions: - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_version - type_qualified_name: tosca:version - specification: tosca-simple-1.0 - specification_section: 3.2.2 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_VERSION' - - range: - _extensions: - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_range - type_qualified_name: tosca:range - specification: tosca-simple-1.0 - specification_section: 3.2.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_RANGE' - - # - # With entry schema - # - - list: - _extensions: - use_entry_schema: true - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_list - type_qualified_name: tosca:list - specification: tosca-simple-1.0 - specification_section: 3.2.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_LIST' - - map: - _extensions: - use_entry_schema: true - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_map_value - type_qualified_name: tosca:map - specification: tosca-simple-1.0 - specification_section: 3.2.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_MAP' - - # - # Scalar - # - - scalar-unit.size: - _extensions: - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_scalar_unit_size - type_qualified_name: tosca:scalar-unit.size - specification: tosca-simple-1.0 - specification_section: 3.2.6.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_SCALAR_UNIT_SIZE' - - scalar-unit.time: - _extensions: - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_scalar_unit_time - type_qualified_name: tosca:scalar-unit.time - specification: tosca-simple-1.0 - specification_section: 3.2.6.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_SCALAR_UNIT_TIME' - - scalar-unit.frequency: - _extensions: - coerce_value: aria_extension_tosca.simple_v1_0.data_types.coerce_scalar_unit_frequency - type_qualified_name: tosca:scalar-unit.frequency - specification: tosca-simple-1.0 - specification_section: 3.2.6.6 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_SCALAR_UNIT_FREQUENCY' - - # - # Complex - # - - tosca.datatypes.Root: - _extensions: - shorthand_name: Root # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.2.1 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_DATA_ROOT' - description: >- - This is the default (root) TOSCA Root Type definition that all complex TOSCA Data Types derive from. - - tosca.datatypes.Credential: - _extensions: - shorthand_name: Credential - type_qualified_name: tosca:Credential - specification: tosca-simple-1.0 - specification_section: 5.2.2 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_DATA_CREDENTIAL' - description: >- - The Credential type is a complex TOSCA data Type used when describing authorization credentials used to access network - accessible resources. - derived_from: tosca.datatypes.Root - properties: - protocol: - description: >- - The optional protocol name. - type: string - required: false - token_type: - description: >- - The required token type. - type: string - default: password - token: - description: >- - The required token used as a credential for authorization or access to a networked resource. - type: string - required: false - keys: - description: >- - The optional list of protocol-specific keys or assertions. - type: map - entry_schema: - type: string - required: false - user: - description: >- - The optional user (name or ID) used for non-token based credentials. - type: string - required: false - - tosca.datatypes.network.NetworkInfo: - _extensions: - shorthand_name: NetworkInfo - type_qualified_name: tosca:NetworkInfo - specification: tosca-simple-1.0 - specification_section: 5.2.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_DATA_NETWORKINFO' - description: >- - The Network type is a complex TOSCA data type used to describe logical network information. - derived_from: tosca.datatypes.Root - properties: - network_name: - description: >- - The name of the logical network. e.g., "public", "private", "admin". etc. - type: string - required: false - network_id: - description: >- - The unique ID of for the network generated by the network provider. - type: string - required: false - addresses: - description: >- - The list of IP addresses assigned from the underlying network. - type: list - entry_schema: - type: string - required: false - - tosca.datatypes.network.PortInfo: - _extensions: - shorthand_name: PortInfo - type_qualified_name: tosca:PortInfo - specification: tosca-simple-1.0 - specification_section: 5.2.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_DATA_PORTINFO' - description: >- - The PortInfo type is a complex TOSCA data type used to describe network port information. - derived_from: tosca.datatypes.Root - properties: - port_name: - description: >- - The logical network port name. - type: string - required: false - port_id: - description: >- - The unique ID for the network port generated by the network provider. - type: string - required: false - network_id: - description: >- - The unique ID for the network. - type: string - required: false - mac_address: - description: >- - The unique media access control address (MAC address) assigned to the port. - type: string - required: false - addresses: - description: >- - The list of IP address(es) assigned to the port. - type: list - entry_schema: - type: string - required: false - - tosca.datatypes.network.PortDef: - _extensions: - shorthand_name: PortDef - type_qualified_name: tosca:PortDef - specification: tosca-simple-1.0 - specification_section: 5.2.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_DATA_PORTDEF' - description: >- - The PortDef type is a TOSCA data Type used to define a network port. - derived_from: integer # ARIA NOTE: we allow deriving from primitives - constraints: - - in_range: [ 1, 65535 ] - - tosca.datatypes.network.PortSpec: - _extensions: - shorthand_name: PortSpec - type_qualified_name: tosca:PortSpec - specification: tosca-simple-1.0 - specification_section: 5.2.6 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#TYPE_TOSCA_DATA_PORTSPEC' - description: >- - The PortSpec type is a complex TOSCA data Type used when describing port specifications for a network connection. - derived_from: tosca.datatypes.Root - properties: - protocol: - description: >- - The required protocol used on the port. - type: string - constraints: - - valid_values: [ udp, tcp, igmp ] - default: tcp - source: - description: >- - The optional source port. - type: tosca.datatypes.network.PortDef - required: false - source_range: - description: >- - The optional range for source port. - type: range - constraints: - - in_range: [ 1, 65535 ] - required: false - target: - description: >- - The optional target port. - type: tosca.datatypes.network.PortDef - required: false - target_range: - description: >- - The optional range for target port. - type: range - constraints: - - in_range: [ 1, 65535 ] - required: false http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/groups.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/groups.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/groups.yaml deleted file mode 100644 index 66cc25f..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/groups.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -group_types: - - tosca.groups.Root: - _extensions: - shorthand_name: Root # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.9.1 - description: >- - This is the default (root) TOSCA Group Type definition that all other TOSCA base Group Types derive from. - interfaces: - Standard: - type: tosca.interfaces.node.lifecycle.Standard http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/interfaces.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/interfaces.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/interfaces.yaml deleted file mode 100644 index 473bd98..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/interfaces.yaml +++ /dev/null @@ -1,107 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -interface_types: - - tosca.interfaces.Root: - _extensions: - shorthand_name: Root # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.7.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#_Ref384391055' - description: >- - This is the default (root) TOSCA Interface Type definition that all other TOSCA Interface Types derive from. - - tosca.interfaces.node.lifecycle.Standard: - _extensions: - shorthand_name: Standard - type_qualified_name: tosca:Standard - specification: tosca-simple-1.0 - specification_section: 5.7.4 - description: >- - This lifecycle interface defines the essential, normative operations that TOSCA nodes may support. - derived_from: tosca.interfaces.Root - create: - description: >- - Standard lifecycle create operation. - configure: - description: >- - Standard lifecycle configure operation. - start: - description: >- - Standard lifecycle start operation. - stop: - description: >- - Standard lifecycle stop operation. - delete: - description: >- - Standard lifecycle delete operation. - - tosca.interfaces.relationship.Configure: - _extensions: - shorthand_name: Configure - type_qualified_name: tosca:Configure - specification: tosca-simple-1.0 - specification_section: 5.7.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_ITFC_RELATIONSHIP_CONFIGURE' - description: >- - The lifecycle interfaces define the essential, normative operations that each TOSCA Relationship Types may support. - derived_from: tosca.interfaces.Root - pre_configure_source: - description: >- - Operation to pre-configure the source endpoint. - _extensions: - relationship_edge: source - pre_configure_target: - description: >- - Operation to pre-configure the target endpoint. - _extensions: - relationship_edge: target - post_configure_source: - description: >- - Operation to post-configure the source endpoint. - _extensions: - relationship_edge: source - post_configure_target: - description: >- - Operation to post-configure the target endpoint. - _extensions: - relationship_edge: target - add_target: - description: >- - Operation to notify the source node of a target node being added via a relationship. - _extensions: - relationship_edge: source - add_source: - description: >- - Operation to notify the target node of a source node which is now available via a relationship. - _extensions: - relationship_edge: target - target_changed: - description: >- - Operation to notify source some property or attribute of the target changed - _extensions: - relationship_edge: source - remove_target: - description: >- - Operation to remove a target node. - _extensions: - relationship_edge: source - remove_source: - description: >- - Operation to remove the source node. - _extensions: - relationship_edge: target http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/nodes.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/nodes.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/nodes.yaml deleted file mode 100644 index 1d2fe90..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/nodes.yaml +++ /dev/null @@ -1,525 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -node_types: - - tosca.nodes.Root: - _extensions: - shorthand_name: Root - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.8.1 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_ROOT' - description: >- - The TOSCA Root Node Type is the default type that all other TOSCA base Node Types derive from. This allows for all TOSCA nodes to have a consistent set of features for modeling and management (e.g., consistent definitions for requirements, capabilities and lifecycle interfaces). - attributes: - tosca_id: - description: >- - A unique identifier of the realized instance of a Node Template that derives from any TOSCA normative type. - type: string - tosca_name: - description: >- - This attribute reflects the name of the Node Template as defined in the TOSCA service template. This name is not unique - to the realized instance model of corresponding deployed application as each template in the model can result in one or - more instances (e.g., scaled) when orchestrated to a provider environment. - type: string - state: - description: >- - The state of the node instance. - type: string - default: initial - interfaces: - Standard: - type: tosca.interfaces.node.lifecycle.Standard - capabilities: - feature: - type: tosca.capabilities.Node - requirements: - - dependency: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: [ 0, UNBOUNDED ] - - tosca.nodes.Compute: - _extensions: - shorthand_name: Compute - type_qualified_name: tosca:Compute - specification: tosca-simple-1.0 - specification_section: 5.8.2 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_COMPUTE' - role: host - description: >- - The TOSCA Compute node represents one or more real or virtual processors of software applications or services along with - other essential local resources. Collectively, the resources the compute node represents can logically be viewed as a (real - or virtual) "server". - derived_from: tosca.nodes.Root - attributes: - private_address: - description: >- - The primary private IP address assigned by the cloud provider that applications may use to access the Compute node. - type: string - public_address: - description: >- - The primary public IP address assigned by the cloud provider that applications may use to access the Compute node. - type: string - networks: - description: >- - The list of logical networks assigned to the compute host instance and information about them. - type: map - entry_schema: - type: tosca.datatypes.network.NetworkInfo - ports: - description: >- - The list of logical ports assigned to the compute host instance and information about them. - type: map - entry_schema: - type: tosca.datatypes.network.PortInfo - capabilities: - host: - type: tosca.capabilities.Container - valid_source_types: [ tosca.nodes.SoftwareComponent ] - binding: - type: tosca.capabilities.network.Bindable - os: - type: tosca.capabilities.OperatingSystem - scalable: - type: tosca.capabilities.Scalable - requirements: - - local_storage: - capability: tosca.capabilities.Attachment - node: tosca.nodes.BlockStorage - relationship: tosca.relationships.AttachesTo - occurrences: [ 0, UNBOUNDED ] - - tosca.nodes.LoadBalancer: - _extensions: - shorthand_name: LoadBalancer - type_qualified_name: tosca:LoadBalancer - specification: tosca-simple-1.0 - specification_section: 5.8.12 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#_Toc379548332' - description: >- - The TOSCA Load Balancer node represents logical function that be used in conjunction with a Floating Address to distribute an - application's traffic (load) across a number of instances of the application (e.g., for a clustered or scaled application). - derived_from: tosca.nodes.Root - properties: - algorithm: - description: >- - No description in spec. - type: string - required: false - status: experimental - capabilities: - client: - description: >- - The Floating (IP) client's on the public network can connect to. - type: tosca.capabilities.Endpoint.Public - occurrences: [ 0, UNBOUNDED ] # ARIA NOTE: it seems unnecessary to specify this, as it is the implied default - requirements: - - application: - capability: tosca.capabilities.Endpoint - relationship: tosca.relationships.RoutesTo - occurrences: [ 0, UNBOUNDED ] - - # - # Software - # - - tosca.nodes.SoftwareComponent: - _extensions: - shorthand_name: SoftwareComponent - type_qualified_name: tosca:SoftwareComponent - specification: tosca-simple-1.0 - specification_section: 5.8.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_SOFTWARE_COMPONENT' - description: >- - The TOSCA SoftwareComponent node represents a generic software component that can be managed and run by a TOSCA Compute Node - Type. - derived_from: tosca.nodes.Root - properties: - component_version: - description: >- - The optional software component's version. - type: version - required: false - admin_credential: - description: >- - The optional credential that can be used to authenticate to the software component. - type: tosca.datatypes.Credential - required: false - requirements: - - host: - capability: tosca.capabilities.Container - node: tosca.nodes.Compute - relationship: tosca.relationships.HostedOn - - tosca.nodes.WebServer: - _extensions: - shorthand_name: WebServer - type_qualified_name: tosca:WebServer - specification: tosca-simple-1.0 - specification_section: 5.8.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_WEBSERVER' - description: >- - This TOSCA WebServer Node Type represents an abstract software component or service that is capable of hosting and providing - management operations for one or more WebApplication nodes. - derived_from: tosca.nodes.SoftwareComponent - capabilities: - data_endpoint: - type: tosca.capabilities.Endpoint - admin_endpoint: - type: tosca.capabilities.Endpoint.Admin - host: - type: tosca.capabilities.Container - valid_source_types: [ tosca.nodes.WebApplication ] - - tosca.nodes.WebApplication: - _extensions: - shorthand_name: WebApplication - type_qualified_name: tosca:WebApplication - specification: tosca-simple-1.0 - specification_section: 5.8.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_WEBAPPLICATION' - description: >- - The TOSCA WebApplication node represents a software application that can be managed and run by a TOSCA WebServer node. - Specific types of web applications such as Java, etc. could be derived from this type. - derived_from: tosca.nodes.SoftwareComponent # ARIA NOTE: the spec says tosca.nodes.Root - properties: - context_root: - description: >- - The web application's context root which designates the application's URL path within the web server it is hosted on. - type: string - required: false - capabilities: - app_endpoint: - type: tosca.capabilities.Endpoint - requirements: - - host: - capability: tosca.capabilities.Container - node: tosca.nodes.WebServer - relationship: tosca.relationships.HostedOn - - tosca.nodes.DBMS: - _extensions: - shorthand_name: DBMS # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:DBMS - specification: tosca-simple-1.0 - specification_section: 5.8.6 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_DBMS' - description: >- - The TOSCA DBMS node represents a typical relational, SQL Database Management System software component or service. - derived_from: tosca.nodes.SoftwareComponent - properties: - root_password: - description: >- - The optional root password for the DBMS server. - type: string - required: false - port: - description: >- - The DBMS server's port. - type: integer - required: false - capabilities: - host: - type: tosca.capabilities.Container - valid_source_types: [ tosca.nodes.Database ] - - tosca.nodes.Database: - _extensions: - shorthand_name: Database - type_qualified_name: tosca:Database - specification: tosca-simple-1.0 - specification_section: 5.8.7 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_DATABASE' - description: >- - The TOSCA Database node represents a logical database that can be managed and hosted by a TOSCA DBMS node. - derived_from: tosca.nodes.Root # ARIA NOTE: it's *not* a SoftwareComponent - properties: - name: - description: >- - The logical database Name. - type: string - port: - description: >- - The port the database service will use to listen for incoming data and requests. - type: integer - required: false - user: - description: >- - The special user account used for database administration. - type: string - required: false - password: - description: >- - The password associated with the user account provided in the 'user' property. - type: string - required: false - capabilities: - database_endpoint: - type: tosca.capabilities.Endpoint.Database - requirements: - - host: - capability: tosca.capabilities.Container - node: tosca.nodes.DBMS - relationship: tosca.relationships.HostedOn - - # - # Container - # - - tosca.nodes.Container.Runtime: - _extensions: - shorthand_name: Container.Runtime - type_qualified_name: tosca:Container.Runtime - specification: tosca-simple-1.0 - specification_section: 5.8.10 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_CONTAINER_RUNTIME' - description: >- - The TOSCA Container Runtime node represents operating system-level virtualization technology used to run multiple application - services on a single Compute host. - derived_from: tosca.nodes.SoftwareComponent - capabilities: - host: - type: tosca.capabilities.Container - scalable: - type: tosca.capabilities.Scalable - - tosca.nodes.Container.Application: - _extensions: - shorthand_name: Container.Application - type_qualified_name: tosca:Container.Application - specification: tosca-simple-1.0 - specification_section: 5.8.11 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_CONTAINER_APP' - description: >- - The TOSCA Container Application node represents an application that requires Container-level virtualization technology. - derived_from: tosca.nodes.Root - requirements: - - host: - capability: tosca.capabilities.Container - # ARIA NOTE: seems a mistake in the spec - #node: tosca.nodes.Container - relationship: tosca.relationships.HostedOn - - # - # Storage - # - - tosca.nodes.ObjectStorage: - _extensions: - shorthand_name: ObjectStorage - type_qualified_name: tosca:ObjectStorage - specification: tosca-simple-1.0 - specification_section: 5.8.8 - description: >- - The TOSCA ObjectStorage node represents storage that provides the ability to store data as objects (or BLOBs of data) without - consideration for the underlying filesystem or devices. - derived_from: tosca.nodes.Root - properties: - name: - description: >- - The logical name of the object store (or container). - type: string - size: - description: >- - The requested initial storage size (default unit is in Gigabytes). - type: scalar-unit.size - constraints: - - greater_or_equal: 0 GB - required: false - maxsize: - description: >- - The requested maximum storage size (default unit is in Gigabytes). - type: scalar-unit.size - constraints: - - greater_or_equal: 0 GB - required: false - capabilities: - storage_endpoint: - type: tosca.capabilities.Endpoint - - tosca.nodes.BlockStorage: - _extensions: - shorthand_name: BlockStorage - type_qualified_name: tosca:BlockStorage - specification: tosca-simple-1.0 - specification_section: 5.8.9 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_NODES_BLOCK_STORAGE' - description: >- - derived_from: tosca.nodes.Root - properties: - size: - description: >- - The requested storage size (default unit is MB). - type: scalar-unit.size - constraints: - - greater_or_equal: 1 MB - volume_id: - description: >- - ID of an existing volume (that is in the accessible scope of the requesting application). - type: string - required: false - snapshot_id: - description: >- - Some identifier that represents an existing snapshot that should be used when creating the block storage (volume). - type: string - required: false - capabilities: - attachment: - type: tosca.capabilities.Attachment - - # - # Network - # - - tosca.nodes.network.Network: - _extensions: - shorthand_name: Network - type_qualified_name: tosca:Network - specification: tosca-simple-1.0 - specification_section: 7.5.1 - description: >- - The TOSCA Network node represents a simple, logical network service. - derived_from: tosca.nodes.Root - properties: - ip_version: - description: >- - The IP version of the requested network. - type: integer - constraints: - - valid_values: [ 4, 6 ] - default: 4 - required: false - cidr: - description: >- - The cidr block of the requested network. - type: string - required: false - start_ip: - description: >- - The IP address to be used as the 1st one in a pool of addresses derived from the cidr block full IP range. - type: string - required: false - end_ip: - description: >- - The IP address to be used as the last one in a pool of addresses derived from the cidr block full IP range. - type: string - required: false - gateway_ip: - description: >- - The gateway IP address. - type: string - required: false - network_name: - description: >- - An Identifier that represents an existing Network instance in the underlying cloud infrastructure - OR - be used as the - name of the new created network. - type: string - required: false - network_id: - description: >- - An Identifier that represents an existing Network instance in the underlying cloud infrastructure. This property is - mutually exclusive with all other properties except network_name. - type: string - required: false - segmentation_id: - description: >- - A segmentation identifier in the underlying cloud infrastructure (e.g., VLAN id, GRE tunnel id). If the segmentation_id - is specified, the network_type or physical_network properties should be provided as well. - type: string - required: false - network_type: - description: >- - Optionally, specifies the nature of the physical network in the underlying cloud infrastructure. Examples are flat, vlan, - gre or vxlan. For flat and vlan types, physical_network should be provided too. - type: string - required: false - physical_network: - description: >- - Optionally, identifies the physical network on top of which the network is implemented, e.g. physnet1. This property is - required if network_type is flat or vlan. - type: string - required: false - dhcp_enabled: - description: >- - Indicates the TOSCA container to create a virtual network instance with or without a DHCP service. - type: boolean - default: true - required: false - capabilities: - link: - type: tosca.capabilities.network.Linkable - - tosca.nodes.network.Port: - _extensions: - shorthand_name: Port - type_qualified_name: tosca:Port - specification: tosca-simple-1.0 - specification_section: 7.5.2 - description: >- - The TOSCA Port node represents a logical entity that associates between Compute and Network normative types. - - The Port node type effectively represents a single virtual NIC on the Compute node instance. - derived_from: tosca.nodes.Root - properties: - ip_address: - description: >- - Allow the user to set a fixed IP address. Note that this address is a request to the provider which they will attempt to - fulfill but may not be able to dependent on the network the port is associated with. - type: string - required: false - order: - description: >- - The order of the NIC on the compute instance (e.g. eth2). Note: when binding more than one port to a single compute (aka - multi vNICs) and ordering is desired, it is *mandatory* that all ports will be set with an order value and. The order - values must represent a positive, arithmetic progression that starts with 0 (e.g. 0, 1, 2, ..., n). - type: integer - constraints: - - greater_or_equal: 0 - default: 0 - required: false - is_default: - description: >- - Set is_default=true to apply a default gateway route on the running compute instance to the associated network gateway. - Only one port that is associated to single compute node can set as default=true. - type: boolean - default: false - required: false - ip_range_start: - description: >- - Defines the starting IP of a range to be allocated for the compute instances that are associated by this Port. Without - setting this property the IP allocation is done from the entire CIDR block of the network. - type: string - required: false - ip_range_end: - description: >- - Defines the ending IP of a range to be allocated for the compute instances that are associated by this Port. Without - setting this property the IP allocation is done from the entire CIDR block of the network. - type: string - required: false - attributes: - ip_address: - description: >- - The IP address would be assigned to the associated compute instance. - type: string - requirements: - - link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - binding: - capability: tosca.capabilities.network.Bindable - relationship: tosca.relationships.network.BindsTo http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/policies.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/policies.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/policies.yaml deleted file mode 100644 index c65e38b..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/policies.yaml +++ /dev/null @@ -1,71 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -policy_types: - - tosca.policies.Root: - _extensions: - shorthand_name: Root # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.10.1 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_POLICIES_ROOT' - description: >- - This is the default (root) TOSCA Policy Type definition that all other TOSCA base Policy Types derive from. - - tosca.policies.Placement: - _extensions: - shorthand_name: Placement # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Placement - specification: tosca-simple-1.0 - specification_section: 5.10.2 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_POLICIES_PLACEMENT' - description: >- - This is the default (root) TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes. - derived_from: tosca.policies.Root - - tosca.policies.Scaling: - _extensions: - shorthand_name: Scaling # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Scaling - specification: tosca-simple-1.0 - specification_section: 5.10.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_POLICIES_SCALING' - description: >- - This is the default (root) TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes. - derived_from: tosca.policies.Root - - tosca.policies.Update: - _extensions: - shorthand_name: Update # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Update - specification: tosca-simple-1.0 - specification_section: 5.10.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_POLICIES_UPDATE' - description: >- - This is the default (root) TOSCA Policy Type definition that is used to govern update of TOSCA nodes or groups of nodes. - derived_from: tosca.policies.Root - - tosca.policies.Performance: - _extensions: - shorthand_name: Performance # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Performance - specification: tosca-simple-1.0 - specification_section: 5.10.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_POLICIES_PERFORMANCE' - description: >- - This is the default (root) TOSCA Policy Type definition that is used to declare performance requirements for TOSCA nodes or - groups of nodes. - derived_from: tosca.policies.Root http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/relationships.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/relationships.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/relationships.yaml deleted file mode 100644 index b9d3176..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/relationships.yaml +++ /dev/null @@ -1,158 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -relationship_types: - - tosca.relationships.Root: - _extensions: - shorthand_name: Root # ARIA NOTE: omitted in the spec - type_qualified_name: tosca:Root - specification: tosca-simple-1.0 - specification_section: 5.6.1 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_ROOT' - description: >- - This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from. - attributes: - tosca_id: - description: >- - A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type. - type: string - tosca_name: - description: >- - This attribute reflects the name of the Relationship Template as defined in the TOSCA service template. This name is not - unique to the realized instance model of corresponding deployed application as each template in the model can result in - one or more instances (e.g., scaled) when orchestrated to a provider environment. - type: string - state: - description: >- - The state of the relationship instance. - type: string - default: initial - interfaces: - Configure: - type: tosca.interfaces.relationship.Configure - - tosca.relationships.DependsOn: - _extensions: - shorthand_name: DependsOn - type_qualified_name: tosca:DependsOn - specification: tosca-simple-1.0 - specification_section: 5.6.2 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_DEPENDSON' - description: >- - This type represents a general dependency relationship between two nodes. - derived_from: tosca.relationships.Root - valid_target_types: [ tosca.capabilities.Node ] - - tosca.relationships.HostedOn: - _extensions: - shorthand_name: HostedOn - type_qualified_name: tosca:HostedOn - specification: tosca-simple-1.0 - specification_section: 5.6.3 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_HOSTEDON' - description: >- - This type represents a hosting relationship between two nodes. - derived_from: tosca.relationships.Root - valid_target_types: [ tosca.capabilities.Container ] - - tosca.relationships.ConnectsTo: - _extensions: - shorthand_name: ConnectsTo - type_qualified_name: tosca:ConnectsTo - specification: tosca-simple-1.0 - specification_section: 5.6.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_CONNECTSTO' - description: >- - This type represents a network connection relationship between two nodes. - derived_from: tosca.relationships.Root - valid_target_types: [ tosca.capabilities.Endpoint ] - properties: - credential: - type: tosca.datatypes.Credential - required: false - - tosca.relationships.AttachesTo: - _extensions: - shorthand_name: AttachesTo - type_qualified_name: tosca:AttachesTo - specification: tosca-simple-1.0 - specification_section: 5.6.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_ATTACHTO' - description: >- - This type represents an attachment relationship between two nodes. For example, an AttachesTo relationship type would be used - for attaching a storage node to a Compute node. - derived_from: tosca.relationships.Root - valid_target_types: [ tosca.capabilities.Attachment ] - properties: - location: - description: >- - The relative location (e.g., path on the file system), which provides the root location to address an attached node. - e.g., a mount point / path such as '/usr/data'. Note: The user must provide it and it cannot be "root". - type: string - constraints: - - min_length: 1 - device: - description: >- - The logical device name which for the attached device (which is represented by the target node in the model). e.g., - '/dev/hda1'. - type: string - required: false - attributes: - device: - description: >- - The logical name of the device as exposed to the instance. - Note: A runtime property that gets set when the model gets instantiated by the orchestrator. - type: string - - tosca.relationships.RoutesTo: - _extensions: - shorthand_name: RoutesTo - type_qualified_name: tosca:RoutesTo - specification: tosca-simple-1.0 - specification_section: 5.6.6 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#_Toc397688815' - description: >- - This type represents an intentional network routing between two Endpoints in different networks. - derived_from: tosca.relationships.ConnectsTo - valid_target_types: [ tosca.capabilities.Endpoint ] - - # - # Network - # - - tosca.relationships.network.LinksTo: - _extensions: - shorthand_name: LinksTo - type_qualified_name: tosca:LinksTo - specification: tosca-simple-1.0 - specification_section: 7.5.4 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_NETWORK_LINKSTO' - description: >- - This relationship type represents an association relationship between Port and Network node types. - derived_from: tosca.relationships.DependsOn - valid_target_types: [ tosca.capabilities.network.Linkable ] - - tosca.relationships.network.BindsTo: - _extensions: - shorthand_name: BindsTo # ARIA NOTE: the spec says "network.BindsTo" which seems wrong - type_qualified_name: tosca:BindsTo - specification: tosca-simple-1.0 - specification_section: 7.5.5 - specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_RELATIONSHIPS_NETWORK_BINDTO' - description: >- - This type represents a network association relationship between Port and Compute node types. - derived_from: tosca.relationships.DependsOn - valid_target_types: [ tosca.capabilities.network.Bindable ] http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/tosca-simple-1.0.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/tosca-simple-1.0.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/tosca-simple-1.0.yaml deleted file mode 100644 index f8cc520..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-1.0/tosca-simple-1.0.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -imports: - - artifacts.yaml - - capabilities.yaml - - data.yaml - - groups.yaml - - interfaces.yaml - - nodes.yaml - - policies.yaml - - relationships.yaml http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/artifacts.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/artifacts.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/artifacts.yaml deleted file mode 100644 index 2427d9f..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/artifacts.yaml +++ /dev/null @@ -1,84 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -artifact_types: - - tosca.artifacts.nfv.SwImage: - _extensions: - shorthand_name: SwImage - type_qualified_name: tosca:SwImage - specification: tosca-simple-nfv-1.0 - specification_section: 5.4.1 - specification_url: 'http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd04/tosca-nfv-v1.0-csd04.html#_Toc482896067' - derived_from: tosca.artifacts.Deployment.Image - properties: - name: - description: >- - Name of this software image. - type: string - required: true - version: - description: >- - Version of this software image. - type: string - required: true - checksum: - description: >- - Checksum of the software image file. - type: string - container_format: - description: >- - The container format describes the container file format in which software image is - provided. - type: string - required: true - disk_format: - description: >- - The disk format of a software image is the format of the underlying disk image. - type: string - required: true - min_disk: - description: >- - The minimal disk size requirement for this software image. - type: scalar-unit.size - required: true - min_ram: - description: >- - The minimal disk size requirement for this software image. - type: scalar-unit.size - required: false - size: # ARIA NOTE: section [5.4.1.1 Properties] calls this field 'Size' - description: >- - The size of this software image - type: scalar-unit.size - required: true - sw_image: - description: >- - A reference to the actual software image within VNF Package, or url. - type: string - required: true - operating_system: - description: >- - Identifies the operating system used in the software image. - type: string - required: false - supported _virtualization_enviroment: - description: >- - Identifies the virtualization environments (e.g. hypervisor) compatible with this software - image. - type: list - entry_schema: - type: string - required: false http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/23d6ba76/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/capabilities.yaml ---------------------------------------------------------------------- diff --git a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/capabilities.yaml b/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/capabilities.yaml deleted file mode 100644 index 7b6363f..0000000 --- a/apache-ariatosca-0.1.1/extensions/aria_extension_tosca/profiles/tosca-simple-nfv-1.0/capabilities.yaml +++ /dev/null @@ -1,70 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. - -capability_types: - - tosca.capabilities.nfv.VirtualBindable: - _extensions: - shorthand_name: VirtualBindable - type_qualified_name: tosca:VirtualBindable - specification: tosca-simple-nfv-1.0 - specification_section: 5.5.1 - specification_url: 'http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd04/tosca-nfv-v1.0-csd04.html#_Toc482896069' - description: >- - A node type that includes the VirtualBindable capability indicates that it can be pointed by - tosca.relationships.nfv.VirtualBindsTo relationship type. - derived_from: tosca.capabilities.Node - - tosca.capabilities.nfv.Metric: - _extensions: - shorthand_name: Metric - type_qualified_name: tosca:Metric - specification: tosca-simple-nfv-1.0 - specification_section: 5.5.2 - specification_url: 'http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd04/tosca-nfv-v1.0-csd04.html#_Toc482896070' - description: >- - A node type that includes the Metric capability indicates that it can be monitored using an nfv.relationships.Monitor - relationship type. - derived_from: tosca.capabilities.Endpoint - - tosca.capabilities.nfv.VirtualCompute: - _extensions: - shorthand_name: VirtualCompute - type_qualified_name: tosca:VirtualCompute - specification: tosca-simple-nfv-1.0 - specification_section: 5.5.3 - specification_url: 'http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd04/tosca-nfv-v1.0-csd04.html#_Toc482896071' - derived_from: tosca.capabilities.Root - properties: - requested_additional_capabilities: - # ARIA NOTE: in section [5.5.3.1 Properties] the name of this property is - # "request_additional_capabilities", and its type is not a map, but - # tosca.datatypes.nfv.RequestedAdditionalCapability - description: >- - Describes additional capability for a particular VDU. - type: map - entry_schema: - type: tosca.datatypes.nfv.RequestedAdditionalCapability - required: false - virtual_memory: - description: >- - Describes virtual memory of the virtualized compute. - type: tosca.datatypes.nfv.VirtualMemory - required: true - virtual_cpu: - description: >- - Describes virtual CPU(s) of the virtualized compute. - type: tosca.datatypes.nfv.VirtualCpu - required: true
