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