Matteo Scandolo | 35113f7 | 2017-08-08 13:05:25 -0700 | [diff] [blame] | 1 | |
| 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 Baker | 619de67 | 2016-06-20 12:49:38 -0700 | [diff] [blame] | 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | # compile this with "m4 exampleservice.m4 > exampleservice.yaml" |
| 20 | |
| 21 | # include macros |
| 22 | include(macros.m4) |
| 23 | |
| 24 | node_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 | |
Scott Baker | ffac718 | 2017-07-27 15:21:30 -0700 | [diff] [blame^] | 38 | tosca.nodes.ExampleServiceInstance: |
| 39 | derived_from: tosca.nodes.Root |
| 40 | description: > |
| 41 | A ServiceInstance of the example service |
| 42 | properties: |
| 43 | xos_base_tenant_props |
| 44 | tenant_message: |
| 45 | type: string |
| 46 | required: false |
| 47 | |
| 48 | # deprecated, replaced by ExampleServiceInstance |
Scott Baker | 619de67 | 2016-06-20 12:49:38 -0700 | [diff] [blame] | 49 | tosca.nodes.ExampleTenant: |
| 50 | derived_from: tosca.nodes.Root |
| 51 | description: > |
| 52 | A Tenant of the example service |
| 53 | properties: |
| 54 | xos_base_tenant_props |
| 55 | tenant_message: |
| 56 | type: string |
| 57 | required: false |
| 58 | |