1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
23 uuid_constraints: &OPENSTACK_UUID_CONSTRAINTS
24 - pattern: '^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$'
32 You may assign an image_id or attach an openstack.Image artifact (the artifact
33 will take precedence).
35 You may assign either flavor_id or flavor_name (flavor_id will take precedence).
36 If neither are assigned, flavor_name has a default value.
37 derived_from: tosca.nodes.Compute
41 See: https://s3itwiki.uzh.ch/display/clouddoc/Supported+Images
43 default: 5d62e82c-924e-4fa9-b1e4-c133867596f7
53 OpenStack availability zone.
58 entry_schema: os.UserInfo
61 type: tosca.interfaces.node.lifecycle.Standard
64 description: The OpenStack API credential for all operations.
65 type: openstack.Credential
68 primary: openstack/create_instance.sh
70 - openstack/utils/api.sh
73 - local_storage: # @override
74 capability: tosca.capabilities.Attachment
75 node: openstack.Volume
76 relationship: tosca.relationships.AttachesTo
78 # type: tosca.relationships.AttachesTo
84 # default: { concat: [ a, b ] }
85 occurrences: [ 0, UNBOUNDED ]
91 See: http://developer.openstack.org/api-ref-blockstorage-v2.html
92 derived_from: tosca.nodes.BlockStorage
109 #snapshot_id: # @override
110 # type: openstack.UUID
134 type: tosca.interfaces.node.lifecycle.Standard
136 openstack_credential:
137 description: The OpenStack API credential for all operations.
138 type: openstack.Credential
141 primary: openstack/create_volume.sh
143 - openstack/utils/api.sh
150 OpenStack secured group.
151 derived_from: tosca.groups.Root
156 type: tosca.interfaces.node.lifecycle.Standard
158 openstack_credential:
159 description: The OpenStack API credential for all operations.
160 type: openstack.Credential
163 primary: openstack/create_secured_group.sh
165 - openstack/utils/api.sh
172 OpenStack scaling policy.
173 derived_from: aria.Scaling
176 type: scalar-unit.size
184 openstack.Credential:
185 derived_from: tosca.datatypes.Credential
189 OpenStack UUID (in GUID format).
191 constraints: *OPENSTACK_UUID_CONSTRAINTS
197 OpenStack image artifact.
198 derived_from: tosca.artifacts.Deployment.Image.VM