-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add service descriptor examples for SMR evalution
- Loading branch information
pishahang
committed
Apr 14, 2020
1 parent
97d39ee
commit 1bf109f
Showing
6 changed files
with
252 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} |