blob: 9c5a807993883f34e6fe3ffdb5fd84feb55727f0 [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
6include(macros.m4)
7
8node_types:
Andrea Campanellae92c9092017-03-17 10:44:37 +01009
Andrea Campanella65e91e62017-05-22 17:50:37 +020010 tosca.nodes.BandwidthProfile:
Andrea Campanellae92c9092017-03-17 10:44:37 +010011 derived_from: tosca.nodes.Root
12 description: >
13 CORD: The ecord bandwith profile.
14 capabilities:
Andrea Campanellae92c9092017-03-17 10:44:37 +010015 properties:
Andrea Campanella65e91e62017-05-22 17:50:37 +020016 no-delete:
17 type: boolean
18 default: false
19 description: Do not allow Tosca to delete this object
20 no-create:
21 type: boolean
22 default: false
23 description: Do not allow Tosca to create this object
24 no-update:
25 type: boolean
26 default: false
27 description: Do not allow Tosca to update this object
28 replaces:
29 type: string
30 required: false
31 descrption: Replaces/renames this object
32 cbs:
Andrea Campanellae92c9092017-03-17 10:44:37 +010033 type: integer
34 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020035 ebs:
Andrea Campanellae92c9092017-03-17 10:44:37 +010036 type: integer
37 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020038 cir:
Andrea Campanellae92c9092017-03-17 10:44:37 +010039 type: integer
40 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020041 eir:
Andrea Campanellae92c9092017-03-17 10:44:37 +010042 type: integer
43 required: false
44 name:
45 type: string
46 required: true
47
Andrea Campanella65e91e62017-05-22 17:50:37 +020048 tosca.nodes.UserNetworkInterface:
Andrea Campanella11237552017-03-21 17:21:20 +010049 derived_from: tosca.nodes.Root
50 description: >
51 CORD: The ecord user netowrk interface
52 capabilities:
53 properties:
Andrea Campanella65e91e62017-05-22 17:50:37 +020054 no-delete:
Andrea Campanella11237552017-03-21 17:21:20 +010055 type: boolean
Andrea Campanella65e91e62017-05-22 17:50:37 +020056 default: false
57 description: Do not allow Tosca to delete this object
58 no-create:
59 type: boolean
60 default: false
61 description: Do not allow Tosca to create this object
62 no-update:
63 type: boolean
64 default: false
65 description: Do not allow Tosca to update this object
66 replaces:
Andrea Campanella11237552017-03-21 17:21:20 +010067 type: string
68 required: false
Andrea Campanella65e91e62017-05-22 17:50:37 +020069 descrption: Replaces/renames this object
70 cpe_id:
71 type: string
72 required: false
73 tenant:
74 type: string
75 required: true
Andrea Campanella11237552017-03-21 17:21:20 +010076 name:
77 type: string
78 required: true
Andrea Campanella11237552017-03-21 17:21:20 +010079 latlng:
80 type: string
81 required: false
82
Andrea Campanella65e91e62017-05-22 17:50:37 +020083 tosca.nodes.OnosModel:
84 derived_from: tosca.nodes.Root
85 description: >
86 CORD: The ecord ONOS model
87 capabilities:
88 properties:
89 no-delete:
90 type: boolean
91 default: false
92 description: Do not allow Tosca to delete this object
93 no-create:
94 type: boolean
95 default: false
96 description: Do not allow Tosca to create this object
97 no-update:
98 type: boolean
99 default: false
100 description: Do not allow Tosca to update this object
101 replaces:
102 type: string
103 required: false
104 descrption: Replaces/renames this object
105 name:
106 type: string
107 required: false
108 onos_ip:
109 type: string
110 required: false
111 onos_port:
112 type: integer
113 required: false
114 onos_username:
115 type: string
116 required: false
117 onos_password:
118 type: string
119 required: false
120 onos_type:
121 type: string
122 required: false
123
124 tosca.nodes.EnterpriseLocation:
125 derived_from: tosca.nodes.Root
126 description: >
127 CORD: The ecord enterprise location
128 capabilities:
129 properties:
130 no-delete:
131 type: boolean
132 default: false
133 description: Do not allow Tosca to delete this object
134 no-create:
135 type: boolean
136 default: false
137 description: Do not allow Tosca to create this object
138 no-update:
139 type: boolean
140 default: false
141 description: Do not allow Tosca to update this object
142 replaces:
143 type: string
144 required: false
145 descrption: Replaces/renames this object
146 name:
147 type: string
148 required: false
149 cord_site_ip:
150 type: string
151 required: false
152 cord_site_port:
153 type: integer
154 required: false
155 cord_site_username:
156 type: string
157 required: false
158 cord_site_password:
159 type: string
160 required: false
161 cord_site_type:
162 type: string
163 required: false
164
165 tosca.nodes.ELine:
166 derived_from: tosca.nodes.Root
167 description: >
168 CORD: The ecord Ethernet Virtual Private Line
169 capabilities:
170 properties:
171 no-delete:
172 type: boolean
173 default: false
174 description: Do not allow Tosca to delete this object
175 no-create:
176 type: boolean
177 default: false
178 description: Do not allow Tosca to create this object
179 no-update:
180 type: boolean
181 default: false
182 description: Do not allow Tosca to update this object
183 replaces:
184 type: string
185 required: false
186 descrption: Replaces/renames this object
187 name:
188 type: string
189 required: false
190 connect_point_1_id:
191 type: string
192 required: false
193 connect_point_2_id:
194 type: string
195 required: false
196 vlanids:
197 type: string
198 required: false
199 cord_site_name:
200 type: string
201 required: false
202 bwp:
203 type: string
204 required: false