Flent-users discussion archives
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Cc: Comment <comment@noreply.github.com>,
	flent-users <flent-users@flent.org>
Subject: Re: [Flent-users] [tohojo/flent] Customized test displaying error (#203)
Date: Tue, 28 Apr 2020 02:38:17 -0700	[thread overview]
Message-ID: <tohojo/flent/issues/203/620495061@github.com> (raw)
In-Reply-To: <tohojo/flent/issues/203@github.com>


[-- Attachment #1.1: Type: text/plain, Size: 2627 bytes --]

olg33 <notifications@github.com> writes:

> Hi Toke,
> After testing with two co-located servers and tweaking the switch configuration that connects them, all is working well. Thanks.
>
> Now I'd like to test in a production network. Because we work in a multi-vendor environment (Riverbed, Procera, Idirect, etc) we had to create a customized DSCP naming convention which is based on the TOS Hexadecimal value and its DSCP decimal number, something like this:
>
>> https://support.riverbed.com/bin/support/static/n0glmtc5kegfi7htfe7msdsgcb/html/uc6d3bbkbug83sroi75ersdj9i/sc_ug_html/index.html#page/sh_sd/app_tosdscp_qosclass.html
>
>  Therefore, instead of AF11, we use as a name the DSCP number 10 whose hex value would be 0x28. We have a total of 12 DSCP values for our traffic markings. 
>
> I was thinking that perhaps it's a matter of adding these values to the list of supported symbolic values which in our case may look like this:
>
> MARKING_MAP = {'10': 0x28,
>                               '11': 0x2c,
>                               '13': 0x34,
>                               '15': 0x38,
>                               '17': 0x40,
>                               '19': 0x4c,
>                               '20': 0x50,
>                               '21': 0x54,
>                               '23': 0x5c,
>                               '25': 0x64,
>                               '27': 0x6c,
>                               '29': 0x74}
>
> So that, if I enter parameters:
>
> --test-parameter markings=10,13,15  
>
> Packets would carry ToS hex value:
>
> Differentiated Services Field: 0x28 (DSCP: 10, ECN: Not-ECT)
>  Differentiated Services Field: 0x34 (DSCP: 13, ECN: Not-ECT)
>  Differentiated Services Field: 0x38 (DSCP: 15, ECN: Not-ECT)
>
> Do you think this is possible? or what would be the right approach?

You could do that, of course, but since these will be specific to your
environment I can't include such a patch into Flent itself, so you'd
have to maintain that patch yourself.

An alternative is to use the hex values directly, and couple them with
the 'labels' test parameter to get the right plot labels. So you could
do this:

--test-parameter markings=0x28,0x34,0x38  --test-parameter labels=10,13,15

and that would achieve the same as updating the MARKING_MAP - you just
need to keep the order synced between the 'labels' and 'markings'
parameter.

Up to you which one you think is easiest to maintain, I guess :)


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/203#issuecomment-620495061

[-- Attachment #1.2: Type: text/html, Size: 3983 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

  parent reply	other threads:[~2020-04-28  9:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tohojo/flent/issues/203@github.com>
2020-03-24 17:42 ` Toke Høiland-Jørgensen
2020-03-26 14:54 ` Toke Høiland-Jørgensen
2020-03-26 17:59 ` Toke Høiland-Jørgensen
2020-03-31 14:15 ` Toke Høiland-Jørgensen
2020-04-01 10:09 ` Toke Høiland-Jørgensen
2020-04-01 10:33   ` Sebastian Moeller
2020-04-01 11:10 ` Toke Høiland-Jørgensen
2020-04-03  8:30 ` Toke Høiland-Jørgensen
     [not found] ` <tohojo/flent/issues/203/608963421@github.com>
2020-04-04  3:25   ` Dave Taht
2020-04-06  9:22 ` Toke Høiland-Jørgensen
2020-04-08 21:31 ` Toke Høiland-Jørgensen
2020-04-28  9:38 ` Toke Høiland-Jørgensen [this message]
     [not found] ` <tohojo/flent/issues/203/620745795@github.com>
2020-04-28 17:28   ` Dave Taht
     [not found] ` <tohojo/flent/issues/203/620754293@github.com>
2020-04-28 17:50   ` Dave Taht
2020-04-28 18:00 ` Toke Høiland-Jørgensen
2020-04-28 19:10 ` Toke Høiland-Jørgensen
     [not found] ` <tohojo/flent/issues/203/620824256@github.com>
2020-04-28 20:16   ` Dave Taht
2020-04-28 20:51 ` Toke Høiland-Jørgensen
2020-04-29 13:07 ` Toke Høiland-Jørgensen
2020-04-29 17:14 ` Toke Høiland-Jørgensen
2020-04-30 16:01 ` Toke Høiland-Jørgensen
2020-04-30 16:01 ` Toke Høiland-Jørgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.flent.org/postorius/lists/flent-users.flent.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tohojo/flent/issues/203/620495061@github.com \
    --to=notifications@github.com \
    --cc=comment@noreply.github.com \
    --cc=flent-users@flent.org \
    --cc=flent@noreply.github.com \
    --cc=reply+AHVNJP5C7BJUN7FHTV2RNT54WPNITEVBNHHCF7XB3M@reply.github.com \
    --subject='Re: [Flent-users] [tohojo/flent] Customized test displaying error (#203)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox