update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / common / python / rift / mano / tosca_translator / test / data / tosca_ping_pong_epa / Definitions / ping_pong_nsd.yaml
1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0
2 description: Toy NS
3 metadata:
4   ID: ping_pong_nsd
5   vendor: RIFT.io
6   version: 1.0
7 imports:
8 - "ping_vnfd.yaml"
9 - "pong_vnfd.yaml"
10 topology_template:
11   policies:
12   - initial_config_primitive:
13       properties:
14         name: start traffic
15         seq: 1
16         user_defined_script: start_traffic.py
17       targets: [pong_vnfd]
18       type: tosca.policies.nfv.riftio.initial_config_primitive
19   - placement_0:
20       properties:
21         name: Orcus
22         requirement: Place this VM on the Kuiper belt object Orcus
23         strategy: COLOCATION
24       targets: [ping_vnfd, pong_vnfd]
25       type: tosca.policies.nfv.riftio.placement
26   - placement_1:
27       properties:
28         name: Quaoar
29         requirement: Place this VM on the Kuiper belt object Quaoar
30         strategy: COLOCATION
31       targets: [ping_vnfd, pong_vnfd]
32       type: tosca.policies.nfv.riftio.placement
33   node_templates:
34     pong_vnfd:
35       type: tosca.nodes.nfv.riftio.pongvnfdVNF
36       properties:
37         id: 2
38         vendor: RIFT.io
39         version: 1.0
40       requirements:
41       - virtualLink1: ping_pong_vld
42     ping_pong_vld:
43       type: tosca.nodes.nfv.riftio.ELAN
44       properties:
45         cidr: 31.31.31.0/24
46         description: Toy VL
47         gateway_ip: 31.31.31.210
48         ip_version: 4
49         vendor: RIFT.io
50     ping_vnfd:
51       type: tosca.nodes.nfv.riftio.pingvnfdVNF
52       properties:
53         id: 1
54         vendor: RIFT.io
55         version: 1.0
56       requirements:
57       - virtualLink1: ping_pong_vld