Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 1 | --- |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [diff] [blame] | 2 | |
Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 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. |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [diff] [blame] | 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 | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 28 | onosmodel#onf: |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [diff] [blame] | 29 | type: tosca.nodes.OnosModel |
| 30 | requirements: |
| 31 | properties: |
Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 32 | name: onfGlobalONOS |
| 33 | onos_ip: 127.0.0.1 |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [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 |
| 45 | cir: 1000000 |
| 46 | eir: 1200000 |
| 47 | name: bronze |
| 48 | |
| 49 | bandwidthprofile#silver: |
| 50 | type: tosca.nodes.BandwidthProfile |
| 51 | requirements: |
| 52 | properties: |
| 53 | cbs: 1500 |
| 54 | ebs: 2000 |
| 55 | cir: 1500000 |
| 56 | eir: 2000000 |
| 57 | name: silver |
| 58 | |
| 59 | bandwidthprofile#gold: |
| 60 | type: tosca.nodes.BandwidthProfile |
| 61 | requirements: |
| 62 | properties: |
| 63 | cbs: 2000 |
| 64 | ebs: 2700 |
| 65 | cir: 2000000 |
| 66 | eir: 2700000 |
| 67 | name: gold |
| 68 | |
| 69 | bandwidthprofile#platinum: |
| 70 | type: tosca.nodes.BandwidthProfile |
| 71 | requirements: |
| 72 | properties: |
| 73 | cbs: 2500 |
| 74 | ebs: 3200 |
| 75 | cir: 2500000 |
| 76 | eir: 3200000 |
| 77 | name: platinum |
| 78 | |
| 79 | usernetworkinterface#UserNetworkInterface1: |
| 80 | type: tosca.nodes.UserNetworkInterface |
| 81 | requirements: |
| 82 | properties: |
Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 83 | tenant: onf |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [diff] [blame] | 84 | name: uni1 |
| 85 | latlng: [37.973535, -122.531087] |
| 86 | cpe_id: netconf:10.6.0.160:830/0 |
| 87 | |
| 88 | usernetworkinterface#UserNetworkInterface2: |
| 89 | type: tosca.nodes.UserNetworkInterface |
| 90 | requirements: |
| 91 | properties: |
Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 92 | tenant: onf |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [diff] [blame] | 93 | name: uni2 |
| 94 | latlng: [37.773972, -122.431297] |
| 95 | cpe_id: netconf:10.6.0.161:830/0 |
| 96 | |
| 97 | usernetworkinterface#UserNetworkInterface3: |
| 98 | type: tosca.nodes.UserNetworkInterface |
| 99 | requirements: |
| 100 | properties: |
Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 101 | tenant: onf |
Luca Prete | 2e0dc5d | 2017-10-26 11:25:56 -0700 | [diff] [blame] | 102 | name: uni3 |
| 103 | latlng: [37.871637, -122.259750] |
| 104 | cpe_id: netconf:10.6.0.162:830/0 |
| 105 | |
Luca Prete | 749a02f | 2017-10-26 13:57:25 -0700 | [diff] [blame] | 106 | # eline#testeline: |
| 107 | # type: tosca.nodes.ELine |
| 108 | # requirements: |
| 109 | # properties: |
| 110 | # name: testeline |
| 111 | # connect_point_1_id: netconf:10.6.0.160:830/0 |
| 112 | # connect_point_2_id: netconf:10.6.0.161:830/0 |
| 113 | # vlanids: 100 |
| 114 | # cord_site_name: onfGlobalONOS |
| 115 | # bwp: gold |