1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0
2 description: This is an example RIFT.ware VNF
10 tosca.nodes.nfv.riftio.pingvnfdVNF:
11 derived_from: tosca.nodes.nfv.riftio.VNF1
14 type: tosca.nodes.nfv.VL
23 initial_config_primitive:
28 user_defined_script: ping_set_rate.py
29 targets: [ping_vnfd_iovdu_0]
30 type: tosca.policies.nfv.riftio.vnf_configuration
31 substitution_mappings:
32 node_type: tosca.nodes.nfv.riftio.pingvnfdVNF
34 - virtualLink1: [ping_vnfd_cp0, virtualLink]
37 type: tosca.nodes.nfv.riftio.VDU1
39 cloud_init: "#cloud-config\npassword: fedora\nchpasswd: { expire: False }\n\
40 ssh_pwauth: True\nruncmd:\n - [ systemctl, daemon-reload ]\n - [ systemctl,\
41 \ enable, ping.service ]\n - [ systemctl, start, --no-block, ping.service\
42 \ ]\n - [ ifup, eth1 ]\n"
52 path: api/v1/ping/stats
58 description: no of ping requests
59 json_query_method: namekey
60 name: ping-request-tx-count
65 url_path: api/v1/ping/stats
68 description: no of ping responses
69 json_query_method: namekey
70 name: ping-response-rx-count
75 url_path: api/v1/ping/stats
79 cpu_affinity: dedicated
80 thread_allocation: prefer
102 ovs_acceleration: DISABLED
103 ovs_offload: DISABLED
105 ping_vnfd_iovdu_0_vm_image:
106 file: ../images/Fedora-x86_64-20-20131211.1-sda-ping.qcow2
107 image_checksum: a6ffaa77f949a9e4ebb082c6147187cf
108 type: tosca.artifacts.Deployment.Image.riftio.QCOW2
111 create: ping_vnfd_iovdu_0_vm_image
113 type: tosca.nodes.nfv.riftio.CP1
118 vdu_intf_type: VIRTIO
121 node: ping_vnfd_iovdu_0