[P4-discuss] How to Get P4Switch ID

jingy at zju.edu.cn jingy at zju.edu.cn
Thu Oct 27 01:34:14 EDT 2016


Hello,
  I new to P4.
  When I write P4 codes, I face a problem. I want to implement a simple routing algorithm, so I need to get current switch ID to get the egress port.(The egress port is encoded locally).
  How can I get switch ID in my P4 program? 
  Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20161027/96c8ec70/attachment-0002.html>


More information about the P4-discuss mailing list