Skip to content

Commit

Permalink
IPAM Host Support for Bloxone Ansible v2 (#52)
Browse files Browse the repository at this point in the history
* generated resources for ipam_host and added examples

* written integration tests for ipam_host

* deprecate b1_ipam_host and b1_ipam_host_gather

* fixed sanity issues and added empty line at the end

* removed instances of inherit

* fixed documentation and added empty line at the end of file

* refactored integration tests

* addressed review comments

* fixed sanity issues

* modified examples

* fixed sanity issues

* addressed review comments

* added new line at the end

* modified examples

* modified examples

* added code for cleanup

* addressed review comments

* added new line

* addressed review comments

* addressed review comments

---------

Co-authored-by: Ashish Mathew <[email protected]>
  • Loading branch information
VishrutiBuddhadev and mathewab authored Jan 9, 2025
1 parent 050d975 commit c7fccd1
Show file tree
Hide file tree
Showing 16 changed files with 1,026 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/52-ipam-host.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deprecated_features:
- b1_ipam_host - is deprecated in favor of 'ipam_host'.
- b1_ipam_host_gather - is deprecated in favor of 'ipam_host_info'.
11 changes: 11 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ action_groups:
- ipam_subnet_info
- ipam_address_block
- ipam_address_block_info
- ipam_host
- ipam_host_info

infra:
- infra_join_token
Expand Down Expand Up @@ -75,3 +77,12 @@ plugin_routing:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_auth_zone_info instead.

b1_ipam_host:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_host instead.
b1_ipam_host_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_host_info instead.
4 changes: 4 additions & 0 deletions plugins/modules/b1_ipam_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
author: "Akhilesh Kabade (@akhilesh-kabade-infoblox), Sriram Kannan(@kannans)"
short_description: Configure Host on Infoblox BloxOne DDI
version_added: "1.0.1"
deprecated:
removed_in: 3.0.0
why: This module is deprecated and will be removed in version 3.0.0. Use M(ipam_host) instead.
alternative: Use M(ipam_host) instead.
description:
- Create, Update and Delete Hosts on Infoblox BloxOne DDI. This module manages the IPAM Host object using BloxOne REST APIs.
requirements:
Expand Down
6 changes: 5 additions & 1 deletion plugins/modules/b1_ipam_host_gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@

DOCUMENTATION = """
---
module: b1_ipam_ip_space
module: b1_ipam_host
author: "Akhilesh Kabade (@akhilesh-kabade-infoblox)"
short_description: Gather IPAM host facts
deprecated:
removed_in: 3.0.0
why: This module is deprecated and will be removed in version 3.0.0. Use M(ipam_host_info) instead.
alternative: Use M(ipam_host_info) instead.
description:
- Gather facts about IPAM hosts in Infoblox BloxOne DDI. This module gathers facts of IPAM Hosts object using BloxOne REST APIs.
requirements:
Expand Down
Loading

0 comments on commit c7fccd1

Please sign in to comment.