2 * Copyright © 2015, 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.bgpmanager;
10 import org.opendaylight.netvirt.bgpmanager.thrift.gen.protocol_type;
12 public class PrefixWithdrawEvent {
13 private protocol_type protocolType;
15 private String prefix;
17 private String nexthop;
18 private String macaddress;
20 public PrefixWithdrawEvent(protocol_type protocolType, String rd, String prefix, int plen, String nextHop,
23 this.protocolType = protocolType;
27 this.nexthop = nextHop;
28 this.macaddress = macaddress;
33 public String toString() {
34 return "PrefixWithdrawEvent{"
35 + "protocolType=" + protocolType
36 + ", rd='" + rd + '\''
37 + ", prefix='" + prefix + '\''
39 + ", nexthop='" + nexthop + '\''
40 + ", macaddress='" + macaddress + '\''