public class NiciraEncapEthSrc
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
Constructor and Description |
---|
NiciraEncapEthSrc(org.onlab.packet.MacAddress encapEthSrc)
Creates a new encapEthSrc instruction with given mac address.
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(byte[] data) |
org.onlab.packet.MacAddress |
encapEthSrc()
Gets the encapEthSrc.
|
boolean |
equals(Object obj) |
int |
hashCode() |
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValue
public NiciraEncapEthSrc(org.onlab.packet.MacAddress encapEthSrc)
encapEthSrc
- encapsulated ethernet sourcepublic org.onlab.packet.MacAddress encapEthSrc()
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.