Provide API support for External tunnels
[genius.git] / itm / itm-impl / src / test / java / org / opendaylight / genius / itm / tests / xtend / ExpectedDcGatewayIpObjects.xtend
1 /*
2  * Copyright (c) 2019 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.dc.gateway.ip.list.DcGatewayIpBuilder;
13
14 import static extension org.opendaylight.mdsal.binding.testutils.XtendBuilderExtensions.operator_doubleGreaterThan
15
16 class ExpectedDcGatewayIp {
17
18     static def newDcGatewayIpForRpcTest() {
19         new DcGatewayIpBuilder >> [
20               ipAddress = ItmTestConstants.IP_ADDRESS_3
21               tunnnelType = ItmTestConstants.TUNNEL_TYPE_VXLAN
22         ]
23     }
24 }