TSC-181: ITM Yang Models Cleanup
[genius.git] / itm / itm-impl / src / test / java / org / opendaylight / genius / itm / tests / xtend / ExpectedDeviceVtepsObjects.xtend
1 /*
2  * Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. 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.genius.itm.tests.xtend;
10
11 import org.opendaylight.genius.itm.tests.ItmTestConstants;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rev160406.transport.zones.transport.zone.DeviceVtepsBuilder;
13
14 import static extension org.opendaylight.mdsal.binding.testutils.XtendBuilderExtensions.operator_doubleGreaterThan
15
16 class ExpectedDeviceVtepsObjects {
17
18     static def newDeviceVtepsObject() {
19         new DeviceVtepsBuilder >> [
20             ipAddress = ItmTestConstants.IP_ADDRESS_3
21             nodeId = ItmTestConstants.SOURCE_DEVICE
22             topologyId = ItmTestConstants.DESTINATION_DEVICE
23         ]
24     }
25
26     static def newDeviceVtepsObject2() {
27         new DeviceVtepsBuilder >> [
28             ipAddress = ItmTestConstants.IP_ADDRESS_3
29             nodeId = ItmTestConstants.SOURCE_DEVICE_2
30             topologyId = ItmTestConstants.DESTINATION_DEVICE
31         ]
32     }
33 }