blob: cc0f896ae8eb88337d44100c0cdcfa66de2071d3 [file] [log] [blame]
Luca Prete2e0dc5d2017-10-26 11:25:56 -07001
2{#
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18tosca_definitions_version: tosca_simple_yaml_1_0
19
20imports:
21 - custom_types/xos.yaml
22 - custom_types/vnaas.yaml
23
24description: vnaasglobal services, generated by platform-install
25
26topology_template:
27 node_templates:
28
29 enterpriselocation#onlab1:
30 type: tosca.nodes.EnterpriseLocation
31 requirements:
32 properties:
33 name: onlab
34 cord_site_ip: 10.90.1.30
35 cord_site_port: 8181
36 cord_site_username: onos
37 cord_site_password: rocks
38 cord_site_type: onos
39
40
41 enterpriselocation#onlab2:
42 type: tosca.nodes.EnterpriseLocation
43 requirements:
44 properties:
45 name: onlab1
46 cord_site_ip: 10.90.1.50
47 cord_site_port: 8181
48 cord_site_username: onos
49 cord_site_password: rocks
50 cord_site_type: onos
51
52 enterpriselocation#onlab3:
53 type: tosca.nodes.EnterpriseLocation
54 requirements:
55 properties:
56 name: onlab1
57 cord_site_ip: 10.90.1.70
58 cord_site_port: 8181
59 cord_site_username: onos
60 cord_site_password: rocks
61 cord_site_type: onos
62
63 onosmodel#onlab:
64 type: tosca.nodes.OnosModel
65 requirements:
66 properties:
67 name: onlabT
68 onos_ip: onos-cord
69 onos_port: 8182
70 onos_username: onos
71 onos_password: rocks
72 onos_type: global
73
74 bandwidthprofile#bronze:
75 type: tosca.nodes.BandwidthProfile
76 requirements:
77 properties:
78 cbs: 1000
79 ebs: 1200
80 cir: 1000000
81 eir: 1200000
82 name: bronze
83
84 bandwidthprofile#silver:
85 type: tosca.nodes.BandwidthProfile
86 requirements:
87 properties:
88 cbs: 1500
89 ebs: 2000
90 cir: 1500000
91 eir: 2000000
92 name: silver
93
94 bandwidthprofile#gold:
95 type: tosca.nodes.BandwidthProfile
96 requirements:
97 properties:
98 cbs: 2000
99 ebs: 2700
100 cir: 2000000
101 eir: 2700000
102 name: gold
103
104 bandwidthprofile#platinum:
105 type: tosca.nodes.BandwidthProfile
106 requirements:
107 properties:
108 cbs: 2500
109 ebs: 3200
110 cir: 2500000
111 eir: 3200000
112 name: platinum
113
114 usernetworkinterface#UserNetworkInterface1:
115 type: tosca.nodes.UserNetworkInterface
116 requirements:
117 properties:
118 tenant: onlab
119 name: uni1
120 latlng: [37.973535, -122.531087]
121 cpe_id: netconf:10.6.0.160:830/0
122
123 usernetworkinterface#UserNetworkInterface2:
124 type: tosca.nodes.UserNetworkInterface
125 requirements:
126 properties:
127 tenant: onlab
128 name: uni2
129 latlng: [37.773972, -122.431297]
130 cpe_id: netconf:10.6.0.161:830/0
131
132 usernetworkinterface#UserNetworkInterface3:
133 type: tosca.nodes.UserNetworkInterface
134 requirements:
135 properties:
136 tenant: onlab
137 name: uni3
138 latlng: [37.871637, -122.259750]
139 cpe_id: netconf:10.6.0.162:830/0
140
141 eline#testeline:
142 type: tosca.nodes.ELine
143 requirements:
144 properties:
145 name: testeline
146 connect_point_1_id: netconf:10.6.0.160:830/0
147 connect_point_2_id: netconf:10.6.0.161:830/0
148 vlanids: 100
149 cord_site_name: onlabT
150 bwp: gold