使用p4c将P4 14代码转换为16代码
参考:
[Question] How to make conversion between P4 14 and P4 16?
使用p4c将P4 14代码转换为16代码:
$ p4test --p4v 14 --pp foo-translated-to-p4-16.p4 foo-in-p4-14.p4
其中,foo-in-p4-14.p4
为14程序,foo-translated-to-p4-16.p4
为16程序。
2017.9
To improve is to change, to be perfect is to change often.