Skip to content

Commit a2d1eb2

Browse files
add SharedFilesystem
1 parent 29b4863 commit a2d1eb2

2 files changed

Lines changed: 91 additions & 2 deletions

File tree

engine/schema/src/main/resources/nimble/resource-types/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TOSCA Profile
22

3-
24 / 31
3+
25 / 31
44

55
- [X] Domain
66
- [X] Account
@@ -32,4 +32,4 @@
3232
- [X] AutoScalingVmGroup
3333
- [X] AutoScalingPolicy
3434
- [ ] AutoScalingVmProfile MAPAS
35-
- [ ] SharedFileSystem AQUI
35+
- [X] SharedFileSystem
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
tosca_definitions_version: tosca_2_0
18+
19+
description: >
20+
SharedFilesystem node type definition.
21+
22+
node_types:
23+
SharedFilesystem:
24+
properties:
25+
zone-id:
26+
type: string
27+
description: The ID of the availability zone.
28+
required: true
29+
name:
30+
type: string
31+
description: The name of the shared filesystem.
32+
required: true
33+
description:
34+
type: string
35+
description: The description of the shared filesystem.
36+
required: false
37+
account:
38+
type: string
39+
description: "The name of the account associated with the shared filesystem. It must be used with the 'domain-id' property."
40+
required: false
41+
domain-id:
42+
type: string
43+
description: The domain ID associated with the shared filesystem.
44+
required: false
45+
project-id:
46+
type: string
47+
description: The project ID associated with the shared filesystem.
48+
required: false
49+
filesystem:
50+
type: string
51+
description: >
52+
The filesystem format that will be installed on the shared filesystem.
53+
Valid values are: 'xfs' and 'ext4'.
54+
validation: { $valid_values: [ $value, [ xfs, ext4 ] ] }
55+
required: true
56+
network-id:
57+
type: string
58+
description: The ID of the network in which the shared filesystem will be attached to.
59+
required: true
60+
service-offering-id:
61+
type: string
62+
description: Service offering ID for the shared filesystem VM hosting the data.
63+
required: true
64+
disk-offering-id:
65+
type: string
66+
description: Disk offering ID to use for the underlying storage.
67+
required: true
68+
size:
69+
type: integer
70+
description: The size of the shared filesystem in GiB.
71+
required: false
72+
provider:
73+
type: string
74+
description: >
75+
The provider of the shared filesystem. The list of providers
76+
can be fetched by using the 'listSharedFileSystemProviders' API.
77+
required: false
78+
min-iops:
79+
type: integer
80+
description: Minimum IOPS.
81+
required: false
82+
max-iops:
83+
type: integer
84+
description: Maximum IOPS.
85+
required: false
86+
attributes:
87+
id:
88+
type: string
89+
description: The ID of the shared filesystem.

0 commit comments

Comments
 (0)