blob: 2a24cdb6c83e84c5c15de09efcebc67ce38be819 [file] [log] [blame]
Woojoong Kim17786562017-10-16 17:00:51 -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 sdncontroller.m4 > sdncontroller.yaml"
18
19# include macros
20include(macros.m4)
21
22node_types:
23 tosca.nodes.SDNControllerService:
24 derived_from: tosca.nodes.Root
25 description: >
26 SDN Controller Service for vSPGW
27 capabilities:
28 xos_base_service_caps
29 properties:
30 xos_base_props
31 xos_base_service_props
32
33 tosca.nodes.SDNControllerServiceInstance:
34 derived_from: tosca.nodes.Root
35 description: >
36 SDN Controller Service Instance for vSPGW
37 properties:
38 xos_base_tenant_props
39
40 tosca.nodes.SDNControllerVendor:
41 derived_from: tosca.nodes.Root
42 description: >
43 SDN Controller Vendor for vSPGW
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.SDNControllerServiceInstance ]
53