Issue 158: Added comment about hostname/domain constraints

This commit is contained in:
Jason King 2011-09-29 10:11:42 +01:00
parent 7d7b7df48c
commit dd189cf6f0
1 changed files with 11 additions and 0 deletions

View File

@ -31,6 +31,17 @@ import com.google.gson.annotations.SerializedName;
* interaction. <br/> * interaction. <br/>
* A guest, also known as a virtual server or CloudLayer Computing Instance, represents an * A guest, also known as a virtual server or CloudLayer Computing Instance, represents an
* allocation of resources on a virtual host. * allocation of resources on a virtual host.
*
* The hostname and domain must be alphanumeric strings that may be separated by periods '.'.
* The only other allowable special character is the dash '-'.
* However the special characters '.' and '-' may not be consecutive.
* Each alphanumeric string separated by a period is considered a label.
* Labels must begin and end with an alphanumeric character.
* Each label cannot be soley comprised of digits and must be between 1-63 characters in length.
* The last label, the TLD (top level domain) must be between 2-6 alphabetic characters.
* The domain portion must consist of least one label followed by a period '.' then ending with the TLD label.
* Combining the hostname, followed by a period '.', followed by the domain gives the FQDN (fully qualified domain name),
* which may not exceed 253 characters in total length.
* *
* @author Adrian Cole * @author Adrian Cole
* @see <a href= * @see <a href=