Providers: propose changes to create pool API

Currently the driver data model for pool does not contain the
listener_id.
Unless we add it, there is no other way for the drivers to know which
listener was used since the DB session was not yet committed.
This patch suggests to add the listener_id to the object that the
driver receives.

Change-Id: If489f7bb956381bc5223556d118cb48571f0873f
This commit is contained in:
Adit Sarfaty 2018-06-11 15:36:49 +03:00
parent fe7f5da236
commit caf65353a1
2 changed files with 4 additions and 0 deletions

View File

@ -639,6 +639,8 @@ contain the following:
+-----------------------+--------+------------------------------------------+
| loadbalancer_id | string | ID of load balancer. |
+-----------------------+--------+------------------------------------------+
| listener_id | string | ID of listener. |
+-----------------------+--------+------------------------------------------+
| members | list | A list of `Member objects`_. |
+-----------------------+--------+------------------------------------------+
| name | string | Human-readable name of the pool. |

View File

@ -611,6 +611,8 @@ Pool
+-----------------------+--------+------------------------------------------+
| loadbalancer_id | string | ID of load balancer. |
+-----------------------+--------+------------------------------------------+
| listener_id | string | ID of listener. |
+-----------------------+--------+------------------------------------------+
| members | list | A list of `Member objects`_. |
+-----------------------+--------+------------------------------------------+
| name | string | Human-readable name of the pool. |