2 * Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
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
8 package org.opendaylight.netvirt.vpnmanager.populator.input;
10 import java.math.BigInteger;
11 import org.opendaylight.netvirt.fibmanager.api.RouteOrigin;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.vrfentries.VrfEntry;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.adjacency.list.Adjacency;
15 public class L3vpnInput {
17 private String primaryRd;
18 private Adjacency nextHop;
19 private String nextHopIp;
20 private String gatewayMac;
21 private String subnetGatewayMacAddress;
23 private String interfaceName;
24 private String vpnName;
25 private BigInteger dpnId;
26 private VrfEntry.EncapType encapType;
27 private RouteOrigin routeOrigin;
28 private String subnetIp;
31 private String networkName;
33 public String getRd() {
37 public String getPrimaryRd() {
41 public Adjacency getNextHop() {
45 public String getNextHopIp() {
49 public String getGatewayMac() {
53 public String getSubnetGatewayMacAddress() {
54 return subnetGatewayMacAddress;
57 public Long getL3vni() {
61 public String getInterfaceName() {
65 public String getVpnName() {
69 public BigInteger getDpnId() {
73 public VrfEntry.EncapType getEncapType() {
77 public RouteOrigin getRouteOrigin() {
81 public String getNetworkName() {
85 public Long getElanTag() {
89 public Long getLabel() {
93 public String getSubnetIp() {
97 public L3vpnInput setPrimaryRd(String primaryRd) {
98 this.primaryRd = primaryRd;
102 public L3vpnInput setRd(String rd) {
107 public L3vpnInput setNextHop(Adjacency nextHop) {
108 this.nextHop = nextHop;
112 public L3vpnInput setNextHopIp(String nextHopIp) {
113 this.nextHopIp = nextHopIp;
117 public L3vpnInput setGatewayMac(String gatewayMac) {
118 this.gatewayMac = gatewayMac;
122 public L3vpnInput setSubnetGatewayMacAddress(String subnetGatewayMacAddress) {
123 this.subnetGatewayMacAddress = subnetGatewayMacAddress;
127 public L3vpnInput setL3vni(Long l3vni) {
132 public L3vpnInput setInterfaceName(String interfaceName) {
133 this.interfaceName = interfaceName;
137 public L3vpnInput setVpnName(String vpnName) {
138 this.vpnName = vpnName;
142 public L3vpnInput setDpnId(BigInteger dpnId) {
147 public L3vpnInput setEncapType(VrfEntry.EncapType encapType) {
148 this.encapType = encapType;
152 public L3vpnInput setRouteOrigin(RouteOrigin routeOrigin) {
153 this.routeOrigin = routeOrigin;
157 public L3vpnInput setSubnetIp(String subnetIp) {
158 this.subnetIp = subnetIp;
162 public L3vpnInput setLabel(Long label) {
167 public L3vpnInput setElanTag(Long elanTag) {
168 this.elanTag = elanTag;
172 public L3vpnInput setNetworkName(String networkName) {
173 this.networkName = networkName;