package org.opendaylight.transportpce.pce.networkanalyzer;
import org.opendaylight.transportpce.common.ResponseCodes;
+import org.opendaylight.yang.gen.v1.http.org.openroadm.service.format.rev190531.ServiceFormat;
import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev171017.path.description.AToZDirection;
import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev171017.path.description.ZToADirection;
private String responseCode = ResponseCodes.RESPONSE_FAILED;
private long resultWavelength = -1;
private long rate = -1;
+ private ServiceFormat serviceFormat = ServiceFormat.OC;
public enum LocalCause {
NONE, TOO_HIGH_LATENCY, OUT_OF_SPEC_OSNR, NO_PATH_EXISTS, INT_PROBLEM, HD_NODE_INCLUDE;
this.rate = rate;
}
+ public ServiceFormat getServiceFormat() {
+ return serviceFormat;
+ }
+
+ public void setServiceFormat(ServiceFormat serviceFormat) {
+ this.serviceFormat = serviceFormat;
+ }
+
public LocalCause getLocalCause() {
return localCause;
}