Interface PolicerConfigurable

    • Method Detail

      • allocatePolicerId

        PolicerId allocatePolicerId()
        Allocates a new policer id. There may not be any correspondence with the identifiers of the technology implementing the Policer in the device. Mapping (if necessary) is left to the specific implementation.
        Returns:
        the policer id or PolicerId.NONE if there is a failure
      • freePolicerId

        void freePolicerId​(PolicerId id)
        Free a policer id. There may not be any correspondence with the identifiers of the technology implementing the Policer in the device. Mapping (if necessary) is left to the specific implementation.
        Parameters:
        id - the policer id
      • addPolicer

        void addPolicer​(Policer policer)
      • deletePolicer

        void deletePolicer​(PolicerId id)
      • getPolicers

        java.util.Collection<Policer> getPolicers()