diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-04-16 17:50:55 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-04-26 09:56:50 +1200 |
commit | 429c39890e3242c6a502037673943b38452c5811 (patch) | |
tree | 1ecb67979bcb664996e6f1e1a0146b59567e8a0a /api-ref/source/parameters.yaml | |
parent | a4057b10af44e7f21243e539dd2daad2ad61657b (diff) | |
download | trove-429c39890e3242c6a502037673943b38452c5811.tar.gz |
Support ip address type for instances
Include address type in getting instance response.
* Deprecate confip option network_label_regex as we don't reply on Nova
to get addresses, network names don't make any sense.
* Add 'addresses' in instance API response, keep 'ip' as is but mark
it deprecated in API doc, python-troveclient shouldn't break.
Story: 2007562
Task: 39445
Change-Id: Ia0458b5ddae8959ce29c17e444e1a51a026283cd
Diffstat (limited to 'api-ref/source/parameters.yaml')
-rwxr-xr-x | api-ref/source/parameters.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 61062839..c6279686 100755 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -419,10 +419,16 @@ instance_hostname: type: string instance_ip_address: description: | - The IP address of an instance. + The IP address of an instance(deprecated). in: body require: false type: string +instance_ip_addresses: + description: | + The IP addresses of an instance, including the address type and IP. + in: body + require: false + type: array instance_link_href: description: | The ``href`` attribute of an instance link. |