importgrpcfrombfrt_pythonimportBfrtClient# 创建 BFR 客户端client=BfrtClient('localhost:50051')# 加载程序program=client.bfrt_info_get('my_switch')# 获取流表并添加条目table=program.tables['my_table']entry=table.entry()# 定义匹配字段和动作entry.match_field('hdr.ethernet.src','00:11:22:33:...