public class DefaultVxlan extends Object implements Vxlan
Tunnel
.
The values are discovered from the device and none are configurable.Constructor and Description |
---|
DefaultVxlan(TunnelIndex index,
VxlanInfo info)
Constructor to combine index and info.
|
Modifier and Type | Method and Description |
---|---|
VxlanInfo |
getInfo() |
TunnelIndex |
index()
Returns the tunnel interface index of this tunnel.
|
IpAddress |
localAddress()
Returns the local VTEP address.
|
IpAddress |
remoteAddress()
Returns the remote VTEP address.
|
String |
toString() |
Set<Vni> |
vnis()
Returns the set of VNIs with which this tunnel has been associated.
|
public DefaultVxlan(TunnelIndex index, VxlanInfo info)
index
- tunnel indexinfo
- Vxlan info from devicepublic TunnelIndex index()
Vxlan
public IpAddress localAddress()
Vxlan
localAddress
in interface Vxlan
public IpAddress remoteAddress()
Vxlan
remoteAddress
in interface Vxlan
public Set<Vni> vnis()
Vxlan
public VxlanInfo getInfo()
Copyright © 2015. All Rights Reserved.