Package org.netxms.client.topology
Class VlanInfo
java.lang.Object
org.netxms.client.topology.VlanInfo
Contains information about VLAN
-
Constructor Summary
ConstructorDescriptionVlanInfo
(NXCPMessage msg, long baseId) Create VLAN information object from NXCP message -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsPort
(int chassis, int module, int pic, int port) Check if given port is within VLANgetName()
long
Port[]
getPorts()
int
-
Constructor Details
-
VlanInfo
Create VLAN information object from NXCP message- Parameters:
msg
- NXCP messagebaseId
- base variable id
-
-
Method Details
-
getNextFieldId
public long getNextFieldId()- Returns:
- the nextFieldId
-
getVlanId
public int getVlanId()- Returns:
- the vlanId
-
getName
- Returns:
- the name
-
getPorts
- Returns:
- the ports
-
containsPort
public boolean containsPort(int chassis, int module, int pic, int port) Check if given port is within VLAN- Parameters:
chassis
- chassismodule
- modulepic
- picport
- port- Returns:
- if given port is within VLAN
-