blob: 9ac1400fbc1c43cc709c9ff40528e3530865f6a6 [file] [log] [blame]
Matteo Scandolo770c49f2016-09-23 15:07:38 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3# compile this with "m4 metronet.m4 > metronet.yaml"
4
5# include macros
6# Note: Tosca derived_from isn't working the way I think it should, it's not
7# inheriting from the parent template. Until we get that figured out, use
8# m4 macros do our inheritance
9
10
11# Service
12
13
14# Subscriber
15
16
17
18
19# end m4 macros
20
21
22
23node_types:
Andrea Campanellae92c9092017-03-17 10:44:37 +010024
Andrea Campanella65e91e62017-05-22 17:50:37 +020025 tosca.nodes.BandwidthProfile:
Andrea Campanellae92c9092017-03-17 10:44:37 +010026 derived_from: tosca.nodes.Root
27 description: >
28 CORD: The ecord bandwith profile.
29 capabilities:
Andrea Campanellae92c9092017-03-17 10:44:37 +010030 properties:
31 no-delete:
32 type: boolean
33 default: false
34 description: Do not allow Tosca to delete this object
35 no-create:
36 type: boolean
37 default: false
38 description: Do not allow Tosca to create this object
39 no-update:
40 type: boolean
41 default: false
42 description: Do not allow Tosca to update this object
43 replaces:
44 type: string
45 required: false
46 descrption: Replaces/renames this object
Andrea Campanella65e91e62017-05-22 17:50:37 +020047 cbs:
Andrea Campanellae92c9092017-03-17 10:44:37 +010048 type: integer
49 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020050 ebs:
Andrea Campanellae92c9092017-03-17 10:44:37 +010051 type: integer
52 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020053 cir:
Andrea Campanellae92c9092017-03-17 10:44:37 +010054 type: integer
55 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020056 eir:
Andrea Campanellae92c9092017-03-17 10:44:37 +010057 type: integer
58 required: false
59 name:
60 type: string
61 required: true
62
Andrea Campanella65e91e62017-05-22 17:50:37 +020063 tosca.nodes.UserNetworkInterface:
Andrea Campanella11237552017-03-21 17:21:20 +010064 derived_from: tosca.nodes.Root
65 description: >
66 CORD: The ecord user netowrk interface
67 capabilities:
68 properties:
69 no-delete:
70 type: boolean
71 default: false
72 description: Do not allow Tosca to delete this object
73 no-create:
74 type: boolean
75 default: false
76 description: Do not allow Tosca to create this object
77 no-update:
78 type: boolean
79 default: false
80 description: Do not allow Tosca to update this object
81 replaces:
82 type: string
83 required: false
84 descrption: Replaces/renames this object
Andrea Campanella65e91e62017-05-22 17:50:37 +020085 cpe_id:
Andrea Campanella11237552017-03-21 17:21:20 +010086 type: string
87 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020088 tenant:
89 type: string
90 required: true
Andrea Campanella11237552017-03-21 17:21:20 +010091 name:
92 type: string
93 required: true
Andrea Campanella11237552017-03-21 17:21:20 +010094 latlng:
95 type: string
96 required: false
97
Andrea Campanella65e91e62017-05-22 17:50:37 +020098 tosca.nodes.OnosModel:
99 derived_from: tosca.nodes.Root
100 description: >
101 CORD: The ecord ONOS model
102 capabilities:
103 properties:
104 no-delete:
105 type: boolean
106 default: false
107 description: Do not allow Tosca to delete this object
108 no-create:
109 type: boolean
110 default: false
111 description: Do not allow Tosca to create this object
112 no-update:
113 type: boolean
114 default: false
115 description: Do not allow Tosca to update this object
116 replaces:
117 type: string
118 required: false
119 descrption: Replaces/renames this object
120 name:
121 type: string
122 required: false
123 onos_ip:
124 type: string
125 required: false
126 onos_port:
127 type: integer
128 required: false
129 onos_username:
130 type: string
131 required: false
132 onos_password:
133 type: string
134 required: false
135 onos_type:
136 type: string
137 required: false
138
139 tosca.nodes.EnterpriseLocation:
140 derived_from: tosca.nodes.Root
141 description: >
142 CORD: The ecord enterprise location
143 capabilities:
144 properties:
145 no-delete:
146 type: boolean
147 default: false
148 description: Do not allow Tosca to delete this object
149 no-create:
150 type: boolean
151 default: false
152 description: Do not allow Tosca to create this object
153 no-update:
154 type: boolean
155 default: false
156 description: Do not allow Tosca to update this object
157 replaces:
158 type: string
159 required: false
160 descrption: Replaces/renames this object
161 name:
162 type: string
163 required: false
164 cord_site_ip:
165 type: string
166 required: false
167 cord_site_port:
168 type: integer
169 required: false
170 cord_site_username:
171 type: string
172 required: false
173 cord_site_password:
174 type: string
175 required: false
176 cord_site_type:
177 type: string
178 required: false
179
180 tosca.nodes.ELine:
181 derived_from: tosca.nodes.Root
182 description: >
183 CORD: The ecord Ethernet Virtual Private Line
184 capabilities:
185 properties:
186 no-delete:
187 type: boolean
188 default: false
189 description: Do not allow Tosca to delete this object
190 no-create:
191 type: boolean
192 default: false
193 description: Do not allow Tosca to create this object
194 no-update:
195 type: boolean
196 default: false
197 description: Do not allow Tosca to update this object
198 replaces:
199 type: string
200 required: false
201 descrption: Replaces/renames this object
202 name:
203 type: string
204 required: false
205 connect_point_1_id:
206 type: string
207 required: false
208 connect_point_2_id:
209 type: string
210 required: false
211 vlanids:
212 type: string
213 required: false
214 cord_site_name:
215 type: string
216 required: false
217 bwp:
218 type: string
219 required: false