Andrea Campanella | c27068f | 2017-09-01 13:46:44 +0200 | [diff] [blame] | 1 | {# |
| 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 | #} |
| 16 | |
| 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | imports: |
| 20 | - custom_types/xos.yaml |
| 21 | - custom_types/vnaas.yaml |
| 22 | |
| 23 | description: vnaasglobal services, generated by platform-install |
| 24 | |
| 25 | topology_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 Williams | 7f93394 | 2017-11-27 22:48:43 -0700 | [diff] [blame] | 56 | onos_ip: onos-cord.{{ site_suffix }} |
Scott Baker | 7538963 | 2017-10-03 11:06:36 -0700 | [diff] [blame] | 57 | onos_port: 8182 |
Andrea Campanella | c27068f | 2017-09-01 13:46:44 +0200 | [diff] [blame] | 58 | 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 Leenheer | 186c07b | 2017-10-31 00:12:06 -0700 | [diff] [blame] | 68 | cir: 1000 |
| 69 | eir: 1200 |
Andrea Campanella | c27068f | 2017-09-01 13:46:44 +0200 | [diff] [blame] | 70 | name: bronze |
| 71 | |
| 72 | bandwidthprofile#silver: |
| 73 | type: tosca.nodes.BandwidthProfile |
| 74 | requirements: |
| 75 | properties: |
| 76 | cbs: 1500 |
| 77 | ebs: 2000 |
Marc De Leenheer | 186c07b | 2017-10-31 00:12:06 -0700 | [diff] [blame] | 78 | cir: 10000 |
| 79 | eir: 2000 |
Andrea Campanella | c27068f | 2017-09-01 13:46:44 +0200 | [diff] [blame] | 80 | name: silver |
| 81 | |
| 82 | bandwidthprofile#gold: |
| 83 | type: tosca.nodes.BandwidthProfile |
| 84 | requirements: |
| 85 | properties: |
| 86 | cbs: 2000 |
| 87 | ebs: 2700 |
Marc De Leenheer | 186c07b | 2017-10-31 00:12:06 -0700 | [diff] [blame] | 88 | cir: 20000 |
| 89 | eir: 5000 |
Andrea Campanella | c27068f | 2017-09-01 13:46:44 +0200 | [diff] [blame] | 90 | name: gold |
| 91 | |
| 92 | bandwidthprofile#platinum: |
| 93 | type: tosca.nodes.BandwidthProfile |
| 94 | requirements: |
| 95 | properties: |
| 96 | cbs: 2500 |
| 97 | ebs: 3200 |
Marc De Leenheer | 186c07b | 2017-10-31 00:12:06 -0700 | [diff] [blame] | 98 | cir: 100000 |
| 99 | eir: 10000 |
Andrea Campanella | c27068f | 2017-09-01 13:46:44 +0200 | [diff] [blame] | 100 | 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 Leenheer | 186c07b | 2017-10-31 00:12:06 -0700 | [diff] [blame] | 129 | # 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 |