533f02ad14a8ec319f6f9efe8f14b86848b9b01b
[transportpce.git] / renderer / src / test / java / org / opendaylight / transportpce / renderer / utils / CreateOtsOmsDataUtils.java
1 /*
2  * Copyright © 2018 Orange Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.transportpce.renderer.utils;
10
11 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.device.rev170228.CreateOtsOmsInput;
12 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.renderer.device.rev170228.CreateOtsOmsInputBuilder;
13
14 public final class CreateOtsOmsDataUtils {
15
16     private CreateOtsOmsDataUtils() {
17
18     }
19
20     public static CreateOtsOmsInput buildCreateOtsOms() {
21         CreateOtsOmsInputBuilder builder = new CreateOtsOmsInputBuilder()
22             .setLogicalConnectionPoint("logical point")
23             .setNodeId("node 1");
24         return builder.build();
25     }
26 }