diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-09-05 23:21:08 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-09-11 11:28:00 +1200 |
commit | c33fa6706678131e7625a605e2f1dd3a2b0cd362 (patch) | |
tree | 9e9e1749d9d476c3b9f9f5f656ca45e79b0e4f24 /trove/common/notification.py | |
parent | 3c09e6178a20b99b0c54346c8661a1a3f01cc4b6 (diff) | |
download | trove-c33fa6706678131e7625a605e2f1dd3a2b0cd362.tar.gz |
Support to create public trove instance
- The users need to specify the network to create Trove instance, but
trove-taskmanager will create port in that network for Nova instance
creation. Using port gives Trove more capabilities to define how the
database service is exposed.
- Deprecate ICMP protocol for the instance.
- Restrict 'nics' parameter for creating instance.
- Add 'access' parameter for creating instance.
- Add 'public_network_id' option in order to create floating IP for the
instance.
- Do not create records for security groups, but Trove can still delete
existing instances for backward compatibility.
- Delete unreasonable Host, Account, Storage API.
Story: 2006500
Task: 36468
Task: 36466
Change-Id: I80827e1ad5e6b130cbf94c2bb7a909c44d5cf1e5
Diffstat (limited to 'trove/common/notification.py')
-rw-r--r-- | trove/common/notification.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/common/notification.py b/trove/common/notification.py index 0ceddf83..843d6036 100644 --- a/trove/common/notification.py +++ b/trove/common/notification.py @@ -364,7 +364,7 @@ class DBaaSAPINotification(object): 'server_type': 'api', 'client_ip': request.remote_addr, 'server_ip': request.host, - 'tenant_id': context.tenant, + 'tenant_id': context.project_id, }) elif 'request_id' not in kwargs: raise TroveError(_("Notification %s must include 'request'" |