BFD logging
[netvirt.git] / bgpmanager / impl / src / main / java / org / opendaylight / netvirt / bgpmanager / PeerUpEvent.java
1 /*
2  * Copyright © 2015, 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.bgpmanager;
9
10 public class PeerUpEvent {
11     private String ipAddress;
12     private Long asNumber;
13
14     public PeerUpEvent(String ipAddress,Long asNumber) {
15         this.ipAddress = ipAddress;
16         this.asNumber = asNumber;
17     }
18
19     @Override
20     public String toString() {
21         return "PeerUpEvent{"
22                 + "ipAddress='" + ipAddress + '\''
23                 + ", asNumber=" + asNumber
24                 + '}';
25     }
26 }