blob: aa5153697af54789ba54785c544dbb3f2e78d446 [file] [log] [blame]
Andrea Campanella420e4b42017-09-01 16:51:03 +02001
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
17tosca_definitions_version: tosca_simple_yaml_1_0
18
19# compile this with "m4 vnaas.m4 > vnaas.yaml"
20
21# include macros
22include(macros.m4)
23
24node_types:
25
26 tosca.nodes.BandwidthProfile:
27 derived_from: tosca.nodes.Root
28 description: >
29 CORD: The E-CORD bandwidth profile.
30 capabilities:
31 properties:
32 no-delete:
33 type: boolean
34 default: false
35 description: Do not allow Tosca to delete this object
36 no-create:
37 type: boolean
38 default: false
39 description: Do not allow Tosca to create this object
40 no-update:
41 type: boolean
42 default: false
43 description: Do not allow Tosca to update this object
44 replaces:
45 type: string
46 required: false
47 descrption: Replaces/renames this object
48 cbs:
49 type: integer
50 required: false
51 ebs:
52 type: integer
53 required: false
54 cir:
55 type: integer
56 required: false
57 eir:
58 type: integer
59 required: false
60 name:
61 type: string
62 required: true
63
64 tosca.nodes.UserNetworkInterface:
65 derived_from: tosca.nodes.Root
66 description: >
67 CORD: The ecord user netowrk interface
68 capabilities:
69 properties:
70 no-delete:
71 type: boolean
72 default: false
73 description: Do not allow Tosca to delete this object
74 no-create:
75 type: boolean
76 default: false
77 description: Do not allow Tosca to create this object
78 no-update:
79 type: boolean
80 default: false
81 description: Do not allow Tosca to update this object
82 replaces:
83 type: string
84 required: false
85 descrption: Replaces/renames this object
86 cpe_id:
87 type: string
88 required: false
89 tenant:
90 type: string
91 required: true
92 name:
93 type: string
94 required: true
95 latlng:
96 type: string
97 required: false
98
99 tosca.nodes.OnosModel:
100 derived_from: tosca.nodes.Root
101 description: >
102 CORD: The ecord ONOS model
103 capabilities:
104 properties:
105 no-delete:
106 type: boolean
107 default: false
108 description: Do not allow Tosca to delete this object
109 no-create:
110 type: boolean
111 default: false
112 description: Do not allow Tosca to create this object
113 no-update:
114 type: boolean
115 default: false
116 description: Do not allow Tosca to update this object
117 replaces:
118 type: string
119 required: false
120 descrption: Replaces/renames this object
121 name:
122 type: string
123 required: false
124 onos_ip:
125 type: string
126 required: false
127 onos_port:
128 type: integer
129 required: false
130 onos_username:
131 type: string
132 required: false
133 onos_password:
134 type: string
135 required: false
136 onos_type:
137 type: string
138 required: false
139
140 tosca.nodes.EnterpriseLocation:
141 derived_from: tosca.nodes.Root
142 description: >
143 CORD: The ecord enterprise location
144 capabilities:
145 properties:
146 no-delete:
147 type: boolean
148 default: false
149 description: Do not allow Tosca to delete this object
150 no-create:
151 type: boolean
152 default: false
153 description: Do not allow Tosca to create this object
154 no-update:
155 type: boolean
156 default: false
157 description: Do not allow Tosca to update this object
158 replaces:
159 type: string
160 required: false
161 descrption: Replaces/renames this object
162 name:
163 type: string
164 required: false
165 cord_site_ip:
166 type: string
167 required: false
168 cord_site_port:
169 type: integer
170 required: false
171 cord_site_username:
172 type: string
173 required: false
174 cord_site_password:
175 type: string
176 required: false
177 cord_site_type:
178 type: string
179 required: false
180
181 tosca.nodes.ELine:
182 derived_from: tosca.nodes.Root
183 description: >
184 CORD: The ecord Ethernet Virtual Private Line
185 capabilities:
186 properties:
187 no-delete:
188 type: boolean
189 default: false
190 description: Do not allow Tosca to delete this object
191 no-create:
192 type: boolean
193 default: false
194 description: Do not allow Tosca to create this object
195 no-update:
196 type: boolean
197 default: false
198 description: Do not allow Tosca to update this object
199 replaces:
200 type: string
201 required: false
202 descrption: Replaces/renames this object
203 name:
204 type: string
205 required: false
206 connect_point_1_id:
207 type: string
208 required: false
209 connect_point_2_id:
210 type: string
211 required: false
212 vlanids:
213 type: string
214 required: false
215 cord_site_name:
216 type: string
217 required: false
218 bwp:
219 type: string
220 required: false