Luca Prete | e7dba3a | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 1 | --- |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 2 | |
| 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 | |
| 17 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 18 | |
| 19 | imports: |
Scott Baker | 8ec24e6 | 2018-01-19 14:52:43 -0800 | [diff] [blame] | 20 | - custom_types/bandwidthprofile.yaml |
| 21 | - custom_types/eline.yaml |
| 22 | - custom_types/onosmodel.yaml |
| 23 | - custom_types/usernetworkinterface.yaml |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 24 | |
| 25 | description: vnaasglobal services, generated by platform-install |
| 26 | |
| 27 | topology_template: |
| 28 | node_templates: |
| 29 | |
Luca Prete | e7dba3a | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 30 | onosmodel#onf: |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 31 | type: tosca.nodes.OnosModel |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 32 | properties: |
Luca Prete | e7dba3a | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 33 | name: onfGlobalONOS |
Andrea Campanella | 69ccf4b | 2017-10-30 18:57:47 -0700 | [diff] [blame] | 34 | onos_ip: onos-cord |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 35 | 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 Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 42 | properties: |
Scott Baker | 8ec24e6 | 2018-01-19 14:52:43 -0800 | [diff] [blame] | 43 | name: bronze |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 44 | cbs: 1000 |
| 45 | ebs: 1200 |
Andrea Campanella | 09211e6 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 46 | cir: 1000 |
| 47 | eir: 1200 |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 48 | name: bronze |
| 49 | |
| 50 | bandwidthprofile#silver: |
| 51 | type: tosca.nodes.BandwidthProfile |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 52 | properties: |
Scott Baker | 8ec24e6 | 2018-01-19 14:52:43 -0800 | [diff] [blame] | 53 | name: silver |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 54 | cbs: 1500 |
| 55 | ebs: 2000 |
Andrea Campanella | 09211e6 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 56 | cir: 10000 |
| 57 | eir: 2000 |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 58 | name: silver |
| 59 | |
| 60 | bandwidthprofile#gold: |
| 61 | type: tosca.nodes.BandwidthProfile |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 62 | properties: |
Scott Baker | 8ec24e6 | 2018-01-19 14:52:43 -0800 | [diff] [blame] | 63 | name: gold |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 64 | cbs: 2000 |
| 65 | ebs: 2700 |
Andrea Campanella | 09211e6 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 66 | cir: 20000 |
| 67 | eir: 5000 |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 68 | name: gold |
| 69 | |
| 70 | bandwidthprofile#platinum: |
| 71 | type: tosca.nodes.BandwidthProfile |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 72 | properties: |
Scott Baker | 8ec24e6 | 2018-01-19 14:52:43 -0800 | [diff] [blame] | 73 | name: platinum |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 74 | cbs: 2500 |
| 75 | ebs: 3200 |
Andrea Campanella | 09211e6 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 76 | cir: 100000 |
| 77 | eir: 10000 |
Andrea Campanella | ce8d647 | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 78 | name: platinum |
| 79 | |
Scott Baker | 8ec24e6 | 2018-01-19 14:52:43 -0800 | [diff] [blame] | 80 | # 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 |