Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 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 | |
| 18 | |
Andrea Campanella | bd56e78 | 2017-02-23 15:43:21 +0100 | [diff] [blame] | 19 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 20 | |
| 21 | imports: |
| 22 | - custom_types/xos.yaml |
| 23 | - custom_types/metronet.yaml |
| 24 | |
| 25 | description: vnodglobal services, generated by platform-install |
| 26 | |
| 27 | topology_template: |
| 28 | node_templates: |
| 29 | |
| 30 | bandwidthprofile#ecordbandwidthprofile: |
| 31 | type: tosca.nodes.EcordBandwidthProfile |
| 32 | requirements: |
| 33 | properties: |
Andrea Campanella | e078455 | 2017-03-21 17:23:06 +0100 | [diff] [blame] | 34 | bwpcfgcbs: 1000 |
| 35 | bwpcfgebs: 1200 |
| 36 | bwpcfgcir: 1000000 |
| 37 | bwpcfgeir: 1200000 |
| 38 | name: ecordbandwidthprofile |
| 39 | |
| 40 | bandwidthprofile#UniBandwidthprofile: |
| 41 | type: tosca.nodes.EcordBandwidthProfile |
| 42 | requirements: |
| 43 | properties: |
Andrea Campanella | bd56e78 | 2017-02-23 15:43:21 +0100 | [diff] [blame] | 44 | bwpcfgcbs: 100 |
| 45 | bwpcfgebs: 50 |
| 46 | bwpcfgcir: 600 |
| 47 | bwpcfgeir: 50 |
Andrea Campanella | e078455 | 2017-03-21 17:23:06 +0100 | [diff] [blame] | 48 | name: unibandwidthprofile |
| 49 | |
| 50 | bandwidthprofile#EvcBandwidthprofile: |
| 51 | type: tosca.nodes.EcordBandwidthProfile |
| 52 | requirements: |
| 53 | properties: |
| 54 | bwpcfgcbs: 100 |
| 55 | bwpcfgebs: 50 |
| 56 | bwpcfgcir: 600 |
| 57 | bwpcfgeir: 50 |
| 58 | name: evcbandwidthprofile |
| 59 | |
| 60 | bandwidthprofile#FlowBandwidthprofile: |
| 61 | type: tosca.nodes.EcordBandwidthProfile |
| 62 | requirements: |
| 63 | properties: |
| 64 | bwpcfgcbs: 100 |
| 65 | bwpcfgebs: 50 |
| 66 | bwpcfgcir: 600 |
| 67 | bwpcfgeir: 50 |
| 68 | name: flowbandwidthprofile |
| 69 | |
| 70 | usernetworkinterface#UserNetworkInterface1: |
| 71 | type: tosca.nodes.EcordUserNetworkInterface |
| 72 | requirements: |
| 73 | properties: |
| 74 | enabled: true |
| 75 | capacity: 10000000 |
| 76 | bw_used: 50000 |
| 77 | vlanIds: [100,200,300] |
| 78 | name: uni1 |
| 79 | location: San Rafael |
| 80 | latlng: [-122.531087, 37.973535] |
Andrea Campanella | bd56e78 | 2017-02-23 15:43:21 +0100 | [diff] [blame] | 81 | |
| 82 | service#vnodglobal: |
| 83 | type: tosca.nodes.VNodGlobalService |
| 84 | requirements: |
| 85 | - bandwith_profile: |
| 86 | node: bandwidthprofile#ecordbandwidthprofile |
| 87 | relationship: tosca.relationships.UsesBandwidthProfile |
| 88 | properties: |