public class PcepTunnelData extends Object
| Constructor and Description |
|---|
PcepTunnelData()
Default constructor.
|
PcepTunnelData(org.onosproject.net.ElementId elementId,
Tunnel tunnel,
org.onosproject.net.Path path,
RequestType requestType)
Constructor to initialize ElemendId, Tunnel, Path and Request type.
|
PcepTunnelData(org.onosproject.net.ElementId elementId,
Tunnel tunnel,
RequestType requestType)
Constructor to initialize ElementId, Tunnel and Request type.
|
PcepTunnelData(Tunnel tunnel,
org.onosproject.net.Path path,
RequestType requestType)
Constructor to initialize Tunnel, Path and Request type.
|
PcepTunnelData(Tunnel tunnel,
RequestType requestType)
Constructor to initialize Tunnel and Request type.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.ElementId |
elementId()
To get Ip element id.
|
boolean |
equals(Object obj) |
int |
extTunnelId()
To get extended tunnel id.
|
int |
hashCode() |
boolean |
lspAFlag()
To get A flag.
|
boolean |
lspDFlag()
To get D Flag.
|
short |
lspId()
To get pLspId.
|
byte |
lspOFlag()
To get OF flag.
|
org.onosproject.net.Path |
path()
To get Path.
|
int |
plspId()
To get pLspId.
|
RequestType |
requestType()
To get request type.
|
boolean |
rptFlag()
To get report flag.
|
void |
setElementId(org.onosproject.net.ElementId elementId)
Sets ip element id.
|
void |
setExtTunnelId(int value)
Sets extended tunnel id from PCC.
|
void |
setLspAFlag(boolean value)
Sets A flag from lsp object.
|
void |
setLspDFlag(boolean value)
Sets D flag from lsp object.
|
void |
setLspId(short value)
Sets lsp id from pcc.
|
void |
setLspOFlag(byte value)
Sets OF flag from lsp object.
|
void |
setPath(org.onosproject.net.Path path)
Sets Path.
|
void |
setPlspId(int plspId)
Sets plspid generated from pcc.
|
void |
setRequestType(RequestType requestType)
Request type for tunnel.
|
void |
setRptFlag(boolean rptFlag)
Sets report flag.
|
void |
setStatefulIpv4IndentifierTlv(StatefulIPv4LspIdentifiersTlv value)
Sets statefulIpv4Identifiers tlv.
|
void |
setTunnel(Tunnel tunnel)
Sets tunnel.
|
void |
setTunnelId(short value)
Sets tunnel id from PCC.
|
StatefulIPv4LspIdentifiersTlv |
statefulIpv4IndentifierTlv()
To get statefulIpv4Indentifier tlv.
|
String |
toString() |
Tunnel |
tunnel()
To get Tunnel.
|
short |
tunnelId()
To get tunnel id.
|
public PcepTunnelData()
public PcepTunnelData(Tunnel tunnel, org.onosproject.net.Path path, RequestType requestType)
tunnel - mpls tunnelpath - Path in networkrequestType - request type for tunnelpublic PcepTunnelData(org.onosproject.net.ElementId elementId,
Tunnel tunnel,
org.onosproject.net.Path path,
RequestType requestType)
elementId - Ip element idtunnel - mpls tunnelpath - Path in networkrequestType - request type for tunnelpublic PcepTunnelData(Tunnel tunnel, RequestType requestType)
tunnel - Tunnel from corerequestType - request type for tunnelpublic PcepTunnelData(org.onosproject.net.ElementId elementId,
Tunnel tunnel,
RequestType requestType)
elementId - Ip element idtunnel - mpls tunnelrequestType - request type for tunnelpublic void setElementId(org.onosproject.net.ElementId elementId)
elementId - Ip element idpublic void setTunnel(Tunnel tunnel)
tunnel - mpls tunnelpublic void setPath(org.onosproject.net.Path path)
path - Path in networkpublic void setRequestType(RequestType requestType)
requestType - request type for tunnelpublic void setPlspId(int plspId)
plspId - plsp identifierpublic void setLspAFlag(boolean value)
value - A flag valuepublic void setLspOFlag(byte value)
value - OF flag valuepublic void setTunnelId(short value)
value - tunnel id valuepublic void setExtTunnelId(int value)
value - extended tunnel id valuepublic void setLspId(short value)
value - lsp idpublic void setStatefulIpv4IndentifierTlv(StatefulIPv4LspIdentifiersTlv value)
value - statefulIpv4Identifiers tlvpublic void setRptFlag(boolean rptFlag)
rptFlag - report flagpublic void setLspDFlag(boolean value)
value - D flag valuepublic org.onosproject.net.ElementId elementId()
public Tunnel tunnel()
public org.onosproject.net.Path path()
public RequestType requestType()
public int plspId()
public boolean lspAFlag()
public byte lspOFlag()
public short tunnelId()
public int extTunnelId()
public short lspId()
public boolean lspDFlag()
public StatefulIPv4LspIdentifiersTlv statefulIpv4IndentifierTlv()
public boolean rptFlag()