- client 增加一个 WriteManyUpdate 方法client.go
- 计数器增加一个 ModifyManyCounterEntry 方法 counters.go
- multicast_group_entry 增加 ModifyMulticastGroup 方法,增加读取的方法ReadMulticastGroupWildcard和ReadMulticastGroup pre.go
- 增加clone_session_entry 的 insert/modify/delete 方法和read方法 pre_clone.go
- 增加了table_entry的翻译功能,可以使用在新定义的TableEntry与p4定义的TableEntry之间转换tables.go
- 为实现上一条,在p4info文件中增加了对应接口
Go client for P4Runtime
This project is still a work in progress. We make no guarantee for the stability of the API and may modify existing functions in the client API. We welcome feedback and contributions!.
For a good place to start, check out the l2_switch example.