be.ac.ulg.montefiore.run.totem.domain.model
Interface Lsp

All Superinterfaces:
DomainElement

public interface Lsp
extends DomainElement

A Label Switched Path in a Domain

Creation date: 19-Jan-2005 15:47:36

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

Field Summary
static int BYPASS_BACKUP_TYPE
           
static int DETOUR_E2E_BACKUP_TYPE
           
static int DETOUR_LOCAL_BACKUP_TYPE
           
 
Method Summary
 void addBackupLsp(Lsp lsp)
          Add a lsp in the list of backup lsps of this primary lsp.
 java.util.Set<Lsp> getBackups()
          returns a set of the backups lsps
 int getBackupType()
           
 int getCT()
           
 int getHoldingPreemption()
           
 Path getLspPath()
           
 float getMaxRate()
           
 float getMetric()
           
 java.util.List<Link> getProtectedLinks()
           
 Lsp getProtectedLsp()
           
 float getReservation()
           
 int getSetupPreemption()
           
 void init(Domain domain)
           
 boolean isBackupLsp()
           
 void removeBackupLsp(Lsp lsp)
          Removes a LSP for the list of backups
 void setLspPath(Path path)
           
 void setReservation(float bw)
           
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainElement
getId
 

Field Detail

DETOUR_E2E_BACKUP_TYPE

static final int DETOUR_E2E_BACKUP_TYPE
See Also:
Constant Field Values

DETOUR_LOCAL_BACKUP_TYPE

static final int DETOUR_LOCAL_BACKUP_TYPE
See Also:
Constant Field Values

BYPASS_BACKUP_TYPE

static final int BYPASS_BACKUP_TYPE
See Also:
Constant Field Values
Method Detail

init

void init(Domain domain)
          throws InvalidPathException,
                 DiffServConfigurationException
Parameters:
domain -
Throws:
InvalidPathException - If the LSP has invalid path.
DiffServConfigurationException

getMetric

float getMetric()

getMaxRate

float getMaxRate()

getReservation

float getReservation()

setReservation

void setReservation(float bw)
                    throws LinkCapacityExceededException
Throws:
LinkCapacityExceededException

getLspPath

Path getLspPath()

setLspPath

void setLspPath(Path path)

getCT

int getCT()

getHoldingPreemption

int getHoldingPreemption()

getSetupPreemption

int getSetupPreemption()

isBackupLsp

boolean isBackupLsp()

getBackupType

int getBackupType()

getProtectedLsp

Lsp getProtectedLsp()
                    throws LspNotFoundException
Throws:
LspNotFoundException

getProtectedLinks

java.util.List<Link> getProtectedLinks()
                                       throws LinkNotFoundException
Throws:
LinkNotFoundException

addBackupLsp

void addBackupLsp(Lsp lsp)
Add a lsp in the list of backup lsps of this primary lsp.


removeBackupLsp

void removeBackupLsp(Lsp lsp)
                     throws LspNotFoundException
Removes a LSP for the list of backups

Parameters:
lsp -
Throws:
LspNotFoundException

getBackups

java.util.Set<Lsp> getBackups()
returns a set of the backups lsps

Returns:


Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.