Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Modify F5 GTM Pool #554

Closed
wants to merge 2 commits into from
Closed

Modify F5 GTM Pool #554

wants to merge 2 commits into from

Conversation

perzizzle
Copy link

Supports adding/removing/enabling/disabling F5 GTM pools

@bcoca bcoca added the P3 label Jun 1, 2015
short_description: "Manages F5 BIG-IP GTM pools"
description:
- "Manages F5 BIG-IP GTM pools"
version_added: "1.9"
Copy link
Member

Choose a reason for hiding this comment

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

version should be 2.0

@gregdek
Copy link
Contributor

gregdek commented Jun 19, 2015

@perzizzle is this ready for re-review?

@perzizzle
Copy link
Author

@gregdek I believe I adddressed all of bcoca's concerns. It would be good for mhite to review if possible. He wrote the LTM modules which are very similar.

@gregdek
Copy link
Contributor

gregdek commented Jun 22, 2015

@mhite @srvg please review this F5 module as you have time?

@mhite
Copy link
Contributor

mhite commented Jun 25, 2015

Unfortunately I don't have GTM to smoke test this with. Can you solicit some testers on the mailing list?

bigsuds_found = True

def bigip_api(bigip, user, password):
api = bigsuds.BIGIP(hostname=bigip, username=user, password=password)
Copy link
Contributor

Choose a reason for hiding this comment

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

hostname=bigip => hostname=server

for consistency

@srgvg
Copy link
Contributor

srgvg commented Jul 3, 2015

So same here, not tested as no GTM gear, but an offline code review.

@gregdek
Copy link
Contributor

gregdek commented Jul 4, 2015

Hey @srvg -- have the necessary changes been made to satisfy review, or no?

@perzizzle
Copy link
Author

Playbook to validate functionality https://gist.github.com/perzizzle/5fd772bea18abf5da079 depends on an extra_vars.yml similar to https://gist.github.com/perzizzle/190195da598a0311ce6b run with ansible-playbook main_virtual_server.yml --extra-vars=@extra_vars.yml -vv

@gregdek
Copy link
Contributor

gregdek commented Aug 31, 2015

@caphrim007 Please review this PR to make sure it adheres to the following guidelines:

http://docs.ansible.com/developing_modules.html#module-checklist

If it passes these guidelines, and if you believe it’s a good PR otherwise, please add a comment with "shipit" in the text, and we will flag it for inclusion.

If it fails these guidelines, please add a comment with "needs_revision" in the text, along with the needed changes, and we will flag it for revision.

@caphrim007
Copy link
Contributor

@perzizzle in the example playbook you provided, it uses a module called bigip_gtm_facts. Is that in a separate PR? Or something local to your dev environment? I dont see it in the devel branch

@perzizzle
Copy link
Author

It's another module I wrote that I haven't put in pull request for yet. It still has specifics to my environment and needs to be refactored. I can post a gist if you'd like.

@caphrim007
Copy link
Contributor

Ok, np.

When I tested it with the stock bigip_facts, it failed to return the pools which, I think, is only reading LTM pools? Anyways, this might be an issue on our end insofar it seems we allow one to configure GTM related modules if you have GTM licensed but not provisioned :-/ which seems kinda awkward.

I will check on this though as it means that you don't receive a failure-ish message if you try to create a pool on a box that doesn't have GTM provisioned. Maybe this doesn't happen in 12.0.0. Will check.

@caphrim007
Copy link
Contributor

This is indeed expected behavior, so a gtm_facts module would certainly be helpful to read those specific pools.

@perzizzle
Copy link
Author

@gregdek quick before the merge conflicts appear again :)

server:
description:
- BIG-IP host
required: true
Copy link
Contributor

Choose a reason for hiding this comment

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

@perzizzle this needs to support server_port (see existing modules)

@caphrim007
Copy link
Contributor

@gundalow @perzizzle needs_review

options:
server:
description:
- BIG-IP host
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the descriptions please be sentences (Capital letter + full stop)?

A minor thing, but I'm trying to get all of this consistent and cleaner.

@gundalow
Copy link
Contributor

gundalow commented Aug 5, 2016

needs_revision - Few documentation things and some potential improvements

Also if you could get this clean to:
pep8 -r --ignore=E501,E221,W291,W391,E302,E251,E203,W293,E231,E303,E201,E225,E261,E241,E402
that would be great. We are considering on adding a CI test to enforce this for modules/network so it would be good if this was clean to start with

@gregdek
Copy link
Contributor

gregdek commented Aug 5, 2016

Thanks @perzizzle for this PR. This PR requires revisions, either because it fails to build or by reviewer request. Please make the suggested revisions. When you are done, please comment with text 'ready_for_review' and we will put this PR back into review.

[This message brought to you by your friendly Ansibull-bot.]

@caphrim007
Copy link
Contributor

@perzizzle if you're interested, I can take this PR, finish it off, and get it merged. Lemme know

@gregdek
Copy link
Contributor

gregdek commented Aug 21, 2016

@perzizzle A friendly reminder: this pull request has been marked as needing your action. If you still believe that this PR applies, and you intend to address the issues with this PR, just let us know in the PR itself and we will keep it open pending your changes. When you do address the issues, please respond with ready_for_review in your comment, so that we can notify the maintainer.

[This message brought to you by your friendly Ansibull-bot.]

@perzizzle
Copy link
Author

@caphrim007 go for it.

@gregdek
Copy link
Contributor

gregdek commented Sep 5, 2016

@perzizzle Another friendly reminder: this pull request has been marked as needing your action. If you still believe that this PR applies, and you intend to address the issues with this PR, just let us know in the PR itself and we will keep it open. If you have addressed the issues and believe it's ready for review, please comment with the text "ready_for_review". If we don't hear from you within another 14 days, we will close this pull request.

[This message brought to you by your friendly Ansibull-bot.]

@gundalow
Copy link
Contributor

gundalow commented Sep 7, 2016

@perzizzle Hey, How are you getting on with this, we are getting close to the 2.2. cut off

@caphrim007
Copy link
Contributor

@gundalow I will own this feature. It wont be ready for 2.2 so we can close this PR in favor of the one I will send in the future.

@caphrim007
Copy link
Contributor

I'll reference this PR in a future PR

@gundalow
Copy link
Contributor

gundalow commented Sep 7, 2016

@caphrim007 Thanks for taking this on.

As discussed about and in Networking meeting 2016-09-07 a fresh PR will be created by @caphrim007 when ready. This will be post 2.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants