import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.constraints.co.routing.or.general.general.Latency;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.routing.constraints.HardConstraints;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.routing.constraints.SoftConstraints;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.constraints.co.routing.or.general.general.Latency;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.routing.constraints.HardConstraints;
import org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.routing.constraints.SoftConstraints;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.ConstraintsSp;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.co.routing.CoRoutingBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.DiversityBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.ExcludeBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.IncludeBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.constraints.sp.co.routing.or.general.general.LatencyBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.diversity.existing.service.contraints.sp.ExistingServiceApplicabilityBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing.constraints.sp.HardConstraintsBuilder;
-import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing.constraints.sp.SoftConstraintsBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.ConstraintsSp;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp.co.routing.or.general.co.routing.CoRoutingBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp.co.routing.or.general.general.DiversityBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp.co.routing.or.general.general.ExcludeBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp.co.routing.or.general.general.IncludeBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp.co.routing.or.general.general.LatencyBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.diversity.existing.service.contraints.sp.ExistingServiceApplicabilityBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing.constraints.sp.HardConstraintsBuilder;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing.constraints.sp.SoftConstraintsBuilder;
private static final Logger LOG = LoggerFactory.getLogger(MappingConstraints.class);
private HardConstraints serviceHardConstraints;
private SoftConstraints serviceSoftConstraints;
private static final Logger LOG = LoggerFactory.getLogger(MappingConstraints.class);
private HardConstraints serviceHardConstraints;
private SoftConstraints serviceSoftConstraints;
- private org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
- .routing.constraints.rev171017.routing.constraints.sp.HardConstraints servicePathHardConstraints;
- private org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
- .routing.constraints.rev171017.routing.constraints.sp.SoftConstraints servicePathSoftConstraints;
+ private org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
+ .constraints.sp.HardConstraints servicePathHardConstraints;
+ private org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
+ .constraints.sp.SoftConstraints servicePathSoftConstraints;
- public MappingConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
- .routing.constraints.rev171017.routing.constraints.sp.HardConstraints hard,
- org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
- .routing.constraints.rev171017.routing.constraints.sp.SoftConstraints soft) {
+ public MappingConstraints(
+ org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
+ .constraints.sp.HardConstraints hard,
+ org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
+ .constraints.sp.SoftConstraints soft) {
*/
private void updateConstraintBuilders4Corouting(HardConstraintsBuilder hardConstraintsBuilder,
SoftConstraintsBuilder softConstraintsBuilder, Constraints constraints) {
*/
private void updateConstraintBuilders4Corouting(HardConstraintsBuilder hardConstraintsBuilder,
SoftConstraintsBuilder softConstraintsBuilder, Constraints constraints) {
- org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017
- .constraints.sp.co.routing.or.general.CoRoutingBuilder finalCoRouting =
- new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017
+ org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp
+ .co.routing.or.general.CoRoutingBuilder finalCoRouting =
+ new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118
.constraints.sp.co.routing.or.general.CoRoutingBuilder();
CoRouting tmpCoRouting = (CoRouting)constraints.getCoRoutingOrGeneral();
if (tmpCoRouting != null) {
.constraints.sp.co.routing.or.general.CoRoutingBuilder();
CoRouting tmpCoRouting = (CoRouting)constraints.getCoRoutingOrGeneral();
if (tmpCoRouting != null) {
- org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329
- .constraints.co.routing.or.general.co.routing.CoRouting tmpCoRoutingCoRouting =
- tmpCoRouting.getCoRouting();
+ org.opendaylight.yang.gen.v1.http.org.openroadm.routing.constrains.rev190329.constraints.co.routing.or
+ .general.co.routing.CoRouting tmpCoRoutingCoRouting = tmpCoRouting.getCoRouting();
- finalCoRouting.setCoRouting(
- new CoRoutingBuilder()
- .setExistingService(tmpCoRoutingCoRouting.getExistingService())
- .build());
+ finalCoRouting.setCoRouting(new CoRoutingBuilder()
+ .setExistingService(tmpCoRoutingCoRouting.getExistingService())
+ .build());
*/
private void updateConstraintBuilders4General(HardConstraintsBuilder hardConstraintsBuilder,
SoftConstraintsBuilder softConstraintsBuilder, Constraints constraints) {
*/
private void updateConstraintBuilders4General(HardConstraintsBuilder hardConstraintsBuilder,
SoftConstraintsBuilder softConstraintsBuilder, Constraints constraints) {
- org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017
- .constraints.sp.co.routing.or.general.GeneralBuilder finalGeneral =
- new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017
+ org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.constraints.sp
+ .co.routing.or.general.GeneralBuilder finalGeneral =
+ new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118
.constraints.sp.co.routing.or.general.GeneralBuilder();
General tmpGeneral = (General) constraints.getCoRoutingOrGeneral();
if (tmpGeneral != null) {
.constraints.sp.co.routing.or.general.GeneralBuilder();
General tmpGeneral = (General) constraints.getCoRoutingOrGeneral();
if (tmpGeneral != null) {
public void serviceToServicePathConstarints() {
LOG.info("Mapping Service Constraints to ServicePath Constraints");
if (serviceHardConstraints != null) {
public void serviceToServicePathConstarints() {
LOG.info("Mapping Service Constraints to ServicePath Constraints");
if (serviceHardConstraints != null) {
- org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
- .rev171017.routing.constraints.sp.HardConstraints tempHard = (org.opendaylight.yang.gen
- .v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing
+ org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
+ .constraints.sp.HardConstraints tempHard =
+ (org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
.constraints.sp.HardConstraints) getConstraints(serviceHardConstraints);
if (tempHard != null) {
servicePathHardConstraints = tempHard;
}
} else if (serviceSoftConstraints != null) {
.constraints.sp.HardConstraints) getConstraints(serviceHardConstraints);
if (tempHard != null) {
servicePathHardConstraints = tempHard;
}
} else if (serviceSoftConstraints != null) {
- org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints
- .rev171017.routing.constraints.sp.SoftConstraints tempSoft = (org.opendaylight.yang.gen
- .v1.http.org.transportpce.b.c._interface.routing.constraints.rev171017.routing
+ org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
+ .constraints.sp.SoftConstraints tempSoft =
+ (org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.routing.constraints.rev220118.routing
.constraints.sp.SoftConstraints) getConstraints(serviceSoftConstraints);
if (tempSoft != null) {
servicePathSoftConstraints = tempSoft;
.constraints.sp.SoftConstraints) getConstraints(serviceSoftConstraints);
if (tempSoft != null) {
servicePathSoftConstraints = tempSoft;
return servicePathHardConstraints;
}
public void setServicePathHardConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
return servicePathHardConstraints;
}
public void setServicePathHardConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
this.servicePathHardConstraints = servicePathHardConstraints;
}
public org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
this.servicePathHardConstraints = servicePathHardConstraints;
}
public org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
return servicePathSoftConstraints;
}
public void setServicePathSoftConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface
return servicePathSoftConstraints;
}
public void setServicePathSoftConstraints(org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface