-
Notifications
You must be signed in to change notification settings - Fork 63
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
Adding module for Extensible Attributes object #186
Conversation
Hey @hemanthKa677 can you please review this pull request? |
@ranjishmp @hemanthKa677 any chance this can get a review? |
@ranjishmp do you have a rough time frame on when that will be implemented? |
@matthewdennett @lkanthinfoblox is managing this now. |
@lkanthinfoblox I am also interested in this PR - thanks @matthewdennett for submitting it and for all the other contributions! I had no problem rebasing this PR on the top of the latest codebase in my github. It is on my github fork. I would like to figure out how to configure the additional properties too eventually. Let me know if there is anything I can do to help. |
infobloxopen/infoblox-ansible/infobloxopen#186 add support for flags to the extensible attributes module
@lkanthinfoblox, is it possible that this one be looked at please? |
@hmalphettes and @matthewdennett, We started looking into this PR. We will update the outcome in couple of days! |
@lkanthinfoblox, thanks for the reply. What can we do in the future to avoid waiting ~1 year for a review? Happy to discuss in the discussion thread here if that suits better? - #150 (comment) |
Hello @matthewdennett, I noticed that your pull request has been open for a while. Could you please update it with the latest changes from the |
* Add extensible attribute module * added choices to IB_spec * doco * Add the struct creation to api * doco * pep and lint
* feat: DTC TCP monitor * fix: linting+sanity tests * fix: remove test * fix: wrongly named integration test directory * fix: more linting fun * fix: attempt at fixing integration test by not using cannonical name for new module * fix: roll back previous commit * feat: add ICMP monitor * feat: add example playbooks for ICMP monitor * fix: icmp unit test * feat: DTC PDP monitor support * fix: default for PDP port * feat: HTTP monitor * fix: forgot to declare constant * fix: small copy-paste error in docs * feat: add support for SIP DTC monitors * feat: Add support for DTC SNMP monitors * fix: unit test * feat: first stab at topology support * fix: unit test * fix: unit test * fix: unit test * chore: typos * chore: linting * fix: topology rule transform * feat: add new modules to README * fix: integration tests * fix: topology integration test
@JkhatriInfobox, fingers crossed I didn't break anything with that mege. |
infobloxopen/infoblox-ansible/infobloxopen#186 add support for flags to the extensible attributes module
Wow, thank you both. The linting run by ansible sanity tests are reporting some missing new lines:
and also to use yield on a list in a different form for a file that is not touched by this pull request - only on Sanity Tests (devel)
On my branch of Matthew's PR where I added support for configuring multiple values on the extensible attributes via the flags I don't want to slow things down but if you want me to make a pull request or anything let me know! |
Hi @matthewdennett
Replace “pick” with “drop” for the duplicate commit in the text editor that opens up. Please note: This operation modifies the commit history, so please proceed with caution. If you’re unsure, consider creating a backup branch first or verify on local before pushing. Also, avoid force pushing after the rebase as it can disrupt the review process. |
* Extensible attributes module - support flags infobloxopen/infoblox-ansible/infobloxopen#186 add support for flags to the extensible attributes module * Extensible attributes - fix linting reported by the ansible sanity tests --------- Co-authored-by: Hugues Malphettes <[email protected]>
* Extensible attributes module - support flags infobloxopen/infoblox-ansible/infobloxopen#186 add support for flags to the extensible attributes module * Extensible attributes - fix linting reported by the ansible sanity tests --------- Co-authored-by: Hugues Malphettes <[email protected]>
Hi @JkhatriInfobox, that should be fixed up now. I've also included the changes @hmalphettes suggest. Looks like the sanity tests are failing but the documentation looks correct to me. Have I missed something simple in the doco? |
@matthewdennett my thanks for putting in the support for flag. The sanity tests point at some doc I wrote: Hopefully that explains the many more errors reported before that. I'll have a shot at fixing these later today. |
@matthewdennett these changes fixe the linting issues reported by the Sanity tests: hmalphettes@6af034d |
@hmalphettes awesome. I'll try and add those updates at some point tomorrow. |
@matthewdennett, we are left with one last line too long error. Here is the investigation if needed: I checked out your code and ran the github actions from my github account: all is green. I downloaded the artifacts attached to the latest failing github actions - https://github.com/infobloxopen/infoblox-ansible/actions/runs/9310510563/artifacts/1554330581 - and checked the failing When I do the same on my successful run - https://github.com/hmalphettes/infoblox-ansible/actions/runs/9314551322 - we find the expected version of nios_next_ip.py I am hoping it is just a cache issue and all we need is to trigger the github actions again. |
I noticed this too and made a few commits but nothing seemed to make it register the change. |
@JkhatriInfobox, can you please have a look at the issue we are seeing here? |
* Extensible attributes module - support flags infobloxopen/infoblox-ansible/#186 add support for flags to the extensible attributes module * Extensible attributes - fix linting reported by the ansible sanity tests --------- Co-authored-by: Hugues Malphettes <[email protected]>
* Extensible attributes module - support flags infobloxopen/infoblox-ansible/#186 add support for flags to the extensible attributes module * Extensible attributes - fix linting reported by the ansible sanity tests --------- Co-authored-by: Hugues Malphettes <[email protected]>
Hi @matthewdennett, @hmalphettes, We appreciate your PR. Unfortunately, it didn't pass some checks. To address this, we've initiated a new PR with necessary corrections and will be closing PR #186 and #228 once new PR reviewed and merged . Your efforts are truly valued and we invite you to check out the new PR #235. Additionally, we've identified some functional issues which we plan to rectify in the new PR. We also noticed the absence of unit and integration tests, which we'll be adding. Thanks again for your contribution. |
@JkhatriInfobox thanks for the update and the work of the team on this. Happy to contribute in any manner. |
* Attributes (#4) * Add extensible attribute module * added choices to IB_spec * doco * Add the struct creation to api * doco * pep and lint * fix pep issues * Add flags for extensible attributes (#5) (#6) * Extensible attributes module - support flags infobloxopen/infoblox-ansible/#186 add support for flags to the extensible attributes module * Extensible attributes - fix linting reported by the ansible sanity tests --------- Co-authored-by: Hugues Malphettes <[email protected]> * Documentation update fix doco line length fix line length PEP issue pep issue * [FIX] CI execution for unit test * [FIX] Github workflows for CI Run Updated workflow file to support ansible-stable 2.17 and removed 2.14 [FIX] coverage report for stable-2.16 [FIX] changed called_once_with to assert_called_once_with for unit tests [FIX] compact file deprication for ansible-2.17 * [FIX] Updated unit test case by replacing called_once_with to assert_called_once_with for python3.12 * Updated data type for Min and Max from str to int --------- Co-authored-by: matthewdennett <[email protected]> Co-authored-by: matt <[email protected]> Co-authored-by: Hugues Malphettes <[email protected]>
Closing this Pull Request as the same modifications have been successfully merged in PR #235. This action is taken to maintain the cleanliness of the project and prevent redundancy. Please feel free to reach out if you need any further assistance. |
This PR is to add the functionality of managing extensible attributes.
This will address feature request:
#179