public class NiciraEncapEthDst
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
Constructor and Description |
---|
NiciraEncapEthDst(org.onlab.packet.MacAddress encapEthDst)
Creates a new encapEthDst instruction with given mac address.
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(byte[] data) |
org.onlab.packet.MacAddress |
encapEthDst()
Gets the encapEthDst.
|
boolean |
equals(Object obj) |
int |
hashCode() |
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValue
public NiciraEncapEthDst(org.onlab.packet.MacAddress encapEthDst)
encapEthDst
- encapsulated ethernet destinationpublic org.onlab.packet.MacAddress encapEthDst()
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
type
in interface org.onosproject.net.flow.instructions.ExtensionTreatment
public void deserialize(byte[] data)
deserialize
in interface org.onosproject.net.flow.Extension
public byte[] serialize()
serialize
in interface org.onosproject.net.flow.Extension
Copyright © 2016. All rights reserved.