blob: 3ae4e91992c4396137ba0f39eaf6f97c1a5fceeb [file] [log] [blame]
Luca Pretee7dba3a2017-10-26 13:51:58 -07001---
Andrea Campanellace8d6472017-10-26 18:33:39 +02002
3# Copyright 2017-present Open Networking Foundation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17tosca_definitions_version: tosca_simple_yaml_1_0
18
19imports:
Scott Baker8ec24e62018-01-19 14:52:43 -080020 - custom_types/bandwidthprofile.yaml
21 - custom_types/eline.yaml
22 - custom_types/onosmodel.yaml
23 - custom_types/usernetworkinterface.yaml
Andrea Campanellace8d6472017-10-26 18:33:39 +020024
25description: vnaasglobal services, generated by platform-install
26
27topology_template:
28 node_templates:
29
Luca Pretee7dba3a2017-10-26 13:51:58 -070030 onosmodel#onf:
Andrea Campanellace8d6472017-10-26 18:33:39 +020031 type: tosca.nodes.OnosModel
Andrea Campanellace8d6472017-10-26 18:33:39 +020032 properties:
Luca Pretee7dba3a2017-10-26 13:51:58 -070033 name: onfGlobalONOS
Andrea Campanella69ccf4b2017-10-30 18:57:47 -070034 onos_ip: onos-cord
Andrea Campanellace8d6472017-10-26 18:33:39 +020035 onos_port: 8182
36 onos_username: onos
37 onos_password: rocks
38 onos_type: global
39
40 bandwidthprofile#bronze:
41 type: tosca.nodes.BandwidthProfile
Andrea Campanellace8d6472017-10-26 18:33:39 +020042 properties:
Scott Baker8ec24e62018-01-19 14:52:43 -080043 name: bronze
Andrea Campanellace8d6472017-10-26 18:33:39 +020044 cbs: 1000
45 ebs: 1200
Andrea Campanella09211e62017-11-01 11:37:32 -070046 cir: 1000
47 eir: 1200
Andrea Campanellace8d6472017-10-26 18:33:39 +020048 name: bronze
49
50 bandwidthprofile#silver:
51 type: tosca.nodes.BandwidthProfile
Andrea Campanellace8d6472017-10-26 18:33:39 +020052 properties:
Scott Baker8ec24e62018-01-19 14:52:43 -080053 name: silver
Andrea Campanellace8d6472017-10-26 18:33:39 +020054 cbs: 1500
55 ebs: 2000
Andrea Campanella09211e62017-11-01 11:37:32 -070056 cir: 10000
57 eir: 2000
Andrea Campanellace8d6472017-10-26 18:33:39 +020058 name: silver
59
60 bandwidthprofile#gold:
61 type: tosca.nodes.BandwidthProfile
Andrea Campanellace8d6472017-10-26 18:33:39 +020062 properties:
Scott Baker8ec24e62018-01-19 14:52:43 -080063 name: gold
Andrea Campanellace8d6472017-10-26 18:33:39 +020064 cbs: 2000
65 ebs: 2700
Andrea Campanella09211e62017-11-01 11:37:32 -070066 cir: 20000
67 eir: 5000
Andrea Campanellace8d6472017-10-26 18:33:39 +020068 name: gold
69
70 bandwidthprofile#platinum:
71 type: tosca.nodes.BandwidthProfile
Andrea Campanellace8d6472017-10-26 18:33:39 +020072 properties:
Scott Baker8ec24e62018-01-19 14:52:43 -080073 name: platinum
Andrea Campanellace8d6472017-10-26 18:33:39 +020074 cbs: 2500
75 ebs: 3200
Andrea Campanella09211e62017-11-01 11:37:32 -070076 cir: 100000
77 eir: 10000
Andrea Campanellace8d6472017-10-26 18:33:39 +020078 name: platinum
79
Scott Baker8ec24e62018-01-19 14:52:43 -080080# UserNetworkInterface1:
81# type: tosca.nodes.UserNetworkInterface
82# properties:
83# tenant: onf
84# name: uni1
85# latlng: "[37.973535, -122.531087]"
86# cpe_id: domain:10.90.1.30-cord-onos/1
87#
88# UserNetworkInterface2:
89# type: tosca.nodes.UserNetworkInterface
90# properties:
91# tenant: onf
92# name: uni2
93# latlng: "[37.773972, -122.431297]"
94# cpe_id: domain:10.90.1.50-cord-onos/1
95#
96# eline#testeline:
97# type: tosca.nodes.ELine
98# properties:
99# name: testeline
100# vlanids: "100"
101# cord_site_name: onfGlobalONOS
102# requirements:
103# - bwp:
104# node: bandwidthprofile#gold
105# relationship: tosca.relationships.BelongsToOne
106# - connect_point_1:
107# node: UserNetworkInterface1
108# relationship: tosca.relationships.BelongsToOne
109# - connect_point_2:
110# node: UserNetworkInterface2
111# relationship: tosca.relationships.BelongsToOne