Skip to content

Commit

Permalink
release v5.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklaus-xie committed Oct 30, 2020
1 parent b864310 commit 0d3c093
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions docs/RELEASE-NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@
Release Notes for F5 Openstack Agent
====================================

v5.0.5
------

Added Functionality
```````````````````
* Add priority group.

Bug Fixes
`````````

Limitations
```````````

v5.0.4
------

Expand Down
2 changes: 1 addition & 1 deletion f5_openstack_agent/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.4"
__version__ = "5.0.5"
4 changes: 4 additions & 0 deletions f5_openstack_agent/lbaasv2/drivers/bigip/service_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,10 @@ def _map_pool(self, loadbalancer, lbaas_pool, lbaas_hm, lbaas_members):

if lbaas_pool.get('priority_group_least_member'):
LOG.info('setting to priority_group_least_member')
LOG.info(lbaas_pool.get('priority_group_least_member'))
pool['minActiveMembers'] = lbaas_pool['priority_group_least_member']
else:
LOG.info('setting to priority_group_least_member 0')
pool['minActiveMembers'] = 0

if "lb_algorithm" in lbaas_pool:
Expand Down Expand Up @@ -678,8 +680,10 @@ def _map_member(self, loadbalancer, lbaas_member):
LOG.info(lbaas_member)
if lbaas_member.get('priority'):
LOG.info('setting to priority')
LOG.info(lbaas_member.get('priority'))
member['priorityGroup'] = lbaas_member['priority']
else:
LOG.info('setting to priority 0')
member['priorityGroup'] = 0
return member

Expand Down

0 comments on commit 0d3c093

Please sign in to comment.