Added metadata match/instructions to md openflow utils 90/10190/1
authorBrent Salisbury <brent.salisbury@gmail.com>
Fri, 22 Aug 2014 19:58:30 +0000 (15:58 -0400)
committerBrent Salisbury <brent.salisbury@gmail.com>
Fri, 22 Aug 2014 19:58:30 +0000 (15:58 -0400)
commite9b29ede8a09d5b80b2042e65d2ad74830bf74ca
tree8b69dd784a95718c84260a709ef00111ec51e5cd
parent40604b174b37644abcdedabc7c1d34d2366cca3f
Added metadata match/instructions to md openflow utils

-Flowmod produced as follows:
metadata=0x14,dl_type=0x88cc actions=CONTROLLER:65535,write_metadata:0xc/0xc

- Added a missing instrucionbuilder.build() for a few of
the instructions to add after action builders to the
instruction being returned for the ARP related methods.

The mask on the instruction I beleive is optional but
I am seeing null pointers w/o it. It is marked with a
todo to investigate further but this should satisfy
what we need short term.

Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
utils/mdsal-openflow/src/main/java/org/opendaylight/ovsdb/utils/mdsal/openflow/InstructionUtils.java
utils/mdsal-openflow/src/main/java/org/opendaylight/ovsdb/utils/mdsal/openflow/MatchUtils.java