Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a test that does just udp and icmp? #100

Closed
dtaht opened this issue Mar 8, 2017 · 4 comments
Closed

a test that does just udp and icmp? #100

dtaht opened this issue Mar 8, 2017 · 4 comments

Comments

@dtaht
Copy link
Collaborator

dtaht commented Mar 8, 2017

What I basically wanted was a test that did nothing but udp and icmp against a variable number of hosts. The below is not the right way to go about it.

## -*- mode: python; coding: utf-8 -*-

include("rtt_fair_var.conf")
DESCRIPTION="Ping - variable number of hosts"
DEFAULTS={'PLOT': "ping"}

for k in list(DATA_SETS.keys()):
    if 'download' in k:
        del DATA_SETS[k]

for k in list(DATA_SETS.keys()):
    if 'upload' in k:
        del DATA_SETS[k]

for k in list(PLOTS.keys()):
    if 'download' in k or k.endswith("_down"):
        del PLOTS[k]

for k in list(PLOTS.keys()):
    if 'upload' in k or k.endswith("_upload"):
        del PLOTS[k]

for p in 'totals', 'bar_fairness', 'box_combine', 'box_combine_throughput':
    PLOTS[p]['series'] = [s for s in PLOTS[p]['series'] if not ( 'download' or 'upload' ) in s['data']]

for p in 'all', 'all_scaled':
    PLOTS[p]['subplots'] = [s for s in PLOTS[p]['subplots'] if not ( 'download' or 'upload' )  in s]
@tohojo
Copy link
Owner

tohojo commented Mar 9, 2017 via email

@tohojo
Copy link
Owner

tohojo commented Sep 19, 2017

I'm thinking doing this with the in-development tool at #106 is better, no?

@dtaht
Copy link
Collaborator Author

dtaht commented Sep 19, 2017 via email

@tohojo
Copy link
Owner

tohojo commented Sep 19, 2017 via email

@tohojo tohojo closed this as completed in 5daa2b3 Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants