blob: 6886a8c0dc09639ed8c742e5b491e150204ae20c [file] [log] [blame]
Matteo Scandolo35113f72017-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
Scott Baker619de672016-06-20 12:49:38 -070017tosca_definitions_version: tosca_simple_yaml_1_0
18
19# compile this with "m4 exampleservice.m4 > exampleservice.yaml"
20
21# include macros
22include(macros.m4)
23
24node_types:
25 tosca.nodes.ExampleService:
26 derived_from: tosca.nodes.Root
27 description: >
28 Example Service
29 capabilities:
30 xos_base_service_caps
31 properties:
32 xos_base_props
33 xos_base_service_props
34 service_message:
35 type: string
36 required: false
37
38 tosca.nodes.ExampleTenant:
39 derived_from: tosca.nodes.Root
40 description: >
41 A Tenant of the example service
42 properties:
43 xos_base_tenant_props
44 tenant_message:
45 type: string
46 required: false
47