summaryrefslogtreecommitdiffstats
path: root/docs/release/userguide/descriptors/nsd.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/userguide/descriptors/nsd.json')
-rw-r--r--docs/release/userguide/descriptors/nsd.json214
1 files changed, 214 insertions, 0 deletions
diff --git a/docs/release/userguide/descriptors/nsd.json b/docs/release/userguide/descriptors/nsd.json
new file mode 100644
index 0000000..4b20bcb
--- /dev/null
+++ b/docs/release/userguide/descriptors/nsd.json
@@ -0,0 +1,214 @@
+{
+ "name":"NSD SIPp Floating IPs",
+ "vendor":"FOKUS",
+ "version":"1.0",
+ "vld":[
+ {
+ "name":"private"
+ }
+ ],
+ "vnfd":[
+ {
+ "name":"sipp-client",
+ "vendor":"FOKUS",
+ "version":"1.0",
+ "lifecycle_event":[
+ {
+ "event":"CONFIGURE",
+ "lifecycle_events":[
+ "server_sipp_start.sh"
+ ]
+ },
+ {
+ "event":"INSTANTIATE",
+ "lifecycle_events":[
+ "sipp_install.sh"
+ ]
+ }
+ ],
+ "vdu":[
+ {
+ "vm_image":[
+ "ubuntu-14.04"
+ ],
+ "scale_in_out":5,
+ "vnfc":[
+ {
+ "connection_point":[
+ {
+ "floatingIp":"random",
+ "virtual_link_reference":"private",
+ "interfaceId":0
+ }
+ ]
+ }
+ ],
+ "vimInstanceName":[]
+ }
+ ],
+ "configurations": {
+ "configurationParameters": [
+ {
+ "confKey": "SIPP_LENGTH",
+ "value": "0",
+ "description": "Controls the length (in milliseconds) of calls. More precisely, this controls the duration of 'pause' instructions in the scenario, if they do not have a 'milliseconds' section. Default value is 0."
+ },
+ {
+ "confKey": "SIPP_RATE",
+ "value": "10",
+ "description": "Set the call rate (in calls per seconds). Default is 10. If the -rp option is used, the call rate is calculated with the period in ms given by the user."
+ },
+ {
+ "confKey": "SIPP_RATE_PERIOD",
+ "value": "1000",
+ "description": "Specify the rate period in milliseconds for the call rate. Default is 1 second. This allows you to have n calls every m milliseconds (by using -r n -rp m). Example: -r 7 -rp 2000 ==> 7 calls every 2 seconds."
+ },
+ {
+ "confKey": "SIPP_RATE_MAX",
+ "value": "10",
+ "description": "If -rate_increase is set, then quit after the rate reaches this value. Example: -rate_increase 10 -max_rate 100 ==> increase calls by 10 until 100 cps is hit."
+ },
+ {
+ "confKey": "SIPP_RATE_INCREASE",
+ "value": "0",
+ "description": "Specify the rate increase every -fd seconds. This allows you to increase the load for each independent logging period. Example: -rate_increase 10 -fd 10 ==> increase calls by 10 every 10 seconds."
+ },
+ {
+ "confKey": "SIPP_RTP_ECHO",
+ "value": "10",
+ "description": "Enable RTP echo. RTP/UDP packets received on port defined by -mp are echoed to their sender. RTP/UDP packets coming on this port + 2 are also echoed to their sender (used for sound and video echo)."
+ },
+ {
+ "confKey": "SIPP_TRANSPORT_MODE",
+ "value": "u1",
+ "description": "Set the transport mode: - u1: UDP with one socket (default), - un: UDP with one socket per call, - ui: UDP with one socket per IP address The IP addresses must be defined in the injection file. - t1: TCP with one socket, - tn: TCP with one socket per call, - l1: TLS with one socket, - ln: TLS with one socket per call, - c1: u1 + compression (only if compression plugin loaded), - cn: un + compression (only if compression plugin loaded)."
+ }
+ ],
+ "name": "sipp-configuration"
+ },
+ "virtual_link":[
+ {
+ "name":"private"
+ }
+ ],
+ "deployment_flavour":[
+ {
+ "flavour_key":"m1.small"
+ }
+ ],
+ "auto_scale_policy": [
+ {
+ "name":"scale-out",
+ "threshold":100,
+ "comparisonOperator":">=",
+ "period":30,
+ "cooldown":60,
+ "mode":"REACTIVE",
+ "type":"VOTED",
+ "alarms": [
+ {
+ "metric":"system.cpu.util[,idle]",
+ "statistic":"avg",
+ "comparisonOperator":"<=",
+ "threshold":40,
+ "weight":1
+ }
+ ],
+ "actions": [
+ {
+ "type":"SCALE_OUT",
+ "value":"1"
+ }
+ ]
+ },
+ {
+ "name":"scale-in",
+ "threshold":100,
+ "comparisonOperator":">=",
+ "period":30,
+ "cooldown":60,
+ "mode":"REACTIVE",
+ "type":"VOTED",
+ "alarms": [
+ {
+ "metric":"system.cpu.util[,idle]",
+ "statistic":"avg",
+ "comparisonOperator":">=",
+ "threshold":60,
+ "weight":1
+ }
+ ],
+ "actions": [
+ {
+ "type":"SCALE_IN",
+ "value":"1"
+ }
+ ]
+ }
+ ],
+ "type":"client",
+ "endpoint":"generic",
+ "vnfPackageLocation":"https://github.com/openbaton/vnf-scripts.git"
+ },
+ {
+ "name":"sipp-server",
+ "vendor":"FOKUS",
+ "version":"1.0",
+ "lifecycle_event":[
+ {
+ "event":"INSTANTIATE",
+ "lifecycle_events":[
+ "sipp_install.sh",
+ "sipp_server_start.sh"
+ ]
+ }
+ ],
+ "virtual_link":[
+ {
+ "name":"private"
+ }
+ ],
+ "vdu":[
+ {
+ "vm_image":[
+ "ubuntu-14.04"
+ ],
+ "scale_in_out":1,
+ "vnfc":[
+ {
+ "connection_point":[
+ {
+ "floatingIp":"random",
+ "virtual_link_reference":"private",
+ "interfaceId":0
+ }
+ ]
+ }
+ ],
+ "vimInstanceName":[]
+ }
+ ],
+ "deployment_flavour":[
+ {
+ "flavour_key":"m1.small"
+ }
+ ],
+ "type":"server",
+ "endpoint":"generic",
+ "vnfPackageLocation":"https://github.com/openbaton/vnf-scripts.git"
+ }
+ ],
+ "vnf_dependency":[
+ {
+ "source":{
+ "name":"sipp-server"
+ },
+ "target":{
+ "name":"sipp-client"
+ },
+ "parameters":[
+ "private"
+ ]
+ }
+ ]
+} \ No newline at end of file