Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 1 | --- |
Andrea Campanella | a860b7b | 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: |
| 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 | |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 28 | onosmodel#onf: |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 29 | type: tosca.nodes.OnosModel |
| 30 | requirements: |
| 31 | properties: |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 32 | name: onfGlobalONOS |
Andrea Campanella | 82673a1 | 2017-10-30 18:57:47 -0700 | [diff] [blame] | 33 | onos_ip: onos-cord |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 34 | onos_port: 8182 |
| 35 | onos_username: onos |
| 36 | onos_password: rocks |
| 37 | onos_type: global |
| 38 | |
| 39 | bandwidthprofile#bronze: |
| 40 | type: tosca.nodes.BandwidthProfile |
| 41 | requirements: |
| 42 | properties: |
| 43 | cbs: 1000 |
| 44 | ebs: 1200 |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 45 | cir: 1000 |
| 46 | eir: 1200 |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 47 | name: bronze |
| 48 | |
| 49 | bandwidthprofile#silver: |
| 50 | type: tosca.nodes.BandwidthProfile |
| 51 | requirements: |
| 52 | properties: |
| 53 | cbs: 1500 |
| 54 | ebs: 2000 |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 55 | cir: 10000 |
| 56 | eir: 2000 |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 57 | name: silver |
| 58 | |
| 59 | bandwidthprofile#gold: |
| 60 | type: tosca.nodes.BandwidthProfile |
| 61 | requirements: |
| 62 | properties: |
| 63 | cbs: 2000 |
| 64 | ebs: 2700 |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 65 | cir: 20000 |
| 66 | eir: 5000 |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 67 | name: gold |
| 68 | |
| 69 | bandwidthprofile#platinum: |
| 70 | type: tosca.nodes.BandwidthProfile |
| 71 | requirements: |
| 72 | properties: |
| 73 | cbs: 2500 |
| 74 | ebs: 3200 |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 75 | cir: 100000 |
| 76 | eir: 10000 |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 77 | name: platinum |
| 78 | |
| 79 | usernetworkinterface#UserNetworkInterface1: |
| 80 | type: tosca.nodes.UserNetworkInterface |
| 81 | requirements: |
| 82 | properties: |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 83 | tenant: onf |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 84 | name: uni1 |
| 85 | latlng: [37.973535, -122.531087] |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 86 | cpe_id: domain:10.90.1.30-cord-onos/1 |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 87 | |
| 88 | usernetworkinterface#UserNetworkInterface2: |
| 89 | type: tosca.nodes.UserNetworkInterface |
| 90 | requirements: |
| 91 | properties: |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 92 | tenant: onf |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 93 | name: uni2 |
| 94 | latlng: [37.773972, -122.431297] |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 95 | cpe_id: domain:10.90.1.50-cord-onos/1 |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 96 | |
| 97 | usernetworkinterface#UserNetworkInterface3: |
| 98 | type: tosca.nodes.UserNetworkInterface |
| 99 | requirements: |
| 100 | properties: |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 101 | tenant: onf |
Andrea Campanella | a860b7b | 2017-10-26 18:33:39 +0200 | [diff] [blame] | 102 | name: uni3 |
| 103 | latlng: [37.871637, -122.259750] |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 104 | cpe_id: domain:10.90.1.70-cord-onos/1 |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 105 | |
| 106 | # eline#testeline: |
| 107 | # type: tosca.nodes.ELine |
| 108 | # requirements: |
| 109 | # properties: |
| 110 | # name: testeline |
Andrea Campanella | a014809 | 2017-11-01 11:37:32 -0700 | [diff] [blame] | 111 | # connect_point_1_id: domain:10.90.1.30-cord-onos/1 |
| 112 | # connect_point_2_id: domain:10.90.1.50-cord-onos/1 |
Luca Prete | e970818 | 2017-10-26 13:51:58 -0700 | [diff] [blame] | 113 | # vlanids: 100 |
| 114 | # cord_site_name: onfGlobalONOS |
| 115 | # bwp: gold |