1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
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"
]
}
]
}
|