Skip to content
Snippets Groups Projects
Commit 6d96c236 authored by Alex Reimers's avatar Alex Reimers
Browse files

merging in Floodlight changes

parents c3be8ef6 7a8523be
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ public enum OFType {
* type number, length, and derived class
*
* @param type Wire protocol number associated with this OFType
* @param requestClass The Java class corresponding to this type of OpenFlow
* @param clazz The Java class corresponding to this type of OpenFlow
* message
* @param instantiator An Instantiator<OFMessage> implementation that creates an
* instance of the specified OFMessage
......
......@@ -22,6 +22,9 @@ package org.openflow.protocol.action;
import java.util.Arrays;
import net.floodlightcontroller.core.web.serializers.ByteArrayMACSerializer;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.jboss.netty.buffer.ChannelBuffer;
import org.openflow.protocol.OFPhysicalPort;
......@@ -37,6 +40,7 @@ public abstract class OFActionDataLayer extends OFAction {
/**
* @return the dataLayerAddress
*/
@JsonSerialize(using=ByteArrayMACSerializer.class)
public byte[] getDataLayerAddress() {
return dataLayerAddress;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment