291a02186631cbad0b434a263e91a9b23ae2a710
[groupbasedpolicy.git] / renderers / vpp / src / main / java / org / opendaylight / groupbasedpolicy / renderer / vpp / lisp / InterfaceInfo.java
1 /*
2  * Copyright (c) 2017 Cisco Systems. 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.groupbasedpolicy.renderer.vpp.lisp;
9
10 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress;
11
12 /**
13  * Created by Shakib Ahmed on 6/23/17.
14  */
15 public class InterfaceInfo {
16     private String interfaceName;
17     private IpAddress interfaceIp;
18
19     public InterfaceInfo(String interfaceName, IpAddress interfaceIp) {
20         this.interfaceName = interfaceName;
21         this.interfaceIp = interfaceIp;
22     }
23
24     public String getInterfaceName() {
25         return interfaceName;
26     }
27
28     public IpAddress getInterfaceIp() {
29         return interfaceIp;
30     }
31 }