blob: 55c996b3687ea85540a86db4c031fc48881ce535 [file] [log] [blame]
Andrea Campanellaa860b7b2017-10-26 18:33:39 +02001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16tosca_definitions_version: tosca_simple_yaml_1_0
17
18imports:
19 - custom_types/xos.yaml
20 - 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
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: 1000000
68 eir: 1200000
69 name: bronze
70
71 bandwidthprofile#silver:
72 type: tosca.nodes.BandwidthProfile
73 requirements:
74 properties:
75 cbs: 1500
76 ebs: 2000
77 cir: 1500000
78 eir: 2000000
79 name: silver
80
81 bandwidthprofile#gold:
82 type: tosca.nodes.BandwidthProfile
83 requirements:
84 properties:
85 cbs: 2000
86 ebs: 2700
87 cir: 2000000
88 eir: 2700000
89 name: gold
90
91 bandwidthprofile#platinum:
92 type: tosca.nodes.BandwidthProfile
93 requirements:
94 properties:
95 cbs: 2500
96 ebs: 3200
97 cir: 2500000
98 eir: 3200000
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