Skip to content

Commit

Permalink
add service descriptor examples for SMR evalution
Browse files Browse the repository at this point in the history
  • Loading branch information
pishahang committed Apr 14, 2020
1 parent 97d39ee commit 1bf109f
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pish-examples/service-descriptors/ssm/no-ssm/nsd.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
36 changes: 36 additions & 0 deletions pish-examples/service-descriptors/ssm/no-ssm/vnfd.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}
29 changes: 29 additions & 0 deletions pish-examples/service-descriptors/ssm/one-ssm/nsd.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}
49 changes: 49 additions & 0 deletions pish-examples/service-descriptors/ssm/one-ssm/vnfd.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}
51 changes: 51 additions & 0 deletions pish-examples/service-descriptors/ssm/three-ssm/nsd.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}
71 changes: 71 additions & 0 deletions pish-examples/service-descriptors/ssm/three-ssm/vnfd.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}

0 comments on commit 1bf109f

Please sign in to comment.