blob: 25626a76265d58263699db4c4f86da9b823a8d12 [file] [log] [blame]
Andrea Campanellaeb8dc942017-09-01 13:46:44 +02001{#
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:
20 - custom_types/xos.yaml
21 - custom_types/vnaas.yaml
22
23description: vnaasglobal services, generated by platform-install
24
25topology_template:
26 node_templates:
27
28 enterpriselocation#onlab:
29 type: tosca.nodes.EnterpriseLocation
30 requirements:
31 properties:
32 name: onlab
33 cord_site_ip: 127.0.0.1
34 cord_site_port: 8181
35 cord_site_username: onos
36 cord_site_password: rocks
37 cord_site_type: onos
38
39
40 enterpriselocation#onlab1:
41 type: tosca.nodes.EnterpriseLocation
42 requirements:
43 properties:
44 name: onlab1
45 cord_site_ip: 127.0.0.2
46 cord_site_port: 8181
47 cord_site_username: onos
48 cord_site_password: rocks
49 cord_site_type: onos
50
51 onosmodel#onlab:
52 type: tosca.nodes.OnosModel
53 requirements:
54 properties:
55 name: onlabT
Zack Williamsf31df5d2017-11-27 22:48:43 -070056 onos_ip: onos-cord.{{ site_suffix }}
Scott Bakerd41206f2017-10-03 11:06:36 -070057 onos_port: 8182
Andrea Campanellaeb8dc942017-09-01 13:46:44 +020058 onos_username: onos
59 onos_password: rocks
60 onos_type: global
61
62 bandwidthprofile#bronze:
63 type: tosca.nodes.BandwidthProfile
64 requirements:
65 properties:
66 cbs: 1000
67 ebs: 1200
Marc De Leenheer71f49492017-10-31 00:12:06 -070068 cir: 1000
69 eir: 1200
Andrea Campanellaeb8dc942017-09-01 13:46:44 +020070 name: bronze
71
72 bandwidthprofile#silver:
73 type: tosca.nodes.BandwidthProfile
74 requirements:
75 properties:
76 cbs: 1500
77 ebs: 2000
Marc De Leenheer71f49492017-10-31 00:12:06 -070078 cir: 10000
79 eir: 2000
Andrea Campanellaeb8dc942017-09-01 13:46:44 +020080 name: silver
81
82 bandwidthprofile#gold:
83 type: tosca.nodes.BandwidthProfile
84 requirements:
85 properties:
86 cbs: 2000
87 ebs: 2700
Marc De Leenheer71f49492017-10-31 00:12:06 -070088 cir: 20000
89 eir: 5000
Andrea Campanellaeb8dc942017-09-01 13:46:44 +020090 name: gold
91
92 bandwidthprofile#platinum:
93 type: tosca.nodes.BandwidthProfile
94 requirements:
95 properties:
96 cbs: 2500
97 ebs: 3200
Marc De Leenheer71f49492017-10-31 00:12:06 -070098 cir: 100000
99 eir: 10000
Andrea Campanellaeb8dc942017-09-01 13:46:44 +0200100 name: platinum
101
102 usernetworkinterface#UserNetworkInterface1:
103 type: tosca.nodes.UserNetworkInterface
104 requirements:
105 properties:
106 tenant: onlab
107 name: uni1
108 latlng: [37.973535, -122.531087]
109 cpe_id: netconf:192.168.56.10:830/0
110
111 usernetworkinterface#UserNetworkInterface2:
112 type: tosca.nodes.UserNetworkInterface
113 requirements:
114 properties:
115 tenant: onlab
116 name: uni2
117 latlng: [37.773972, -122.431297]
118 cpe_id: netconf:192.168.56.20:830/0
119
120 usernetworkinterface#UserNetworkInterface3:
121 type: tosca.nodes.UserNetworkInterface
122 requirements:
123 properties:
124 tenant: onlab
125 name: uni3
126 latlng: [37.871637, -122.259750]
127 cpe_id: netconf:192.168.56.30:830/0
128
Marc De Leenheer71f49492017-10-31 00:12:06 -0700129# eline#testeline:
130# type: tosca.nodes.ELine
131# requirements:
132# properties:
133# name: testeline
134# connect_point_1_id: netconf:192.168.56.10:830/0
135# connect_point_2_id: netconf:192.168.56.20:830/0
136# vlanids: 100
137# cord_site_name: onlabT
138# bwp: gold