blob: 3b1268ab584d1d3c87c828255b394b05387442fe [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
22
23# Copyright 2017-present Open Networking Foundation
24#
25# Licensed under the Apache License, Version 2.0 (the "License");
26# you may not use this file except in compliance with the License.
27# You may obtain a copy of the License at
28#
29# http://www.apache.org/licenses/LICENSE-2.0
30#
31# Unless required by applicable law or agreed to in writing, software
32# distributed under the License is distributed on an "AS IS" BASIS,
33# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34# See the License for the specific language governing permissions and
35# limitations under the License.
36
37
38# Note: Tosca derived_from isn't working the way I think it should, it's not
39# inheriting from the parent template. Until we get that figured out, use
40# m4 macros do our inheritance
41
42
43# Service
44
45
46# Subscriber
47
48
49
50
51# end m4 macros
52
53
54
55node_types:
56
57 tosca.nodes.BandwidthProfile:
58 derived_from: tosca.nodes.Root
59 description: >
60 CORD: The E-CORD bandwidth profile.
61 capabilities:
62 properties:
63 no-delete:
64 type: boolean
65 default: false
66 description: Do not allow Tosca to delete this object
67 no-create:
68 type: boolean
69 default: false
70 description: Do not allow Tosca to create this object
71 no-update:
72 type: boolean
73 default: false
74 description: Do not allow Tosca to update this object
75 replaces:
76 type: string
77 required: false
78 descrption: Replaces/renames this object
79 cbs:
80 type: integer
81 required: false
82 ebs:
83 type: integer
84 required: false
85 cir:
86 type: integer
87 required: false
88 eir:
89 type: integer
90 required: false
91 name:
92 type: string
93 required: true
94
95 tosca.nodes.UserNetworkInterface:
96 derived_from: tosca.nodes.Root
97 description: >
98 CORD: The ecord user netowrk interface
99 capabilities:
100 properties:
101 no-delete:
102 type: boolean
103 default: false
104 description: Do not allow Tosca to delete this object
105 no-create:
106 type: boolean
107 default: false
108 description: Do not allow Tosca to create this object
109 no-update:
110 type: boolean
111 default: false
112 description: Do not allow Tosca to update this object
113 replaces:
114 type: string
115 required: false
116 descrption: Replaces/renames this object
117 cpe_id:
118 type: string
119 required: false
120 tenant:
121 type: string
122 required: true
123 name:
124 type: string
125 required: true
126 latlng:
127 type: string
128 required: false
129
130 tosca.nodes.OnosModel:
131 derived_from: tosca.nodes.Root
132 description: >
133 CORD: The ecord ONOS model
134 capabilities:
135 properties:
136 no-delete:
137 type: boolean
138 default: false
139 description: Do not allow Tosca to delete this object
140 no-create:
141 type: boolean
142 default: false
143 description: Do not allow Tosca to create this object
144 no-update:
145 type: boolean
146 default: false
147 description: Do not allow Tosca to update this object
148 replaces:
149 type: string
150 required: false
151 descrption: Replaces/renames this object
152 name:
153 type: string
154 required: false
155 onos_ip:
156 type: string
157 required: false
158 onos_port:
159 type: integer
160 required: false
161 onos_username:
162 type: string
163 required: false
164 onos_password:
165 type: string
166 required: false
167 onos_type:
168 type: string
169 required: false
170
171 tosca.nodes.EnterpriseLocation:
172 derived_from: tosca.nodes.Root
173 description: >
174 CORD: The ecord enterprise location
175 capabilities:
176 properties:
177 no-delete:
178 type: boolean
179 default: false
180 description: Do not allow Tosca to delete this object
181 no-create:
182 type: boolean
183 default: false
184 description: Do not allow Tosca to create this object
185 no-update:
186 type: boolean
187 default: false
188 description: Do not allow Tosca to update this object
189 replaces:
190 type: string
191 required: false
192 descrption: Replaces/renames this object
193 name:
194 type: string
195 required: false
196 cord_site_ip:
197 type: string
198 required: false
199 cord_site_port:
200 type: integer
201 required: false
202 cord_site_username:
203 type: string
204 required: false
205 cord_site_password:
206 type: string
207 required: false
208 cord_site_type:
209 type: string
210 required: false
211
212 tosca.nodes.ELine:
213 derived_from: tosca.nodes.Root
214 description: >
215 CORD: The ecord Ethernet Virtual Private Line
216 capabilities:
217 properties:
218 no-delete:
219 type: boolean
220 default: false
221 description: Do not allow Tosca to delete this object
222 no-create:
223 type: boolean
224 default: false
225 description: Do not allow Tosca to create this object
226 no-update:
227 type: boolean
228 default: false
229 description: Do not allow Tosca to update this object
230 replaces:
231 type: string
232 required: false
233 descrption: Replaces/renames this object
234 name:
235 type: string
236 required: false
237 connect_point_1_id:
238 type: string
239 required: false
240 connect_point_2_id:
241 type: string
242 required: false
243 vlanids:
244 type: string
245 required: false
246 cord_site_name:
247 type: string
248 required: false
249 bwp:
250 type: string
251 required: false