# from bf_shell # bfrt_python bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=266, dst_addr="10.0.1.1" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=267, dst_addr="10.0.1.2" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=265, dst_addr="10.0.1.3" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=264, dst_addr="10.0.1.4" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=256, dst_addr="10.0.2.1" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=258, dst_addr="10.0.2.2" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=257, dst_addr="10.0.2.3" ) bfrt.l1switch.pipe.SwitchIngress.t_l1_forwarding.add_with_send( egress_port=258, dst_addr="10.0.2.4" ) bfrt.complete_operations()