import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev200128.path.computation.request.input.ServiceZEnd;
import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev200128.path.computation.request.input.ServiceZEndBuilder;
import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev200128.service.path.rpc.result.PathDescription;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017.ServiceDeleteInputBuilder;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017.ServiceImplementationRequestInput;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017.ServiceImplementationRequestInputBuilder;
+import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520.ServiceDeleteInputBuilder;
+import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520.ServiceImplementationRequestInput;
+import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520.ServiceImplementationRequestInputBuilder;
import org.opendaylight.yang.gen.v1.http.org.openroadm.common.node.types.rev181130.NodeIdType;
import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev190531.configuration.response.common.ConfigurationResponseCommon;
import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev190531.configuration.response.common.ConfigurationResponseCommonBuilder;
public static ServiceImplementationRequestInput createServiceImplementationRequest(ServiceInput input,
PathDescription pathDescription) {
- org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.service.implementation.request.input.ServiceAEndBuilder serviceAEnd =
- new org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ new org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.service.implementation.request.input.ServiceAEndBuilder()
.setServiceFormat(input.getServiceAEnd().getServiceFormat())
.setServiceRate(input.getServiceAEnd().getServiceRate())
.setPort(input.getServiceAEnd().getRxDirection().getPort())
.build());
- org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.service.implementation.request.input.ServiceZEndBuilder serviceZEnd =
- new org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ new org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.service.implementation.request.input.ServiceZEndBuilder()
.setServiceFormat(input.getServiceZEnd().getServiceFormat())
.setServiceRate(input.getServiceZEnd().getServiceRate())
.setPort(input.getServiceZEnd().getRxDirection().getPort())
.build());
- org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.service.implementation.request.input.PathDescriptionBuilder pathDescBuilder =
- new org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ new org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.service.implementation.request.input.PathDescriptionBuilder()
.setAToZDirection(pathDescription.getAToZDirection())
.setZToADirection(pathDescription.getZToADirection());
.build();
}
- public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.ServiceDeleteInput createServiceDeleteInput(ServiceInput serviceInput) {
return new ServiceDeleteInputBuilder()
.setServiceName(serviceInput.getServiceName())
.build();
}
- public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.ServiceDeleteInput createServiceDeleteInput(ServiceRerouteInput serviceRerouteinput, Services services) {
return new ServiceDeleteInputBuilder()
.setServiceName(serviceRerouteinput.getServiceName())
.build();
}
- public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017
+ public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520
.ServiceDeleteInput createServiceDeleteInput(ServiceRestorationInput serviceRestorationInput,
Services services) {
return new ServiceDeleteInputBuilder()
.build();
}
- public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev171017.ServiceDeleteInput
+ public static org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.rev200520.ServiceDeleteInput
createServiceDeleteInput(ServiceReconfigureInput serviceReconfigureInput) {
return new ServiceDeleteInputBuilder()
.setServiceName(serviceReconfigureInput.getServiceName())