feat(wedge): Added command script (03) which can be run with bf_shell -f and adjusted python script (04) to run with bf_shell -b

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-12-27 19:09:48 +01:00
parent 9c3ef212c2
commit 2f1bcbd5d4
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
ucli
pm
port-add 31/- 10G NONE
an-set 31/- 2
port-enb 31/-
port-add 32/- 10G NONE
an-set 32/- 2
port-enb 32/-
exit
exit

View File

@@ -1,5 +1,5 @@
# from bf_shell
bfrt_python
# bfrt_python
bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send(
egress_port=266, dst_addr="10.0.1.1"
)