blob: e10c94d0db92ca897030f07e3f6846ac27ce9f38 [file] [log] [blame]
Andrea Campanellaeb8dc942017-09-01 13:46:44 +02001
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#onlab:
30 type: tosca.nodes.EnterpriseLocation
31 requirements:
32 properties:
33 name: onlab
34 cord_site_ip: 127.0.0.1
35 cord_site_port: 8181
36 cord_site_username: onos
37 cord_site_password: rocks
38 cord_site_type: onos
39
40
41 enterpriselocation#onlab1:
42 type: tosca.nodes.EnterpriseLocation
43 requirements:
44 properties:
45 name: onlab1
46 cord_site_ip: 127.0.0.2
47 cord_site_port: 8181
48 cord_site_username: onos
49 cord_site_password: rocks
50 cord_site_type: onos
51
52 onosmodel#onlab:
53 type: tosca.nodes.OnosModel
54 requirements:
55 properties:
56 name: onlabT
57 onos_ip: 127.0.0.1
58 onos_port: 8181
59 onos_username: onos
60 onos_password: rocks
61 onos_type: global
62
63 bandwidthprofile#bronze:
64 type: tosca.nodes.BandwidthProfile
65 requirements:
66 properties:
67 cbs: 1000
68 ebs: 1200
69 cir: 1000000
70 eir: 1200000
71 name: bronze
72
73 bandwidthprofile#silver:
74 type: tosca.nodes.BandwidthProfile
75 requirements:
76 properties:
77 cbs: 1500
78 ebs: 2000
79 cir: 1500000
80 eir: 2000000
81 name: silver
82
83 bandwidthprofile#gold:
84 type: tosca.nodes.BandwidthProfile
85 requirements:
86 properties:
87 cbs: 2000
88 ebs: 2700
89 cir: 2000000
90 eir: 2700000
91 name: gold
92
93 bandwidthprofile#platinum:
94 type: tosca.nodes.BandwidthProfile
95 requirements:
96 properties:
97 cbs: 2500
98 ebs: 3200
99 cir: 2500000
100 eir: 3200000
101 name: platinum
102
103 usernetworkinterface#UserNetworkInterface1:
104 type: tosca.nodes.UserNetworkInterface
105 requirements:
106 properties:
107 tenant: onlab
108 name: uni1
109 latlng: [37.973535, -122.531087]
110 cpe_id: netconf:192.168.56.10:830/0
111
112 usernetworkinterface#UserNetworkInterface2:
113 type: tosca.nodes.UserNetworkInterface
114 requirements:
115 properties:
116 tenant: onlab
117 name: uni2
118 latlng: [37.773972, -122.431297]
119 cpe_id: netconf:192.168.56.20:830/0
120
121 usernetworkinterface#UserNetworkInterface3:
122 type: tosca.nodes.UserNetworkInterface
123 requirements:
124 properties:
125 tenant: onlab
126 name: uni3
127 latlng: [37.871637, -122.259750]
128 cpe_id: netconf:192.168.56.30:830/0
129
130 eline#testeline:
131 type: tosca.nodes.ELine
132 requirements:
133 properties:
134 name: testeline
135 connect_point_1_id: netconf:192.168.56.10:830/0
136 connect_point_2_id: netconf:192.168.56.20:830/0
137 vlanids: 100
138 cord_site_name: onlabT
139 bwp: gold