1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
8 tosca.datatypes.network.riftio.vnf_configuration:
15 tosca.capabilities.riftio.mgmt_interface_type:
16 derived_from: tosca.capabilities.Endpoint
22 tosca.capabilities.riftio.http_endpoint_type:
23 derived_from: tosca.capabilities.Endpoint
29 tosca.capabilities.riftio.monitoring_param:
30 derived_from: tosca.capabilities.nfv.Metric
55 tosca.nodes.riftio.CP1:
56 derived_from: tosca.nodes.nfv.CP
59 description: Type of the connection point
62 description: Name of the connection point
65 description: Name of the interface on VDU
68 description: Type of the interface on VDU
70 tosca.nodes.riftio.VL1:
71 derived_from: tosca.nodes.nfv.VL.ELAN
75 tosca.nodes.riftio.VNF1:
76 derived_from: tosca.nodes.nfv.VNF
80 - in_range: [1, 65535]
83 type: tosca.datatypes.network.riftio.vnf_configuration
89 type: tosca.capabilities.riftio.http_endpoint_type
91 type: tosca.capabilities.riftio.mgmt_interface_type
93 type: tosca.capabilities.riftio.monitoring_param
95 type: tosca.capabilities.riftio.monitoring_param
98 node: tosca.nodes.riftio.VDU1
99 occurences: [1, UNBOUND]
100 relationship: tosca.relationships.nfv.VirtualLinksTo
101 type: tosca.capabilities.nfv.VirtualLinkable
102 tosca.nodes.riftio.VDU1:
103 derived_from: tosca.nodes.nfv.VDU
106 default: #cloud-config
113 type: tosca.capabilities.nfv.VirtualLinkable
115 tosca.groups.riftio.ConfigPrimitives:
116 derived_from: tosca.policies.Root
120 tosca.policies.riftio.InitialConfigPrimitive:
121 derived_from: tosca.policies.Root
131 tosca.policies.riftio.ScalingGroup:
132 derived_from: tosca.policies.Root
146 - scaling_group_descriptor:
148 post_scale_out: ping config
149 max_instance_count: 10
150 min_instance_count: 1
152 type: tosca.policies.riftio.ScalingGroup
155 - initial_config_primitive:
158 type: tosca.policies.riftio.InitialConfigPrimitive
159 user_defined_script: start_traffic.py
162 type: tosca.groups.riftio.ConfigPrimitives
169 user_defined_script: ping_config.py
173 description: Translated from YANG
176 type: tosca.nodes.riftio.VNF1
180 start_by_default: false
191 path: api/v1/ping/stats
198 path: api/v1/ping/stats
202 vdu: ping_vnfd_iovdu_0
205 description: no of ping requests
207 http_endpoint_ref: api/v1/ping/stats
209 json_query_method: NAMEKEY
210 name: ping-request-tx-count
216 description: no of ping responses
218 http_endpoint_ref: api/v1/ping/stats
220 json_query_method: NAMEKEY
221 name: ping-response-rx-count
227 node: ping_vnfd_iovdu_0
229 type: tosca.nodes.riftio.VDU1
231 cloud_init: "#cloud-config\npassword: fedora\nchpasswd: { expire: False }\n\
232 ssh_pwauth: True\nruncmd:\n - [ systemctl, daemon-reload ]\n - [ systemctl,\
233 \ enable, pong.service ]\n - [ systemctl, start, --no-block, pong.service\
234 \ ]\n - [ ifup, eth1 ]\n"
243 pong_vnfd_iovdu_0_vm_image:
244 file: ../images/Fedora-x86_64-20-20131211.1-sda-pong.qcow2
245 image_checksum: 1234567890abcdefg
246 type: tosca.artifacts.Deployment.Image.riftio.QCOW2
249 create: pong_vnfd_iovdu_0_vm_image
251 type: tosca.nodes.riftio.CP1
256 vdu_intf_type: VIRTIO
259 node: pong_vnfd_iovdu_0
263 type: tosca.nodes.riftio.VL1
268 type: tosca.nodes.riftio.CP1
273 vdu_intf_type: VIRTIO
276 node: ping_vnfd_iovdu_0
280 type: tosca.nodes.riftio.VNF1
294 path: api/v1/pong/stats
301 path: api/v1/pong/stats
305 vdu: pong_vnfd_iovdu_0
308 description: no of ping requests
310 http_endpoint_ref: api/v1/pong/stats
312 json_query_method: NAMEKEY
313 name: ping-request-rx-count
319 description: no of ping responses
321 http_endpoint_ref: api/v1/pong/stats
323 json_query_method: NAMEKEY
324 name: ping-response-tx-count
330 node: pong_vnfd_iovdu_0
332 type: tosca.nodes.riftio.VDU1
334 cloud_init: "#cloud-config\npassword: fedora\nchpasswd: { expire: False }\n\
335 ssh_pwauth: True\nruncmd:\n - [ systemctl, daemon-reload ]\n - [ systemctl,\
336 \ enable, ping.service ]\n - [ systemctl, start, --no-block, ping.service\
337 \ ]\n - [ ifup, eth1 ]\n"
346 ping_vnfd_iovdu_0_vm_image:
347 file: ../images/Fedora-x86_64-20-20131211.1-sda-ping.qcow2
348 image_checksum: 1234567890abcdefg
349 type: tosca.artifacts.Deployment.Image.riftio.QCOW2
352 create: ping_vnfd_iovdu_0_vm_image