Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] RARE on Tofino model

Subject: Rare project developers

List archive

Re: [rare-dev] RARE on Tofino model


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>
  • Cc:
  • Subject: Re: [rare-dev] RARE on Tofino model
  • Date: Tue, 14 Jun 2022 15:37:53 +0200

hi,

On 6/14/22 13:18, Alexander Gall wrote:
On Tue, 14 Jun 2022 13:03:24 +0200, mc36 <> said:

hi,
On 6/14/22 12:33, Alexander Gall wrote:

Never mind. I was using an older version of freertr, namely the one I
used in the demo of running RARE on the model. Remember that the ping
worked back then? That was because of this behaviour that freertr
considered the port to be up. Presumably, this demo would no longer
work with the current version.

well, so this "start in down state" changed recently, carmen reported about a
thing...
so on the older jars, it's normal, that you noticed something else... :)

Ok, so this is issue is solved :)
hmmm... it'll turn out... (in cast of asic, it should, yess...:)


So can you now please check whether the oper status of your ports on
the model is "UP" (seen from the UCLI) when you expect it to be ? This
is really my main concern for now :)

i see on my model vm running sde990 after java -Xmx512m -jar rtr.jar test
tester p4lang-rout001 other p4lang301.ini wait

Yes, I know it works on 9.8 and 9.9. Sorry, I should have said so. Do
you have 9.7.x to check, too?

it's my model on 9.7.2 and yess, and i also got a lot of state messages at
the beginning but after that, every port went down...

rare#show p4lang p4 api-rx
info userReader.cmdEnter:userReader.java:1032 command rare#show p4lang p4 api-rx from
local:telnet <loop> 23 -> 127.0.0.1 35552
message count last ago
capabilities 1 2022-06-14 15:32:41 00:00:02
dynrange 1 2022-06-14 15:32:41 00:00:02
platform 1 2022-06-14 15:32:41 00:00:02
portname 256 2022-06-14 15:32:41 00:00:02
state 260 2022-06-14 15:32:42 00:00:01

rare#attach process bfswd
bf-sde.pm> show
-----+----+---+----+-------+----+--+--+---+---+---+--------+----------------+----------------+-
PORT |MAC |D_P|P/PT|SPEED |FEC |AN|KR|RDY|ADM|OPR|LPBK |FRAMES RX
|FRAMES TX |E
-----+----+---+----+-------+----+--+--+---+---+---+--------+----------------+----------------+-
1/0 |15/0| 0|0/ 0|10G |NONE|Au|Au|YES|ENB|DWN| NONE | 0|
0|
1/1 |15/1| 1|0/ 1|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
1/2 |15/2| 2|0/ 2|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
1/3 |15/3| 3|0/ 3|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
2/0 |14/0| 4|0/ 4|10G |NONE|Au|Au|YES|ENB|DWN| NONE | 0|
0|
2/1 |14/1| 5|0/ 5|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
2/2 |14/2| 6|0/ 6|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
2/3 |14/3| 7|0/ 7|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
3/0 |13/0| 8|0/ 8|10G |NONE|Au|Au|YES|ENB|DWN| NONE | 0|
0|
3/1 |13/1| 9|0/ 9|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
3/2 |13/2| 10|0/10|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
3/3 |13/3| 11|0/11|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
4/0 |12/0| 12|0/12|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|
4/1 |12/1| 13|0/13|10G |NONE|Au|Au|YES|DIS|DWN| NONE | 0|
0|

rare#show interfaces summary
interface state tx rx drop
ethernet0 up 0 0 0
ethernet1 up 23778 0 0
ethernet2 up 60 792 792
sdn1 down 0+0 0+0 0+0
sdn2 down 0+0 0+0 0+0
sdn3 down 0+0 0+0 0+0

rare#



Archive powered by MHonArc 2.6.19.

Top of Page