Class TenantId


  • public final class TenantId
    extends org.onlab.util.Identifier<String>
    Representation of network tenant.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TenantId NONE
      Represents no tenant, or an unspecified tenant.
      • Fields inherited from class org.onlab.util.Identifier

        identifier
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TenantId()  
    • Field Detail

      • NONE

        public static final TenantId NONE
        Represents no tenant, or an unspecified tenant.
    • Constructor Detail

      • TenantId

        protected TenantId()
    • Method Detail

      • tenantId

        public static TenantId tenantId​(String id)
        Creates a tenant id using the supplied backing id.
        Parameters:
        id - network id
        Returns:
        network identifier