|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolMessage
|
+--gov.nist.antd.mpls.signaling.information.MPLSSignalingInfo
Class MPLSSignalingInfo.
DML Example to establish a LSP
CRLDPInfo [
TunnelLSP [ # Uni-Direction TunnelLSP setup
pathID %d
SetUpTime %d
# If you want to use PriorityScheduler, you should write "Priority" only
# If you want to use WFQScheduler, you should write "WFQ" only
Priority %d # or Weight %f
TrafficParameters [PDR %d PBS %d CDR %d CBS %d EBS %d]
# PDR : Peak Data Rate - bps
# PBS : Peak Burst Size - bytes
# CDR : Peak Data Rate - bps
# CBS : Peak Burst Size - bytes
# EBS : Peak Burst Size - bytes
NodeList [
Node [ ID %d ] * The First LSR is the Ingress LSR
Node [ ID %d LooseRouting true]
Node [ ID %d ]
Node [ ID %d ] * The Last LSR is the Egress LSR
]
]
TunnelLSP_BD [ # Bi-Direction TunnelLSP setup
:
same as TunnelLSP
:
]
LSP [ # Uni-Direction LSP setup with a Explicit Routing list
pathID %d
SetUpTime %d
ReleaseTime %d
# If you want to use PriorityScheduler, you should write "Priority" only
# If you want to use WFQScheduler, you should write "WFQ" only
Priority %d # or Weight %f
FEC [
SrcTGId %d SrcPortMin %d SrcPortMax %d
DestTGId %d DestPortMin %d DestPortMax %d
ToS %d PortocolNum %d
]
TrafficParameters [PDR %d PBS %d CDR %d CBS %d EBS %d]
# PDR : Peak Data Rate - bps
# PBS : Peak Burst Size - bytes
# CDR : Peak Data Rate - bps
# CBS : Peak Burst Size - bytes
# EBS : Peak Burst Size - bytes
NodeList [
Node [ ID %d ] * The First LSR is the Ingress LSR
Node [ ID %d LooseRouting true]
Node [ ID %d ]
Node [ ID %d ] * The Last LSR is the Egress LSR
]
]
LSP [ # Uni-Direction LSP setup with Traffic Engineering OSPF
pathID %d
SetUpTime %d
ReleaseTime %d
# If you want to use PriorityScheduler, you should write "Priority" only
# If you want to use WFQScheduler, you should write "WFQ" only
Priority %d # or Weight %f
FEC [
SrcTGId %d SrcPortMin %d SrcPortMax %d
DestTGId %d DestPortMin %d DestPortMax %d
ToS %d PortocolNum %d
]
TrafficParameters [PDR %d PBS %d CDR %d CBS %d EBS %d ]
# PDR : Peak Data Rate - bps
# PBS : Peak Burst Size - bytes
# CDR : Peak Data Rate - bps
# CBS : Peak Burst Size - bytes
# EBS : Peak Burst Size - bytes
TEPath [
SrcID %d
DestID %d
Constraint [
ConstraintType %d
Value %d
CompareType %d
]
:
Constraint [
ConstraintType %d
Value %d
CompareType %d
]
]
]
LSP_BD [ # Bi-Direction TunnelLSP setup
:
same as LSP
:
]
OpticalPath_OUNI [ # Uni-Direction Optical Path
pathID %s
SetUpTime %d
ReleaseTime %d
SrcNodeId %s SrcInterfaceId %d
#NodeList [
# Node [ ID %d ] * Ingress OXC
# Node [ ID %d ]
# Node [ ID %d ]
# Node [ ID %d ]
# Node [ ID %d ] * Egress OXC
#]
DestNodeId %s DestInterfaceId %d
]
OpticalPath_BD_OUNI [ # Bi-Direction Optical Path
:
same as LSP
:
]
BackUpLSP [ # Uni-Direction backup path
pathID %s
ProtectedPathID %s
:
ProtectedPathID %s
SetUpTime %d
# If you want to use PriorityScheduler, you should write "Priority" only
# If you want to use WFQScheduler, you should write "WFQ" only
Priority %d # or Weight %f
TrafficParameters [PDR %d PBS %d CDR %d CBS %d EBS %d ]
# PDR : Peak Data Rate - bps
# PBS : Peak Burst Size - bytes
# CDR : Peak Data Rate - bps
# CBS : Peak Burst Size - bytes
# EBS : Peak Burst Size - bytes
NodeList [
Node [ ID %d ]
Node [ ID %d ]
:
Node [ ID %d ]
Node [ ID %d ]
]
]
BackUpLSP_BD [ # Bi-Direction backup path
:
same as LSP
:
]
# Establish to establish for Several LSPs
LSPs [
LSP [ pathID %s SetUpTime %f ReleaseTime %f Priority %d Weight %f srcTGID %s IngressLSRID %s EgressLSRID %s destTGID %s ]
LSP_BD [ pathID %s SetUpTime %f ReleaseTime %f Priority %d Weight %f srcTGID %s IngressLSRID %s EgressLSRID %s destTGID %s ]
:
LSP [ pathID %s SetUpTime %f ReleaseTime %f Priority %d Weight %f srcTGID %s IngressLSRID %s EgressLSRID %s destTGID %s ]
LSP_BD [ pathID %s SetUpTime %f ReleaseTime %f Priority %d Weight %f srcTGID %s IngressLSRID %s EgressLSRID %s destTGID %s ]
TrafficParameters [PDR %d PBS %d CDR %d CBS %d EBS %d]
]
]
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government and the Towson University by student in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
int |
activeIngressLSRID
Field activeIngressLSRID - Active Ingress LSR ID |
int |
activeLocalLSPID
Field activeLocalLSPID - Active Local LSP ID |
double |
AvailableExcessBandwidth
Field AvailableExcessBandwidth - Available Excess Bandwidth |
OUNIConnection |
connection
Field connection - Connection object |
long |
ConnectionID
Field ConnectionID - Connection ID between O-UNI Server and client |
static int |
CoreLSR
Field CoreLSR - XXX |
int |
DestInterfaceID
Field DestInterfaceID - Destination Interface ID |
int |
DestTransportNetworkAddr
Field DestTransportNetworkAddr - Destination Transport Network Address |
java.lang.String |
DestTransportNetworkID
Field DestTransportNetworkID - Destination Transport Network ID |
int |
DiffServFlowID
Field DiffServFlowID - XXX |
DiffServPacketScheduler |
diffservscheduler
Field diffservscheduler - XXX |
static int |
EgressLSR
Field EgressLSR - XXX |
java.lang.String |
EgressNodeID
Field EgressNodeID - Egress Node ID |
int |
errorCode
Field errorCode - Error Code |
double |
errorDetectedTime
Field errorDetectedTime - Error Detected Time |
int |
errorInterfaceID
Field errorInterfaceID - Defected Interface ID |
int |
errorLabelValue
Field errorLabelValue - Defected Label Value |
java.lang.String |
errorNodeID
Field errorNodeID - Error Detection Node |
java.lang.String |
errorStr
Field errorStr - Error String |
ExplicitRoutingInformation |
explicitRoutingInformation
Field explicitRoutingInformation - Explicit routing information object |
FECInformation |
fecInformation
Field fecInformation - FEC Information The FECInformation class is designed based on the FEC TLV in the RFC3036 TLV Type = 0x0100 |
int |
GroupIPAddr
Field GroupIPAddr - Group IP Address |
S_CRLDP |
ingressCRLDP
Field ingressCRLDP - Ingress CR-LSP module |
static int |
IngressLSR
Field IngressLSR - XXX |
int |
ingressLSRID
Field ingressLSRID - Ingress LSR ID |
java.lang.String |
IngressNodeID
Field IngressNodeID - Ingress Node ID |
int |
inInterfaceID
Field inInterfaceID - Incoming Interface ID |
int |
inLabel
Field inLabel - Incoming Label |
boolean |
isBackupPath
Field isBackupPath - Backup Path Flag |
boolean |
isLooseRouting
Field isLooseRouting - Loose Routing Flag |
boolean |
isMultiCast
Field isMultiCast - Multicating flag |
boolean |
isOUNIMessage
Field isOUNIMessage - O-UNI message flag |
boolean |
isTEPath
Field isTEPath - TE path flag |
boolean |
isTunnelSetting
Field isTunnelSetting - Tunnel information setting flag The TunnelLSPInformation class is designed for Label Stacking simulation |
int |
LabelRequestMessageID
Field LabelRequestMessageID - Label Request Message ID |
int |
LabelValue
Field LabelValue - Label Information |
int |
localLSPID
Field localLSPID - Local LSP ID |
int |
LSRType
Field LSRType - LSP type : Ingress/Egress/Core |
short |
MessageType
Field MessageType - Message Type |
Net |
net
Field net - Net Object |
int |
outInterfaceID
Field outInterfaceID - Outgoing Interface ID |
int |
outLabel
Field outLabel - Outgoing Label |
java.lang.String |
pathID
Field pathID - Path ID - From DML file |
int |
Priority
Field Priority |
java.lang.String |
ProtectedPathID
Field ProtectedPathID - Protected Path ID - From DML file |
java.util.Vector |
ProtectedPathIDList
Field ProtectedPathIDList - Protected Path ID List |
double |
releaseTime
Field releaseTime - LSP Releae Time |
int |
ReleaseType
Field ReleaseType - Release Type |
double |
Resource
Field Resource - Resource |
int |
ResourceColor
Field ResourceColor |
boolean |
ResourceConfirm
Field ResourceConfirm - Resource Confirm flag |
java.lang.String |
SchedulingType
Field SchedulingType |
int |
SignalingProtocolType
Field SignalingProtocolType - Signaling Protocol Type (CR-LDP, RSVP) |
int |
SourceIPAddr
Field SourceIPAddr - Source IP Address |
int |
SrcInterfaceID
Field SrcInterfaceID - Source Interface ID |
int |
SrcTransportNetworkAddr
Field SrcTransportNetworkAddr - Source Transport Network Address |
java.lang.String |
SrcTransportNetworkID
Field SrcTransportNetworkID - Source Transport Network ID |
double |
startTime
Field startTime - LSP setup time |
int |
StatusCode
Field StatusCode - Status Code |
TrafficParameters |
trafficParameters
Field trafficParameters |
TunnelLSPInformation |
tunnelLSPInformation
Field tunnelLSPInformation - Tunnel LSP Information The TunnelLSPInformation class is designed for Label Stacking simulation |
double |
Weight
Field Weight |
| Fields inherited from class SSF.OS.ProtocolMessage |
|
| Constructor Summary | |
MPLSSignalingInfo()
Constructor MPLSSignalingInfo |
|
MPLSSignalingInfo(Net netinfo)
Constructor MPLSSignalingInfo |
|
| Method Summary | |
void |
configBackUpLSP(com.renesys.raceway.DML.Configuration cfg)
Method configBackUpLSP Backup LSP Configuration ProtectedPathID, TrafficParameter and ExplicitRouting information |
void |
configBackupLSPs(com.renesys.raceway.DML.Configuration cfg,
com.renesys.raceway.DML.Configuration trafficCfg)
Method configBackupLSPs Configure multiple backup LSPs |
void |
configExplicitRoutingInformation(com.renesys.raceway.DML.Configuration cfg)
Method configExplicitRoutingInformation Configure the Explicit Routing information |
void |
configFECInformation(com.renesys.raceway.DML.Configuration cfg)
Method configFECInformation FEC Configuration |
void |
configLSP(com.renesys.raceway.DML.Configuration cfg)
Method configLSP General LSP Configuration FEC, TrafficParameter and ExplicitRouting information |
void |
configLSPForDiffServ(com.renesys.raceway.DML.Configuration cfg,
int diffservflowid)
Method configLSPForDiffServ LSP with DiffServ Configuration |
void |
configLSPs(com.renesys.raceway.DML.Configuration cfg,
com.renesys.raceway.DML.Configuration trafficCfg)
Method configLSPs Configure Mutliple LSPs |
void |
configMPLSSignalingInfo(com.renesys.raceway.DML.Configuration cfg)
Method configMPLSSignalingInfo Configure common information such as pathID, SetupTime, ReleaseTime, SchedulingType, Priority, Weight, RsourceColor |
void |
configOUNIParameters(com.renesys.raceway.DML.Configuration cfg)
Method configOUNIParameters Configure O-UNI parameters |
void |
configOUNIPath(com.renesys.raceway.DML.Configuration cfg)
Method configOUNIPath Optical Path with OUNI Configuration |
void |
configTrafficParameters(com.renesys.raceway.DML.Configuration cfg)
Method configTrafficParameters Configure the Traffic Parameters |
void |
configTunnelLSP(com.renesys.raceway.DML.Configuration cfg)
Method configTunnelLSP Tunnel LSP Configuration TrafficParameter and ExplicitRouting information |
void |
copyMPLSSignalingInfo(MPLSSignalingInfo newInfo)
Method copyMPLSSignalingInfo Copy Signaling information |
int |
getLSRIPAddr()
Method getLSRIPAddr Get LSR IP address |
boolean |
isEgressLSR()
Method isEgressLSR Check whether this node Egress LSR or not |
void |
print()
Method print Print the Signaling Information |
| Methods inherited from class SSF.OS.ProtocolMessage |
bytecount, carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, header_bytecount, payload, previous, size, tobytes, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Net net
public int SignalingProtocolType
public short MessageType
public int StatusCode
public int ingressLSRID
public int localLSPID
public int LabelRequestMessageID
public int LabelValue
public java.lang.String SchedulingType
public int Priority
public double Weight
public int ResourceColor
public double AvailableExcessBandwidth
public TrafficParameters trafficParameters
public boolean isTunnelSetting
public TunnelLSPInformation tunnelLSPInformation
public FECInformation fecInformation
public boolean isTEPath
public boolean isBackupPath
public java.lang.String IngressNodeID
public java.lang.String EgressNodeID
public boolean isLooseRouting
public ExplicitRoutingInformation explicitRoutingInformation
public boolean isOUNIMessage
public java.lang.String SrcTransportNetworkID
public int SrcTransportNetworkAddr
public int SrcInterfaceID
public java.lang.String DestTransportNetworkID
public int DestTransportNetworkAddr
public int DestInterfaceID
public long ConnectionID
public OUNIConnection connection
public boolean isMultiCast
public int SourceIPAddr
public int GroupIPAddr
public int ReleaseType
public int errorCode
public java.lang.String errorStr
public java.lang.String errorNodeID
public int errorInterfaceID
public int errorLabelValue
public double errorDetectedTime
public int activeIngressLSRID
public int activeLocalLSPID
public double Resource
public boolean ResourceConfirm
public java.lang.String pathID
public java.lang.String ProtectedPathID
public java.util.Vector ProtectedPathIDList
public double startTime
public double releaseTime
public int DiffServFlowID
public DiffServPacketScheduler diffservscheduler
public int inLabel
public int outLabel
public int outInterfaceID
public int inInterfaceID
public S_CRLDP ingressCRLDP
public int LSRType
public static final int IngressLSR
public static final int CoreLSR
public static final int EgressLSR
| Constructor Detail |
public MPLSSignalingInfo()
public MPLSSignalingInfo(Net netinfo)
netinfo - | Method Detail |
public void configMPLSSignalingInfo(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg -
com.renesys.raceway.DML.configException
public void configTrafficParameters(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg -
com.renesys.raceway.DML.configException
public void configFECInformation(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg -
com.renesys.raceway.DML.configException
public void configExplicitRoutingInformation(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg -
com.renesys.raceway.DML.configException
public void configLSP(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg - - XXX
com.renesys.raceway.DML.configException
public void configLSPs(com.renesys.raceway.DML.Configuration cfg,
com.renesys.raceway.DML.Configuration trafficCfg)
throws com.renesys.raceway.DML.configException
cfg - - XXXtrafficCfg - - XXX
com.renesys.raceway.DML.configException
public void configTunnelLSP(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg - - XXX
com.renesys.raceway.DML.configException
public void configBackUpLSP(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg -
com.renesys.raceway.DML.configException
public void configBackupLSPs(com.renesys.raceway.DML.Configuration cfg,
com.renesys.raceway.DML.Configuration trafficCfg)
throws com.renesys.raceway.DML.configException
cfg - - XXXtrafficCfg - - XXX
com.renesys.raceway.DML.configException
public void configLSPForDiffServ(com.renesys.raceway.DML.Configuration cfg,
int diffservflowid)
throws com.renesys.raceway.DML.configException
cfg - diffservflowid -
com.renesys.raceway.DML.configException
public void configOUNIPath(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg - - XXX
com.renesys.raceway.DML.configException
public void configOUNIParameters(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg - - XXX
com.renesys.raceway.DML.configExceptionpublic boolean isEgressLSR()
public int getLSRIPAddr()
public void copyMPLSSignalingInfo(MPLSSignalingInfo newInfo)
newInfo - - Created new Signaling informationpublic void print()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||