diff --git a/pish-examples/service-descriptors/ssm/no-ssm/nsd.json b/pish-examples/service-descriptors/ssm/no-ssm/nsd.json new file mode 100644 index 00000000..a5915925 --- /dev/null +++ b/pish-examples/service-descriptors/ssm/no-ssm/nsd.json @@ -0,0 +1,16 @@ +{ + "descriptor_version": "1.0", + "vendor": "eu.sonata-nfv.service-descriptor", + "name": "smr-tester-0", + "version": "1.0", + "author": "Hadi Razzaghi", + "description": "SMR tester with no ssm/fsm", + "network_functions": [ + { + "vnf_id": "dummy-vm-0", + "vnf_vendor": "eu.sonata-nfv.vnf-descriptor", + "vnf_name": "dummy-vm-vnf-0", + "vnf_version": "1.0" + } + ] +} diff --git a/pish-examples/service-descriptors/ssm/no-ssm/vnfd.json b/pish-examples/service-descriptors/ssm/no-ssm/vnfd.json new file mode 100644 index 00000000..974eb64a --- /dev/null +++ b/pish-examples/service-descriptors/ssm/no-ssm/vnfd.json @@ -0,0 +1,36 @@ +{ + "descriptor_version": "vnfd-schema-01", + "description": "Dummy VNF with no SSM/FSM", + "name": "dummy-vm-vnf-0", + "vendor": "eu.sonata-nfv.vnf-descriptor", + "version": "1.0", + "author": "Hadi Razzaghi", + "virtual_deployment_units": [ + { + "id": "dummy-vm-0", + "description": "dummy VNF with no SSM/FSM", + "vm_image": "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img", + "vm_image_format": "qcow2", + "resource_requirements": { + "cpu": { + "vcpus": 1 + }, + "memory": { + "size": 500, + "size_unit": "MB" + }, + "storage": { + "size": 1, + "size_unit": "GB" + } + }, + "connection_points": [ + { + "id": "eth0", + "interface": "ipv4", + "type": "external" + } + ] + } + ] +} diff --git a/pish-examples/service-descriptors/ssm/one-ssm/nsd.json b/pish-examples/service-descriptors/ssm/one-ssm/nsd.json new file mode 100644 index 00000000..044954c9 --- /dev/null +++ b/pish-examples/service-descriptors/ssm/one-ssm/nsd.json @@ -0,0 +1,29 @@ +{ + "descriptor_version": "1.0", + "vendor": "eu.sonata-nfv.service-descriptor", + "name": "SMR-tester-1", + "version": "1.0", + "author": "Hadi Razzaghi", + "description": "SMR tester with one SSM and one FSM", + "network_functions": [ + { + "vnf_id": "dummy-vm-1", + "vnf_vendor": "eu.sonata-nfv.vnf-descriptor", + "vnf_name": "dummy-vm-vnf-1", + "vnf_version": "1.0" + } + ], + "service_specific_managers": [ + { + "id": "sonssmpsaplacement1", + "description": "PSA placement SSM.", + "image": "hadik3r/sonssmpsaplacement1", + "options": [ + { + "key": "type", + "value": "myValue" + } + ] + } + ] +} diff --git a/pish-examples/service-descriptors/ssm/one-ssm/vnfd.json b/pish-examples/service-descriptors/ssm/one-ssm/vnfd.json new file mode 100644 index 00000000..58b23f6b --- /dev/null +++ b/pish-examples/service-descriptors/ssm/one-ssm/vnfd.json @@ -0,0 +1,49 @@ +{ + "descriptor_version": "vnfd-schema-01", + "description": "Dummy VNF with 1 FSM", + "name": "dummy-vm-vnf-1", + "vendor": "eu.sonata-nfv.vnf-descriptor", + "version": "1.0", + "author": "Hadi Razzaghi", + "virtual_deployment_units": [ + { + "id": "dummy-vm-1", + "description": "SMR tester with one FSM", + "vm_image": "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img", + "vm_image_format": "qcow2", + "resource_requirements": { + "cpu": { + "vcpus": 1 + }, + "memory": { + "size": 500, + "size_unit": "MB" + }, + "storage": { + "size": 1, + "size_unit": "GB" + } + }, + "connection_points": [ + { + "id": "eth0", + "interface": "ipv4", + "type": "external" + } + ] + } + ], + "function_specific_managers": [ + { + "id": "sonfsmservice1function1dumb1", + "description": "FSM to do a first FSM test", + "image": "hadik3r/sonfsmservice1function1dumb1", + "options": [ + { + "key": "type", + "value": "myValue" + } + ] + } + ] +} diff --git a/pish-examples/service-descriptors/ssm/three-ssm/nsd.json b/pish-examples/service-descriptors/ssm/three-ssm/nsd.json new file mode 100644 index 00000000..745c540d --- /dev/null +++ b/pish-examples/service-descriptors/ssm/three-ssm/nsd.json @@ -0,0 +1,51 @@ +{ + "descriptor_version": "1.0", + "vendor": "eu.sonata-nfv.service-descriptor", + "name": "smr-tester-3", + "version": "1.0", + "author": "Hadi Razzaghi", + "description": "SMR tester with 3 SSMs and 3 FSMs", + "network_functions": [ + { + "vnf_id": "dummy-vm-3", + "vnf_vendor": "eu.sonata-nfv.vnf-descriptor", + "vnf_name": "dummy-vm-vnf-3", + "vnf_version": "1.0" + } + ], + "service_specific_managers": [ + { + "id": "sonssmservice1dumb10", + "description": "PSA placement SSM.", + "image": "hadik3r/sonssmservice1dumb10", + "options": [ + { + "key": "type", + "value": "myValue" + } + ] + }, + { + "id": "sonssmservice1dumb11", + "description": "PSA placement SSM.", + "image": "hadik3r/sonssmservice1dumb11", + "options": [ + { + "key": "type", + "value": "myValue" + } + ] + }, + { + "id": "sonssmservice1dumb12", + "description": "PSA placement SSM.", + "image": "hadik3r/sonssmservice1dumb12", + "options": [ + { + "key": "type", + "value": "myValue" + } + ] + } + ] +} diff --git a/pish-examples/service-descriptors/ssm/three-ssm/vnfd.json b/pish-examples/service-descriptors/ssm/three-ssm/vnfd.json new file mode 100644 index 00000000..8753e737 --- /dev/null +++ b/pish-examples/service-descriptors/ssm/three-ssm/vnfd.json @@ -0,0 +1,71 @@ +{ + "descriptor_version": "vnfd-schema-01", + "description": "Dummy VNF with 3 FSMs", + "name": "dummy-vm-vnf-3", + "vendor": "eu.sonata-nfv.vnf-descriptor", + "version": "1.0", + "author": "Hadi Razzaghi", + "virtual_deployment_units": [ + { + "id": "dummy-vm-3", + "description": "dummy VNF with 3 FSMs", + "vm_image": "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img", + "vm_image_format": "qcow2", + "resource_requirements": { + "cpu": { + "vcpus": 1 + }, + "memory": { + "size": 500, + "size_unit": "MB" + }, + "storage": { + "size": 1, + "size_unit": "GB" + } + }, + "connection_points": [ + { + "id": "eth0", + "interface": "ipv4", + "type": "external" + } + ] + } + ], + "function_specific_managers": [ + { + "id": "sonfsmservice1function1dumb17", + "description": "FSM to do a first FSM test", + "image": "hadik3r/sonfsmservice1function1dumb17", + "options": [ + { + "key": "type", + "value": "value" + } + ] + }, + { + "id": "sonfsmservice1function1dumb18", + "description": "FSM to do a first FSM test", + "image": "hadik3r/sonfsmservice1function1dumb18", + "options": [ + { + "key": "type", + "value": "value" + } + ] + }, + { + "id": "sonfsmservice1function1dumb19", + "description": "FSM to do a first FSM test", + "image": "hadik3r/sonfsmservice1function1dumb19", + "options": [ + { + "key": "type", + "value": "vlaue" + } + ] + } + ] +}