Added device transaction log cli
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / events / PortEvent.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.ovsdb.hwvtepsouthbound.events;
9
10 import org.opendaylight.ovsdb.schema.hardwarevtep.PhysicalPort;
11 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
12
13 public class PortEvent {
14
15     private final PhysicalPort port;
16     private final NodeId nodeId;
17
18     public PortEvent(PhysicalPort port, NodeId nodeId) {
19         this.port = port;
20         this.nodeId = nodeId;
21     }
22
23     @Override
24     public String toString() {
25         return "PortEvent{" +
26                 "port=" + port +
27                 "nodeId=" + nodeId +
28                 '}';
29     }
30 }