Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added priority attribute for pool members (bigip_pool_member module) #23128

Merged
merged 5 commits into from
Aug 1, 2017
Merged

Added priority attribute for pool members (bigip_pool_member module) #23128

merged 5 commits into from
Aug 1, 2017

Conversation

ossark
Copy link
Contributor

@ossark ossark commented Mar 30, 2017

SUMMARY

Added the ability to specify priority for pool members.

ISSUE TYPE

Feature pull request

COMPONENT NAME

bigip_pool_member

ANSIBLE VERSION
ansible 2.4.0 (bigip_pool_member_prioritygroup 7054e453e3) last updated 2017/03/30 14:35:41 (GMT +200)
  python version = 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]

@ansibot
Copy link
Contributor

ansibot commented Mar 30, 2017

The test ansible-test sanity --test pep8 failed with the following error:

lib/ansible/modules/network/f5/bigip_pool_member.py:333:1: E302 expected 2 blank lines, found 1

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Mar 30, 2017

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 ci_verified Changes made in this PR are causing tests to fail. feature_pull_request module This issue/PR relates to a module. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. needs_triage Needs a first human triage before being processed. networking Network category labels Mar 30, 2017
@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed ci_verified Changes made in this PR are causing tests to fail. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Mar 30, 2017
@nitzmahone nitzmahone removed the needs_triage Needs a first human triage before being processed. label Mar 31, 2017
@caphrim007
Copy link
Contributor

@ossark if you'll be a champ and rename that priority variable to priority_group, then I'd be happy to approve.

Also, in the future, you can file issues at this repo for the F5 modules

https://github.com/F5Networks/f5-ansible

We upstream those modules and changes to those modules during each Ansible release cycle.

@caphrim007
Copy link
Contributor

@gundalow shipit

This does not need to be cherry picked.

@@ -384,7 +402,8 @@ def main():
description=dict(type='str'),
rate_limit=dict(type='int'),
ratio=dict(type='int'),
preserve_node=dict(type='bool', default=False)
preserve_node=dict(type='bool', default=False),
priority_group=dict(type='int')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thus needs adding to the DOCUMENTION block code a the top of the file, just below where preserves node is documented.

This PR will be released in Ansible 2.4, so please add version_added:"2.4"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ossark Could you please address this then we can get this merged. Thanks for your fixes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ossark Thanks for the PR, just one change then I can get this merged. Thanks :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated as requested.

@gundalow gundalow added this to the 2.4.0 milestone Apr 6, 2017
@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. and removed community_review In order to be merged, this PR must follow the community review workflow. labels Apr 6, 2017
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jun 6, 2017
@ansibot ansibot added stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:community This issue/PR relates to code supported by the Ansible community. labels Jun 23, 2017
@ansibot ansibot added support:core This issue/PR relates to code supported by the Ansible Engineering Team. and removed module This issue/PR relates to a module. labels Jul 6, 2017
@ansibot
Copy link
Contributor

ansibot commented Jul 18, 2017

cc @mhite
click here for bot help

@ansibot ansibot added the module This issue/PR relates to a module. label Jul 18, 2017
@ossark
Copy link
Contributor Author

ossark commented Jul 19, 2017 via email

@caphrim007
Copy link
Contributor

@ossark fyi after this PR goes in, future PR's for F5 "stuff" usually start over here

https://github.com/F5Networks/f5-ansible

There's still time to get this in before 2.4 is released.

@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jul 20, 2017
@ansibot ansibot added stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. stale_review Updates were made after the last review and the last review is more than 7 days old. labels Jul 28, 2017
@gundalow
Copy link
Contributor

closing & reopening totrigger CI

@gundalow gundalow closed this Jul 31, 2017
@gundalow gundalow reopened this Jul 31, 2017
@ansibot ansibot added stale_review Updates were made after the last review and the last review is more than 7 days old. and removed stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. stale_review Updates were made after the last review and the last review is more than 7 days old. labels Jul 31, 2017
@gundalow gundalow merged commit 3290c2f into ansible:devel Aug 1, 2017
@gundalow
Copy link
Contributor

gundalow commented Aug 1, 2017

Thanks. Merged into devel, this will be released in 2.4.0

schunduri pushed a commit to schunduri/ansible that referenced this pull request Aug 4, 2017
…nsible#23128)

* Added priority attribute for pool members (bigip_pool_member module)

* Line break missing

* Change from 'priority' to 'priority_group'

* Update bigip_pool_member.py

* Update bigip_pool_member.py
@dagwieers dagwieers added the f5 label Sep 27, 2017
@ansibot ansibot added feature This issue/PR relates to a feature request. and removed feature_pull_request labels Mar 4, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 f5 feature This issue/PR relates to a feature request. module This issue/PR relates to a module. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. networking Network category stale_review Updates were made after the last review and the last review is more than 7 days old. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants