Merge "Implement VxLAN-GPE tunnels in Genius"
[genius.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / genius / mdsalutil / AbstractSwitchEntity.java
1 /*
2  * Copyright (c) 2016 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.genius.mdsalutil;
9
10 import java.math.BigInteger;
11
12 public class AbstractSwitchEntity {
13     private static final long serialVersionUID = 1L;
14
15     private BigInteger m_dpnId;
16
17     public AbstractSwitchEntity(BigInteger dpnId) {
18         m_dpnId = dpnId;
19     }
20
21     public BigInteger getDpnId() {
22         return m_dpnId;
23     }
24
25     public void setDpnId(BigInteger dpnId) {
26         m_dpnId = dpnId;
27     }
28
29 }