3.1.4.18 ValidateAddressSpace

The ValidateAddressSpace event captures the common validation rules for the AddressSpace instance. The rest of the section assumes the AddressSpace instance to be validated is passed as a parameter with the name Param_addressSpace.

The following validations MUST pass for the AddressSpace instance to be valid:

  1. Param_addressSpace.name is not NULL.

  2. Param_addressSpace.name is not a whitespace.

  3. Param_addressSpace.name is less than or equal to 1000.

  4. Param_addressSpace.description is not NULL and its length is less than or equal to 4000.

  5. Param_addressSpace.owner is not NULL and its length is less than or equal to 1000.

  6. Param_addressSpace.addressSpaceType is either IPAddressSpaceType.Provider or IPAddressSpaceType.Customer.

  7. Validate Param_addressSpace.CustomFieldValue with ValidateCustomFieldValues.