package org.opennaas.extensions.router.model.opticalSwitch;
import javax.xml.bind.annotation.XmlRootElement;
import org.opennaas.extensions.router.model.FCPort;
import org.opennaas.extensions.router.model.opticalSwitch.dwdm.proteus.cards.ProteusOpticalSwitchCard;
@XmlRootElement
public class FiberConnection {
/* These parameters don't have to be complete, it is enough if they contain */
/**
* A card with chassis and slot correctly setted up.
*/
ProteusOpticalSwitchCard srcCard = null;
/**
* A card with chassis and slot correctly setted up.
*/
ProteusOpticalSwitchCard dstCard = null;
/**
* A FCPort with portNumber correctly setted up.
*/
FCPort srcPort = null;
/**
* A FCPort with portNumber correctly setted up.
*/
FCPort dstPort = null;
/**
* A DWDMChannel with lambda correctly setted up.
*/
DWDMChannel srcDWDMFiberChannel;
/**
* A DWDMChannel with lambda correctly setted up.
*/
DWDMChannel dstDWDMFiberChannel;
public FiberConnection() {
}
public ProteusOpticalSwitchCard getSrcCard() {
return srcCard;
}
public void setSrcCard(ProteusOpticalSwitchCard srcCard) {
this.srcCard = srcCard;
}
public ProteusOpticalSwitchCard getDstCard() {
return dstCard;
}
public void setDstCard(ProteusOpticalSwitchCard dstCard) {
this.dstCard = dstCard;
}
public FCPort getSrcPort() {
return srcPort;
}
public void setSrcPort(FCPort srcPort) {
this.srcPort = srcPort;
}
public FCPort getDstPort() {
return dstPort;
}
public void setDstPort(FCPort dstPort) {
this.dstPort = dstPort;
}
public DWDMChannel getSrcFiberChannel() {
return srcDWDMFiberChannel;
}
public void setSrcFiberChannel(DWDMChannel srcFiberChannel) {
this.srcDWDMFiberChannel = srcFiberChannel;
}
public DWDMChannel getDstFiberChannel() {
return dstDWDMFiberChannel;
}
public void setDstFiberChannel(DWDMChannel dstFiberChannel) {
this.dstDWDMFiberChannel = dstFiberChannel;
}
}