blob: d6f8f7f123827d5d2967e318455e1f2b2bb2e5f8 [file] [log] [blame]
Scott Bakerbeb128a2017-08-21 09:20:04 -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
16tosca_definitions_version: tosca_simple_yaml_1_0
17
18# compile this with "m4 addressmanager.m4 > addressmanager.yaml"
19
20# include macros
21# Note: Tosca derived_from isn't working the way I think it should, it's not
22# inheriting from the parent template. Until we get that figured out, use
23# m4 macros do our inheritance
24
25
26# Service
27
28
29# Subscriber
30
31
32
33
34# end m4 macros
35
36
37
38node_types:
39
40 tosca.nodes.AddressManagerService:
41 derived_from: tosca.nodes.Root
42 description: >
43 CORD: The Address Manager Service.
44 capabilities:
45 scalable:
46 type: tosca.capabilities.Scalable
47 service:
48 type: tosca.capabilities.xos.Service
49 properties:
50 no-delete:
51 type: boolean
52 default: false
53 description: Do not allow Tosca to delete this object
54 no-create:
55 type: boolean
56 default: false
57 description: Do not allow Tosca to create this object
58 no-update:
59 type: boolean
60 default: false
61 description: Do not allow Tosca to update this object
62 replaces:
63 type: string
64 required: false
65 descrption: Replaces/renames this object
66 kind:
67 type: string
68 default: generic
69 description: Type of service.
70 view_url:
71 type: string
72 required: false
73 description: URL to follow when icon is clicked in the Service Directory.
74 icon_url:
75 type: string
76 required: false
77 description: ICON to display in the Service Directory.
78 enabled:
79 type: boolean
80 default: true
81 published:
82 type: boolean
83 default: true
84 description: If True then display this Service in the Service Directory.
85 public_key:
86 type: string
87 required: false
88 description: Public key to install into Instances to allows Services to SSH into them.
89 private_key_fn:
90 type: string
91 required: false
92 description: Location of private key file
93 versionNumber:
94 type: string
95 required: false
96 description: Version number of Service.