blob: fcc771b854dd16ff3b2046288e45c2a95eb52f7d [file] [log] [blame]
Matteo Scandolo41ed0992017-08-08 13:05:27 -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
Murat Parlakisik66fde4d2016-09-22 13:28:13 -070017tosca_definitions_version: tosca_simple_yaml_1_0
18
19# include macros
20# Note: Tosca derived_from isn't working the way I think it should, it's not
21# inheriting from the parent template. Until we get that figured out, use
22# m4 macros do our inheritance
23
24
25# Service
26
27
28# Subscriber
29
Murat Parlakisik66fde4d2016-09-22 13:28:13 -070030node_types:
31 tosca.nodes.VSGWService:
32 derived_from: tosca.nodes.Root
33 description: >
JianHaoce45e042017-01-16 11:06:29 +000034 vSGW Service
Murat Parlakisik66fde4d2016-09-22 13:28:13 -070035 capabilities:
36 scalable:
37 type: tosca.capabilities.Scalable
38 service:
39 type: tosca.capabilities.xos.Service
40 properties:
41 no-delete:
42 type: boolean
43 default: false
44 description: Do not allow Tosca to delete this object
45 no-create:
46 type: boolean
47 default: false
48 description: Do not allow Tosca to create this object
49 no-update:
50 type: boolean
51 default: false
52 description: Do not allow Tosca to update this object
53 replaces:
54 type: string
55 required: false
56 descrption: Replaces/renames this object
57 kind:
58 type: string
59 default: generic
60 description: Type of service.
61 view_url:
62 type: string
63 required: false
64 description: URL to follow when icon is clicked in the Service Directory.
65 icon_url:
66 type: string
67 required: false
68 description: ICON to display in the Service Directory.
69 enabled:
70 type: boolean
71 default: true
72 published:
73 type: boolean
74 default: true
75 description: If True then display this Service in the Service Directory.
76 public_key:
77 type: string
78 required: false
79 description: Public key to install into Instances to allows Services to SSH into them.
80 private_key_fn:
81 type: string
82 required: false
83 description: Location of private key file
84 versionNumber:
85 type: string
86 required: false
87 description: Version number of Service.
88 service_message:
89 type: string
90 required: false
91
92 tosca.nodes.VSGWTenant:
93 derived_from: tosca.nodes.Root
94 description: >
95 A Tenant of the vsgw service
96 properties:
97 kind:
98 type: string
99 default: generic
100 description: Kind of tenant
101 service_specific_id:
102 type: string
103 required: false
104 description: Service specific ID opaque to XOS but meaningful to service
105 tenant_message:
106 type: string
107 required: false
108