From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.4 Received: from mail.toke.dk by mail.toke.dk with LMTP id p0b2NotohF6IqwcAOr1fkg (envelope-from ) for ; Wed, 01 Apr 2020 12:10:19 +0200 Authentication-Results: mail.toke.dk; none (SPF check N/A for local connections - client-ip=77.235.54.103; helo=web6.sd.eurovps.com; envelope-from=flent-users-bounces@flent.org; receiver=) Authentication-Results: mail.toke.dk; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=Ddd+uiCi Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id C7268722EE1 for ; Wed, 1 Apr 2020 12:10:16 +0200 (CEST) Received: from [::1] (port=60746 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.93) (envelope-from ) id 1jJaK5-00CtDa-58; Wed, 01 Apr 2020 13:10:13 +0300 Received: from out-25.smtp.github.com ([192.30.252.208]:53743) by web6.sd.eurovps.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jJaJw-00Ct5R-QD for flent-users@flent.org; Wed, 01 Apr 2020 13:10:10 +0300 Date: Wed, 01 Apr 2020 03:09:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1585735764; bh=tMSfcZmslNMB3j1lOQ62TlBGoC+CuqLZyJrH0dXfLsU=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=Ddd+uiCipqQOPtwup4ZLnGLad5DceIh5Hb1mhUTDhfDTPQ5y7l7IRnuRyKEd/nl73 WZgZwmhq2FO5yMR8CI84fghqPCGKZsrgJr1JPfzMKatffYbrzl/lODmYAWhAUXmiPm tuKFKU+UxWmzKPE8bvNfhs70v1psiigmJO8QcGaY= From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Precedence: list X-GitHub-Sender: tohojo X-GitHub-Recipient: flent-users X-GitHub-Reason: comment X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Subject: Re: [Flent-users] [tohojo/flent] Customized test displaying error (#203) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.29 List-Id: Flent discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: tohojo/flent Cc: Comment , flent-users Content-Type: multipart/mixed; boundary="===============8453903084148395874==" Errors-To: flent-users-bounces@flent.org Sender: "Flent-users" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web6.sd.eurovps.com X-AntiAbuse: Original Domain - toke.dk X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - flent.org X-Get-Message-Sender-Via: web6.sd.eurovps.com: acl_c_authenticated_local_user: mailman/mailman X-Authenticated-Sender: web6.sd.eurovps.com: mailman@flent.org --===============8453903084148395874== Content-Type: multipart/alternative; boundary="--==_mimepart_5e84685476358_712b3f96494cd9601253f3"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5e84685476358_712b3f96494cd9601253f3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit flent-users writes: > Hi Toke, > > that sounds great! > Question: Are the marking parameters in decimal? So can I for example > just take the decimal values from > https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus1000/sw/4_0_4_s_v_1_3/qos/configuration/guide/n1000v_qos/n1000v_qos_6dscpval.html > or related tables? I'd actually suggest you just use the symbolic values (e.g., 'CS0'). Flent will make sure to convert them to decimal values for the tools that don't understand the symbolic ones. This is the list of supported symbolic values: https://github.com/tohojo/flent/blob/master/flent/runners.py#L105 You'll notice the values differ slightly from what's in that Cisco table, but that's just because the values Flent uses are for the whole TOS field; so if you bitshift them two bits to the right, they match the table you referenced :) -- 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-607159596 ----==_mimepart_5e84685476358_712b3f96494cd9601253f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

flent-users <notifications@github.com> writes:

> Hi Toke,
>
> that sounds great!
> Question: Are the marking parameters in decimal? So can I for example
> just take the decimal values from
> https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus1000/sw/4_0_4_s_v_1_3/qos/configuration/guide/n1000v_qos/n1000v_qos_6dscpval.html
> or related tables?

I'd actually suggest you just use the symbolic values (e.g., 'CS0').
Flent will make sure to convert them to decimal values for the tools
that don't understand the symbolic ones. This is the list of supported
symbolic values:

https://github.com/tohojo/flent/blob/master/flent/runners.py#L105

You'll notice the values differ slightly from what's in that Cisco
table, but that's just because the values Flent uses are for the whole
TOS field; so if you bitshift them two bits to the right, they match the
table you referenced :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

----==_mimepart_5e84685476358_712b3f96494cd9601253f3-- --===============8453903084148395874== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Flent-users mailing list Flent-users@flent.org http://flent.org/mailman/listinfo/flent-users_flent.org --===============8453903084148395874==--