public class DefaultVxlanInfo extends Object implements VxlanInfo
VxlanInfo
. Information is discovered
from the device and not configurable.Constructor and Description |
---|
DefaultVxlanInfo(BigPortNumber tunnelIndex)
Constructs an Vxlan Info object.
|
Modifier and Type | Method and Description |
---|---|
BigPortNumber |
index()
Returns the tunnel interface index of this tunnel.
|
DefaultVxlanInfo |
index(BigPortNumber index)
Modify the element tunnelIndex
|
IpAddress |
localAddress()
Returns the local VTEP address.
|
DefaultVxlanInfo |
localIp(IpAddress localIp)
Modify the element localIP
|
IpAddress |
remoteAddress()
Returns the remote VTEP address.
|
DefaultVxlanInfo |
remoteIp(IpAddress remoteIp)
Modify the element remoteIP
|
String |
toDebugString()
Provides a little more detailed information about this object.
|
String |
toString() |
Set<Vni> |
vnis()
Returns the set of VNIs with which this tunnel has been associated.
|
DefaultVxlanInfo |
vnis(Set<Vni> vnis)
Modify the element tunnel Vnis
|
public DefaultVxlanInfo(BigPortNumber tunnelIndex)
tunnelIndex
- tunnel indexpublic BigPortNumber index()
VxlanInfo
public Set<Vni> vnis()
VxlanInfo
public IpAddress localAddress()
VxlanInfo
localAddress
in interface VxlanInfo
public IpAddress remoteAddress()
VxlanInfo
remoteAddress
in interface VxlanInfo
public DefaultVxlanInfo index(BigPortNumber index)
index
- tunnel Index to be setpublic DefaultVxlanInfo localIp(IpAddress localIp)
localIp
- tunnel source Ip to be setpublic DefaultVxlanInfo remoteIp(IpAddress remoteIp)
remoteIp
- tunnel remote Ip to be setpublic DefaultVxlanInfo vnis(Set<Vni> vnis)
vnis
- tunnel Vnis to be setpublic String toDebugString()
Copyright © 2015. All Rights Reserved.