8 Commits

Author SHA1 Message Date
Lingxian Kong
ca04c94ef6 Support instance operating_status
Added a new field ``operating_status`` for the instance to show the actual
operational status of user's database.

Change-Id: I7c52cff0ec48289fe1a260e99e02a506d4f8ddec
2020-12-09 14:17:16 +13:00
Lingxian Kong
19552632f8 [API Doc] Support datastore version number
Change-Id: Ia38f313a87067f664e11b3f61fb60b6ce584e930
Story: 2008358
Task: 41263
2020-11-19 19:13:05 +13:00
Lingxian Kong
bfa2392d16 Support to get instances of a specified project
This patch also fixes a performance issue when the adm user is getting
all the instances.

Change-Id: Icd6345d6c97648cdfbfaa8d9edac7315a1409356
2020-10-21 23:31:01 +00:00
Lingxian Kong
78d1a3760c [API doc] Add replica_of param for getting instance
Change-Id: I116655be2bbe9d31185608a947ee9f6ad1bc219c
2020-09-07 22:33:57 +12:00
Lingxian Kong
4de40cb514 Support to update instance access
Change-Id: I640cd8b50fd0e0f80a1a45399b8bfdac437ae2b9
2020-08-11 09:35:14 +12:00
Lingxian Kong
680a43002b Show instance access information
Change-Id: I8c0a7827624ea432edc765ba14e1f6a7228509c3
2020-08-11 08:30:49 +12:00
Lingxian Kong
429c39890e 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
2020-04-26 09:56:50 +12:00
Lingxian Kong
dacb400e0b Improve API doc
Change-Id: If48ef016c6fb7a875ceabc9f106e4cd85858d147
2019-12-24 22:15:09 +13:00