ofnet
ofnet copied to clipboard
Ofnet is openflow networking library
TestPolicyAddDelete is failing with Go 1.7. This needs more investigation to figure out what's going on. ``` --- FAIL: TestPolicyAddDelete (2.29s) ofnetPolicy_test.go:161: Could not find the flow priority=110,tcp,metadata=0x640190/0x7ffffffe,nw_src=10.10.10.0/24,nw_dst=10.1.1.0/24,tp_src=200,tp_dst=100 on ovs...
Fwd mode change needs to be a blocking call - config should not be possible
My apologies, however, are you sure that this code should look exactly like it does? https://github.com/contiv/ofnet/blob/bc1f1f795cad7b0f39d7e243c175ca1c94eeb29e/vendor/github.com/contiv/libOpenflow/openflow13/flowmod.go#L99-L102 Perhaps you wanted to write something like: ```go binary.BigEndian.PutUint32(bytes[n:], f.OutPort) n += 4 binary.BigEndian.PutUint32(bytes[n:],...