Auto Generated INFO.yaml file
[domino.git] / tosca-templates / tosca_helloworld_nfv.yaml
1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
2
3 description: Template for deploying a single server with predefined properties.
4
5 metadata:
6   template_name: TOSCA NFV Sample Template
7
8 policy_types:
9   tosca.policies.Placement.Geolocation:
10     description: Geolocation policy
11     derived_from: tosca.policies.Placement
12
13 topology_template:
14   node_templates:
15     VNF1:
16       type: tosca.nodes.nfv.VNF
17       properties:
18         id: vnf1
19         vendor: acmetelco
20         version: 1.0
21
22     VNF2:
23       type: tosca.nodes.nfv.VNF
24       properties:
25         id: vnf2
26         vendor: ericsson
27         version: 1.0
28
29     VNF3:
30       type: tosca.nodes.nfv.VNF
31       properties:
32         id: vnf3
33         vendor: huawei
34         version: 1.0
35
36   policies:
37     - rule1:
38         type: tosca.policies.Placement.Geolocation
39         targets: [ VNF1 ]
40         properties:
41           region: [ us-west-1 ]
42     - rule2:
43         type: tosca.policies.Placement.Geolocation
44         targets: [ VNF2, VNF3 ]
45         properties:
46           region: [ us-west-1 , us-west-2 ]