Class DomainId


  • public class DomainId
    extends org.onlab.util.Identifier<java.lang.String>
    Representation of a domain identity.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DomainId LOCAL
      Represents the domain directly managed by ONOS.
      • Fields inherited from class org.onlab.util.Identifier

        identifier
    • Constructor Summary

      Constructors 
      Constructor Description
      DomainId​(java.lang.String identifier)
      Constructor of the peer id.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DomainId domainId​(java.lang.String identifier)
      Creates a peer id from the string identifier.
      • Methods inherited from class org.onlab.util.Identifier

        equals, hashCode, id, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LOCAL

        public static final DomainId LOCAL
        Represents the domain directly managed by ONOS.
    • Constructor Detail

      • DomainId

        public DomainId​(java.lang.String identifier)
        Constructor of the peer id.
        Parameters:
        identifier - of the peer
    • Method Detail

      • domainId

        public static DomainId domainId​(java.lang.String identifier)
        Creates a peer id from the string identifier.
        Parameters:
        identifier - string identifier
        Returns:
        instance of the class DomainId