digitalocean / go-openvswitch

Go packages which enable interacting with Open vSwitch and related tools. Apache 2.0 Licensed.
Other
295 stars 95 forks source link

add metadata match #72

Closed mzbenami closed 5 years ago

mzbenami commented 5 years ago

I confirmed that this syntax is supported locally.

root@s2r3node2:/home/mbenami# ovs-ofctl --version
ovs-ofctl (Open vSwitch) 2.7.3
OpenFlow versions 0x1:0x4

root@s2r3node2:/home/mbenami# ovs-ofctl dump-flows mzb | grep metadata
 cookie=0x0, duration=2209.774s, table=0, n_packets=0, n_bytes=0, idle_age=2209, priority=800,arp,metadata=0x12 actions=group:809

uint64 data type selected in reference to REGISTER FIELDS section of this document http://www.openvswitch.org/support/dist-docs/ovs-fields.7.txt