compute: Add additional server create paramters

Change-Id: Icfb8cbefca8bd7e246137c7f1fae94b81148fe2e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-05-09 17:51:53 +01:00
parent 30d5753bcf
commit 09584eb960
1 changed files with 6 additions and 0 deletions

View File

@ -147,6 +147,8 @@ class Server(resource.Resource, metadata.MetadataMixin, tag.TagMixin):
#: A fault object. Only available when the server status
#: is ERROR or DELETED and a fault occurred.
fault = resource.Body('fault')
#: The host to boot the server on.
host = resource.Body('host')
#: The host status.
host_status = resource.Body('host_status')
#: The hostname set on the instance when it is booted.
@ -193,6 +195,10 @@ class Server(resource.Resource, metadata.MetadataMixin, tag.TagMixin):
#: networks parameter, the server attaches to the only network
#: created for the current tenant.
networks = resource.Body('networks')
#: Personality files. This should be a list of dicts with each dict
#: containing a file name ('name') and a base64-encoded file contents
#: ('contents')
personality = resource.Body('personality', type=list)
#: The availability zone requested during server creation OR pinned
#: availability zone, which is configured using default_schedule_zone
#: config option.