Bump odlparent->6.0.0,mdsal->5.0.3
[netvirt.git] / vpnmanager / impl / src / main / java / org / opendaylight / netvirt / vpnmanager / populator / input / L3vpnInput.java
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 package org.opendaylight.netvirt.vpnmanager.populator.input;
9
10 import org.opendaylight.netvirt.fibmanager.api.RouteOrigin;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.vrfentries.VrfEntry;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.adjacency.list.Adjacency;
13 import org.opendaylight.yangtools.yang.common.Uint64;
14
15 public class L3vpnInput {
16     private String rd;
17     private String primaryRd;
18     private Adjacency nextHop;
19     private String nextHopIp;
20     private String gatewayMac;
21     private String subnetGatewayMacAddress;
22     private Long l3vni;
23     private String interfaceName;
24     private String vpnName;
25     private Uint64 dpnId;
26     private VrfEntry.EncapType encapType;
27     private RouteOrigin routeOrigin;
28     private String subnetIp;
29     private Long label;
30     private Long elanTag;
31     private String networkName;
32
33     public String getRd() {
34         return rd;
35     }
36
37     public String getPrimaryRd() {
38         return primaryRd;
39     }
40
41     public Adjacency getNextHop() {
42         return nextHop;
43     }
44
45     public String getNextHopIp() {
46         return nextHopIp;
47     }
48
49     public String getGatewayMac() {
50         return gatewayMac;
51     }
52
53     public String getSubnetGatewayMacAddress() {
54         return subnetGatewayMacAddress;
55     }
56
57     public Long getL3vni() {
58         return l3vni;
59     }
60
61     public String getInterfaceName() {
62         return interfaceName;
63     }
64
65     public String getVpnName() {
66         return vpnName;
67     }
68
69     public Uint64 getDpnId() {
70         return dpnId;
71     }
72
73     public VrfEntry.EncapType getEncapType() {
74         return encapType;
75     }
76
77     public RouteOrigin getRouteOrigin() {
78         return routeOrigin;
79     }
80
81     public String getNetworkName() {
82         return networkName;
83     }
84
85     public Long getElanTag() {
86         return elanTag;
87     }
88
89     public Long getLabel() {
90         return label;
91     }
92
93     public String getSubnetIp() {
94         return subnetIp;
95     }
96
97     public L3vpnInput setPrimaryRd(String primaryRd) {
98         this.primaryRd = primaryRd;
99         return this;
100     }
101
102     public L3vpnInput setRd(String rd) {
103         this.rd = rd;
104         return this;
105     }
106
107     public L3vpnInput setNextHop(Adjacency nextHop) {
108         this.nextHop = nextHop;
109         return this;
110     }
111
112     public L3vpnInput setNextHopIp(String nextHopIp) {
113         this.nextHopIp = nextHopIp;
114         return this;
115     }
116
117     public L3vpnInput setGatewayMac(String gatewayMac) {
118         this.gatewayMac = gatewayMac;
119         return this;
120     }
121
122     public L3vpnInput setSubnetGatewayMacAddress(String subnetGatewayMacAddress) {
123         this.subnetGatewayMacAddress = subnetGatewayMacAddress;
124         return this;
125     }
126
127     public L3vpnInput setL3vni(Long l3vni) {
128         this.l3vni = l3vni;
129         return this;
130     }
131
132     public L3vpnInput setInterfaceName(String interfaceName) {
133         this.interfaceName = interfaceName;
134         return this;
135     }
136
137     public L3vpnInput setVpnName(String vpnName) {
138         this.vpnName = vpnName;
139         return this;
140     }
141
142     public L3vpnInput setDpnId(Uint64 dpnId) {
143         this.dpnId = dpnId;
144         return this;
145     }
146
147     public L3vpnInput setEncapType(VrfEntry.EncapType encapType) {
148         this.encapType = encapType;
149         return this;
150     }
151
152     public L3vpnInput setRouteOrigin(RouteOrigin routeOrigin) {
153         this.routeOrigin = routeOrigin;
154         return this;
155     }
156
157     public L3vpnInput setSubnetIp(String subnetIp) {
158         this.subnetIp = subnetIp;
159         return this;
160     }
161
162     public L3vpnInput setLabel(Long label) {
163         this.label = label;
164         return this;
165     }
166
167     public L3vpnInput setElanTag(Long elanTag) {
168         this.elanTag = elanTag;
169         return this;
170     }
171
172     public L3vpnInput setNetworkName(String networkName) {
173         this.networkName = networkName;
174         return this;
175     }
176 }