Class VlanInfo


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

      • VlanInfo

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

      • 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​(int chassis,
                                    int module,
                                    int pic,
                                    int port)
        Check if given port is within VLAN
        Parameters:
        chassis - chassis
        module - module
        pic - pic
        port - port
        Returns:
        if given port is within VLAN