Merge "Fix some docstrings for octavia resources"

This commit is contained in:
Zuul 2018-02-07 06:03:55 +00:00 committed by Gerrit Code Review
commit fd41f34d95
2 changed files with 3 additions and 5 deletions

View File

@ -73,8 +73,7 @@ class Listener(octavia_base.OctaviaBase):
),
DEFAULT_POOL: properties.Schema(
properties.Schema.STRING,
_('ID or name of the default pool for the listener. Requires '
'shared_pools service extension.'),
_('ID or name of the default pool for the listener.'),
update_allowed=True,
constraints=[
constraints.CustomConstraint('octavia.pool')

View File

@ -23,7 +23,7 @@ from heat.engine import translation
class Pool(octavia_base.OctaviaBase):
"""A resource for managing Octavia Pools.
This resources manages octavia LBaaS v2 Pools, which represent a group
This resources manages octavia LBaaS Pools, which represent a group
of nodes. Pools define the subnet where nodes reside, balancing algorithm,
and the nodes themselves.
"""
@ -111,8 +111,7 @@ class Pool(octavia_base.OctaviaBase):
),
LOADBALANCER: properties.Schema(
properties.Schema.STRING,
_('Loadbalancer name or ID to be associated with this pool. '
'Requires shared_pools service extension.'),
_('Loadbalancer name or ID to be associated with this pool.'),
constraints=[
constraints.CustomConstraint('octavia.loadbalancer')
],