Disallow renaming of external hosts

EPP host spec section 3.2.5 requires that attempts to update hosts that are linked to different registrars must fail with error code 2305. This is complicated to do, as linked status is eventually consistent, and even more painful when checking links to those of different registrars.

This change forbids external-to-anything renames entirely.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150336754
This commit is contained in:
ctingue 2017-03-16 10:33:07 -07:00 committed by Ben McIlwain
parent e1c9395749
commit 443e260f91
23 changed files with 357 additions and 156 deletions

View file

@ -961,8 +961,6 @@ are enqueued to update DNS accordingly.
### Errors
* 2003
* Host rename from external to subordinate must also add an IP addresses.
* 2004
* The specified status value cannot be set by clients.
* Host names are limited to 253 characters.
@ -987,6 +985,7 @@ are enqueued to update DNS accordingly.
clear that status.
* Resource status prohibits this operation.
* Cannot remove all IP addresses from a subordinate host.
* Cannot rename an external host.
* 2306
* Cannot add and remove the same value.
* Host names must be at least two levels below the public suffix.