blob: ade37a87bd76f64cf0e2e00d9dfa7afe5b85b74b [file] [log] [blame]
Pingping Lin7ea29aa2017-10-03 16:39:23 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15tosca_definitions_version: tosca_simple_yaml_1_0
16
17# compile this with "m4 vmme.m4 > vmme.yaml"
18
19# include macros
20include(macros.m4)
21
22node_types:
23 tosca.nodes.VMMEService:
24 derived_from: tosca.nodes.Root
25 description: >
26 VMME Service
27 capabilities:
28 xos_base_service_caps
29 properties:
30 xos_base_props
31 xos_base_service_props
32
33 tosca.nodes.VMMETenant:
34 derived_from: tosca.nodes.Root
35 description: >
36 VMME Tenant
37 properties:
38 xos_base_tenant_props
39
40 tosca.nodes.VMMEVendor:
41 derived_from: tosca.nodes.Root
42 description: >
43 VMME Vendor
44 properties:
45 xos_base_props
46 name:
47 type: string
48 required: true
49
50 tosca.relationships.VendorOfTenant:
51 derived_from: tosca.relationships.Root
52 valid_target_types: [ tosca.capabilities.xos.VMMETenant ]
53