Constructor and Description |
---|
DefaultVlanInfo(VlanId vid)
Constructs a vlan Info object.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Returns the description assigned to the vlan.
|
Set<SubnetIp> |
ips()
Returns set of IP address and subnet mask pairs associated with the vlan.
|
String |
name()
Returns the name assigned to the vlan.
|
DefaultVlanInfo |
setDescription(String description)
Set the description assigned to the vlan.
|
DefaultVlanInfo |
setIps(Set<SubnetIp> ips)
Set IP address/subnet mask pairs.
|
DefaultVlanInfo |
setName(String name)
Set the name assigned to the vlan.
|
DefaultVlanInfo |
setTaggedPorts(Set<InterfaceId> taggedPorts)
Set tagged ports.
|
DefaultVlanInfo |
setUntaggedPorts(Set<InterfaceId> untaggedPorts)
Set untagged ports.
|
DefaultVlanInfo |
setVid(VlanId vid)
Set the vlan identifier.
|
Set<InterfaceId> |
taggedPorts()
Returns set of tagged ports associated with the vlan.
|
String |
toDebugString()
Provides a little more detailed information about this object.
|
String |
toString() |
Set<InterfaceId> |
untaggedPorts()
Returns set of untagged ports associated with the vlan.
|
VlanId |
vid()
Returns the vlan identifier.
|
public DefaultVlanInfo(VlanId vid)
vid
- vlan identifierpublic DefaultVlanInfo setVid(VlanId vid)
vid
- vlan identifier.public String name()
VlanInfo
public DefaultVlanInfo setName(String name)
name
- vlan name.public String description()
VlanInfo
description
in interface VlanInfo
public DefaultVlanInfo setDescription(String description)
description
- vlan description.public Set<InterfaceId> taggedPorts()
VlanInfo
taggedPorts
in interface VlanInfo
public DefaultVlanInfo setTaggedPorts(Set<InterfaceId> taggedPorts)
taggedPorts
- Set tagged port associated with the vlan.public Set<InterfaceId> untaggedPorts()
VlanInfo
untaggedPorts
in interface VlanInfo
public DefaultVlanInfo setUntaggedPorts(Set<InterfaceId> untaggedPorts)
untaggedPorts
- Set untagged port associated with the vlan.public Set<SubnetIp> ips()
VlanInfo
public DefaultVlanInfo setIps(Set<SubnetIp> ips)
ips
- Set of IP address/subnet mask pairs associated with the vlan.public String toDebugString()
Copyright © 2015. All Rights Reserved.