Added metadata match/instructions to md openflow utils
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)
commit91750bf78d146d63f22e90a6fd37bae820bdc8f3
tree223fdd5d233beca0a5687af965dc55371f5ab195
parent7da88c6784356c19d35622c80ae30885bb82e97d
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