diff options
author | Artom Lifshitz <alifshit@redhat.com> | 2023-01-11 06:31:45 -0500 |
---|---|---|
committer | Artom Lifshitz <alifshit@redhat.com> | 2023-01-17 10:59:37 -0500 |
commit | 9980b9ad52a24998bc36fc191118a3d924b0a880 (patch) | |
tree | 766dcbc4381d5597c6f1ba84ce64ab6c3b5dfef0 /api-ref | |
parent | 8e3ffb851b3faa8144894a3299f84acd8eed38dc (diff) | |
download | nova-9980b9ad52a24998bc36fc191118a3d924b0a880.tar.gz |
Microversion 2.94: FQDN in hostname
Extend microversion 2.90 to allow FQDNs in the hostname parameter.
Multi-create with --hostname continues to be refused, returning error
400 to the user. This simplifies the code by not needing to handle any
sort of suffix or prefix mangling of the FQDN to handle multiple
instances. No other changes are made - not Neutron integration,
metadata API changes (the FQDN will appear as-is in places where the
hostname currently appears), etc.
Change-Id: I47e397dc6da8263762479cc8ae4f8777a6d9d811
Implements: bp/fqdn-in-hostname
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/parameters.yaml | 3 | ||||
-rw-r--r-- | api-ref/source/servers-actions.inc | 5 | ||||
-rw-r--r-- | api-ref/source/servers.inc | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index aba8185a4b..e185dce29d 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -6382,6 +6382,9 @@ server_hostname_req: description: | The hostname to configure for the instance in the metadata service. + Starting with microversion 2.94, this can be a Fully Qualified Domain Name + (FQDN) of up to 255 characters in length. + .. note:: This information is published via the metadata service and requires diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index 3b8b68d4ff..bb9953afa0 100644 --- a/api-ref/source/servers-actions.inc +++ b/api-ref/source/servers-actions.inc @@ -604,6 +604,11 @@ Request .. literalinclude:: ../../doc/api_samples/servers/v2.90/server-action-rebuild.json :language: javascript +**Example Rebuild Server (rebuild Action) (v2.94)** + +.. literalinclude:: ../../doc/api_samples/servers/v2.94/server-action-rebuild.json + :language: javascript + Response -------- diff --git a/api-ref/source/servers.inc b/api-ref/source/servers.inc index fa199e211c..e72d0641b9 100644 --- a/api-ref/source/servers.inc +++ b/api-ref/source/servers.inc @@ -448,6 +448,11 @@ Request .. literalinclude:: ../../doc/api_samples/servers/v2.90/server-create-req.json :language: javascript +**Example Create Server With FQDN in Hostname (v2.94)** + +.. literalinclude:: ../../doc/api_samples/servers/v2.94/server-create-req.json + :language: javascript + Response -------- |