blob: b1b4928a0ec611d62b8b8ef9c5ab0648e9ac7e16 [file] [log] [blame]
Matteo Scandolo4e0e88c2017-08-08 13:05:25 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15
16
Andrea Campanella680cd622017-03-11 22:48:19 +010017tosca_definitions_version: tosca_simple_yaml_1_0
18
19# compile this with "m4 vnodlocal.m4 > vnodlocal.yaml"
20
21# include macros
22# Note: Tosca derived_from isn't working the way I think it should, it's not
23# inheriting from the parent template. Until we get that figured out, use
24# m4 macros do our inheritance
25
26
27# Service
28
29
30# Subscriber
31
32
33
34
35# end m4 macros
36
37
38
39node_types:
40
41 tosca.nodes.VNodLocalService:
42 derived_from: tosca.nodes.Root
43 description: >
44 CORD: The VNodLocal Service.
45 capabilities:
46 scalable:
47 type: tosca.capabilities.Scalable
48 service:
49 type: tosca.capabilities.xos.Service
50 properties:
51 no-delete:
52 type: boolean
53 default: false
54 description: Do not allow Tosca to delete this object
55 no-create:
56 type: boolean
57 default: false
58 description: Do not allow Tosca to create this object
59 no-update:
60 type: boolean
61 default: false
62 description: Do not allow Tosca to update this object
63 replaces:
64 type: string
65 required: false
66 descrption: Replaces/renames this object
67 kind:
68 type: string
69 default: generic
70 description: Type of service.
71 view_url:
72 type: string
73 required: false
74 description: URL to follow when icon is clicked in the Service Directory.
75 icon_url:
76 type: string
77 required: false
78 description: ICON to display in the Service Directory.
79 enabled:
80 type: boolean
81 default: true
82 published:
83 type: boolean
84 default: true
85 description: If True then display this Service in the Service Directory.
86 public_key:
87 type: string
88 required: false
89 description: Public key to install into Instances to allows Services to SSH into them.
90 private_key_fn:
91 type: string
92 required: false
93 description: Location of private key file
94 versionNumber:
95 type: string
96 required: false
97 description: Version number of Service.
98 rest_hostname:
99 type: string
100 required: false
101 rest_port:
102 type: string
103 required: false
104 rest_user:
105 type: string
106 required: false
107 rest_pass:
108 type: string
109 required: false