1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 tosca_definitions_version:tosca_simple_yaml_1_0_0
11 This module defines a VNF Deployment Unit.
19 compute_props_host_ellis: &compute_props_host_ellis
22 compute_props_host_bono: &compute_props_host_bono
26 tosca.nodes.compute.ellis:
27 derived_from: tosca.nodes.compute
29 tosca.nodes.compute.bono:
30 derived_from: tosca.nodes.compute
33 # A description of the topology template
38 type: scalar-unit.size
40 description: The required storage resource
42 description: The required storage resource
46 Block storage mount point (filesystem path).
49 type: tosca.nodes.Compute
58 properties: *compute_props_host_ellis
65 node: ellis_BlockStorage
69 location: { get_input:storage_location }
73 implementation: start.sh
75 implementaion: stop.sh
77 implementaion: shutdown.sh
79 type: tosca.nodes.BlockStorage
81 size: { get_input:storage_size }
83 type: tosca.nodes.Compute
92 properties: *compute_props_host_bono
99 node: bono_BlockStorage
103 location: { get_input:storage_location }
107 implementation: start.sh
109 implementaion: stop.sh
111 implementaion: shutdown.sh
113 type: tosca.nodes.BlockStorage
115 size: { get_input:storage_size }
117 type:tosca.nodes.network.Network
121 type:tosca.nodes.network.Port
126 node:clearwater_network1
128 type:tosca.nodes.network.Network
132 type:tosca.nodes.network.Port
137 node:clearwater_network2
139 type:tosca.nodes.network.Network
143 type:tosca.nodes.network.Port
148 node:clearwater_network1
150 type:tosca.nodes.network.Network
154 type:tosca.nodes.network.Port
159 node:clearwater_network2