
es.tid.vntm.LigthPathCreateIP Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network-emulator Show documentation
Show all versions of network-emulator Show documentation
Emulator of GMPLS-controlled transport Network
The newest version!
package es.tid.vntm;
import java.net.Inet4Address;
import java.util.LinkedList;
import java.util.concurrent.locks.ReentrantLock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.jgrapht.graph.SimpleDirectedWeightedGraph;
import es.tid.ospf.ospfv2.lsa.tlv.subtlv.MaximumBandwidth;
import es.tid.ospf.ospfv2.lsa.tlv.subtlv.MaximumReservableBandwidth;
import es.tid.ospf.ospfv2.lsa.tlv.subtlv.UnreservedBandwidth;
import es.tid.rsvp.objects.subobjects.EROSubobject;
import es.tid.rsvp.objects.subobjects.IPv4prefixEROSubobject;
import es.tid.tedb.DomainTEDB;
import es.tid.tedb.IntraDomainEdge;
import es.tid.tedb.MultiLayerTEDB;
import es.tid.tedb.TE_Information;
public class LigthPathCreateIP {
private DomainTEDB ted;
/**
* Variable usada para bloquear la lectura y escritura en la TEDB
*/
private ReentrantLock graphlock;
private int NumLigthPaths = 0;
private Logger log;
public LigthPathCreateIP(DomainTEDB tedb){
log = LoggerFactory.getLogger("PCCClient.log");
this.ted=(DomainTEDB)tedb;
graphlock = new ReentrantLock();
}
public boolean createLigthPath (LinkedList ERO){
SimpleDirectedWeightedGraph
© 2015 - 2025 Weber Informatics LLC | Privacy Policy