Class VlanInfo

java.lang.Object
org.netxms.client.topology.VlanInfo

public class VlanInfo extends Object
Contains information about VLAN
  • Constructor Details

    • VlanInfo

      public VlanInfo(NXCPMessage msg, long baseId)
      Create VLAN information object from NXCP message
      Parameters:
      msg - NXCP message
      baseId - base variable id
  • Method Details

    • getNextFieldId

      public long getNextFieldId()
      Returns:
      the nextFieldId
    • getVlanId

      public int getVlanId()
      Returns:
      the vlanId
    • getName

      public String getName()
      Returns:
      the name
    • getPorts

      public Port[] getPorts()
      Returns:
      the ports
    • containsPort

      public boolean containsPort(Port port)
      Check if given port is within VLAN (ports are matched by physical location).
      Parameters:
      port - port to check
      Returns:
      true if given port is within VLAN