Auto Generated INFO.yaml file
[domino.git] / tosca-templates / tacker_tosca_openwrt_vnfd.yaml
1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
2
3 description: OpenWRT with services
4
5 metadata:
6   template_name: OpenWRT
7
8 topology_template:
9   node_templates:
10
11     VDU1:
12       type: tosca.nodes.nfv.VDU.Tacker
13       properties:
14         image: OpenWRT
15         flavor: m1.tiny
16         config: |
17           param0: key1
18           param1: key2
19         mgmt_driver: openwrt
20         monitoring_policy:
21           name: ping
22           parameters:
23             count: 3
24             interval: 10
25           actions:
26             failure: respawn
27
28     CP1:
29       type: tosca.nodes.nfv.CP.Tacker
30       properties:
31         management: true
32         anti_spoofing_protection: false
33       requirements:
34         - virtualLink:
35             node: VL1
36         - virtualBinding:
37             node: VDU1
38
39     CP2:
40       type: tosca.nodes.nfv.CP.Tacker
41       properties:
42         anti_spoofing_protection: false
43       requirements:
44         - virtualLink:
45             node: VL2
46         - virtualBinding:
47             node: VDU1
48
49     CP3:
50       type: tosca.nodes.nfv.CP.Tacker
51       properties:
52         anti_spoofing_protection: false
53       requirements:
54         - virtualLink:
55             node: VL3
56         - virtualBinding:
57             node: VDU1
58
59     VL1:
60       type: tosca.nodes.nfv.VL
61       properties:
62         network_name: net_mgmt
63         vendor: Tacker
64
65     VL2:
66       type: tosca.nodes.nfv.VL
67       properties:
68         network_name: pkt_in
69         vendor: Tacker
70
71     VL3:
72       type: tosca.nodes.nfv.VL
73       properties:
74         network_name: pkt_out
75         vendor: Tacker
76
77   policies:
78     - rule1:
79         type: tosca.policies.Placement.Geolocation
80         targets: [ VDU1 ]
81         properties:
82           region: [ nova1 ]