diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-06-09 11:09:22 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-06-10 22:41:35 +1200 |
commit | 535417240709694080255c064c9d84a5ab1d5372 (patch) | |
tree | 6fa52ed747e4fb83dc974a2627b344fd69c7a202 /api-ref | |
parent | b77f7b9fe764f519a7dbfd9026b15db320d4aebd (diff) | |
download | trove-535417240709694080255c064c9d84a5ab1d5372.tar.gz |
Support subnet and IP for instance creation
Support ``subnet_id`` and ``ip_address`` for creating instance. When
creating instance, trove will check the network conflicts between user's
network and the management network, additionally, the cloud admin is
able to define other reserved networks by configuring
``reserved_network_cidrs``.
Change-Id: Icc4eece2f265cb5a5c48c4f1024a9189d11b4687
Diffstat (limited to 'api-ref')
-rwxr-xr-x | api-ref/source/parameters.yaml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index b7835923..8dc1fd81 100755 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -624,11 +624,10 @@ name: type: string nics: description: | - Network interfaces for database service inside Nova instances. - ``NOTE:`` For backward compatibility, this parameter uses the same schema - as novaclient creating servers, but only ``net-id`` is supported and can - only be specified once. This parameter is required in service tenant - deployment model. + Network interface definition for database instance. This is a list of + mappings for backward compatibility, but only one item is allowed. The + allowed keys in the mapping are: network_id, subnet_id, ip_address and + net-id (for backward compatibility, deprecated). in: body required: false type: array |