aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/nsut/2trex
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-10-11 15:16:53 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-10-13 06:22:42 +0000
commitf05d3844c6f43310618b62d942442b2f05f91551 (patch)
tree959827f15921ff02aaac15c6aec3dce4fe99e5e7 /samples/vnf_samples/nsut/2trex
parent204bed26efa57ca0de15534d9268bb4d61f7e0fa (diff)
ping: always save rtt data, influxdb ignore empty data
If the SLA was failing we were raising AssertionError and not storing the rtt in the data dict. This caused influxdb parse errors because the data was empty. Fixup influxdb to ignore records with no data, so we don't try to parse no data. Change the ping logic to always record the rtt result even if the SLA was not met. Also fixup ping logic in cases where ping does not return results. If SLA is defined use SLA * 10 otherwise use large float that doesn't break the grafana scale too much, maybe 999999 JIRA: YARDSTICK-809 Change-Id: Id2d51216581644a80e8c7b9aa98919a766008adf Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit af011b16787e8fd9fc6f918b1d1427dd1be562ec)
Diffstat (limited to 'samples/vnf_samples/nsut/2trex')
0 files changed, 0 insertions, 0 deletions
d='n164' href='#n164'>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 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333