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

automatic bringup of the x86 cpu ports #1

Open
mc36 opened this issue Nov 25, 2023 · 0 comments
Open

automatic bringup of the x86 cpu ports #1

mc36 opened this issue Nov 25, 2023 · 0 comments

Comments

@mc36
Copy link

mc36 commented Nov 25, 2023

hi,

rare/freertr core devvie here... im writing to you because it would be nice if you can automatically bring up the "x86 control board" 2* 10g ethernet ports connected to the tofino....

its a per platform knowledge in your case also, but, unlike on other platforms like the "reference" edgecore-wedge or the apsn boxes i had some luck to play with, in your case its not automatically brought up...

after bringing up these ports, our router core ( https://github.com/rare-freertr/freeRtr/tree/master/misc/p4bf ) also works fine on my asterfusion 321x and tier0-testnet/hemenet is happily transmitting bgp/mpls heavy payloads through the box.... for your reference, you can take a look at http://inf.nop.hu/ and http://lg.nop.hu/ , and your box is the "core" one.... :)

( my next target will be the 2x dpu-s to stack them to the tofino.... :)

bf-sde> pm show
-----+----+---+----+-------+----+--+--+---+---+---+--------+----------------+----------------+-
PORT |MAC |D_P|P/PT|SPEED |FEC |AN|KR|RDY|ADM|OPR|LPBK |FRAMES RX |FRAMES TX |E
-----+----+---+----+-------+----+--+--+---+---+---+--------+----------------+----------------+-
13/0 |27/0|156|3/28|10G |NONE|Au|Au|YES|ENB|UP | NONE | 2546750| 2515873|
33/2 |32/2| 66|1/66|10G |NONE|En|Au|YES|ENB|UP | NONE | 111880| 120965|
bf-sde>

in the above one i had some luck to off-load some mpls in a router-on-the-stick configuration....

core#show interfaces summary
info userReader.cmdEnter:userReader.java:1227 command core#show interfaces summary from local:telnet 23 -> 127.0.0.1 56072
2023-11-25 10:10:12
interface | state | tx | rx | drop
template1 | up | 224112 | 0 | 0
loopback0 | up | 224034 | 0 | 0
ethernet0 | up | 15868723 | 90358409 | 0
sdn1 | up | 15604022+2875811416 | 90068261+2847245255 | 80444+0
sdn1.147 | up | 555160+8027859 | 486565+676271 | 0+0
sdn1.148 | up | 685968+12523773 | 584117+2034564 | 0+0
sdn1.149 | up | 591621+12491682 | 647891+1823497 | 0+0
sdn1.158 | up | 702184+13400704 | 720004+2554016935 | 0+0
sdn1.159 | up | 778535+12144124 | 450882+3258417 | 0+0
sdn1.160 | up | 1047568+18581553 | 1036872+152668238 | 0+0
sdn1.161 | up | 1239316+18198557 | 1183204+26213106 | 0+0
sdn1.162 | up | 1115751+17404224 | 998492+3752585 | 0+0
sdn1.163 | up | 6187845+166309594 | 79211224+80807218 | 332+0
sdn1.164 | up | 2150489+2583428747 | 4055974+3279744 | 664+0
sdn9 | up | 0+90630090 | 0+17087948 | 0+0

core#
core#show running-config server p4lang p4
info userReader.cmdEnter:userReader.java:1227 command core#show running-config server p4lang p4 from local:telnet 23 -> 127.0.0.1 56072
2023-11-25 10:13:07
server p4lang p4
export-vrf inet
export-port sdn9 66 10 1 2 0
export-port sdn1 156 10 1 0 0
interconnect ethernet0
vrf p4
exit
!

core#

in the above, the sdn9 is what i had to add to have the cpu-port up and running in the tofino level and be able to speak the routing protocols needed to become a part of the networking topology....

sooo long story short, if you can add that extra to have these 2 internal connections brought up, that would be a nice enhancement to align to the other whitebox vendors....

thanks in advance... :)

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

1 participant