blob: 539a0dd83ea83c7311a3259bcf7c3c56b22c8837 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2{#
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18
Andrea Campanellabd56e782017-02-23 15:43:21 +010019tosca_definitions_version: tosca_simple_yaml_1_0
20
21imports:
22 - custom_types/xos.yaml
23 - custom_types/metronet.yaml
24
25description: vnodglobal services, generated by platform-install
26
27topology_template:
28 node_templates:
29
30 bandwidthprofile#ecordbandwidthprofile:
31 type: tosca.nodes.EcordBandwidthProfile
32 requirements:
33 properties:
Andrea Campanellae0784552017-03-21 17:23:06 +010034 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 Campanellabd56e782017-02-23 15:43:21 +010044 bwpcfgcbs: 100
45 bwpcfgebs: 50
46 bwpcfgcir: 600
47 bwpcfgeir: 50
Andrea Campanellae0784552017-03-21 17:23:06 +010048 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 Campanellabd56e782017-02-23 15:43:21 +010081
82 service#vnodglobal:
83 type: tosca.nodes.VNodGlobalService
84 requirements:
85 - bandwith_profile:
86 node: bandwidthprofile#ecordbandwidthprofile
87 relationship: tosca.relationships.UsesBandwidthProfile
88 properties: