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

Refactor Branch to modify Collection name from "bloxone" to "universal_ddi" #73

Merged
merged 14 commits into from
Feb 3, 2025
Merged
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
with:
path: infoblox.bloxone
path: infoblox.universal_ddi

- name: Set up integration_config.yml
run: |
echo "portal_key: ${{ secrets.INFOBLOX_PORTAL_KEY }}" > infoblox.bloxone/tests/integration/integration_config.yml
echo "portal_url: ${{ secrets.INFOBLOX_PORTAL_URL }}" >> infoblox.bloxone/tests/integration/integration_config.yml
echo "portal_key: ${{ secrets.INFOBLOX_PORTAL_KEY }}" > infoblox.universal_ddi/tests/integration/integration_config.yml
echo "portal_url: ${{ secrets.INFOBLOX_PORTAL_URL }}" >> infoblox.universal_ddi/tests/integration/integration_config.yml

- uses: ansible-community/ansible-test-gh-action@v1.15.0
with:
collection-src-directory: infoblox.bloxone
collection-src-directory: infoblox.universal_ddi
ansible-core-version: 'stable-2.15'
target-python-version: '3.11'
testing-type: integration
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
with:
path: infoblox.bloxone
path: infoblox.universal_ddi

- uses: ansible-community/ansible-test-gh-action@v1.15.0
with:
collection-src-directory: infoblox.bloxone
collection-src-directory: infoblox.universal_ddi
ansible-core-version: ${{ matrix.ansible }}
target-python-version: ${{ matrix.python }}
testing-type: sanity
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Infoblox BloxOne Collection for Ansible

The Infoblox BloxOne Collection (`infoblox.bloxone`) includes a variety of Ansible modules to help automate the management of BloxOne services.
The Infoblox BloxOne Collection (`infoblox.universal_ddi`) includes a variety of Ansible modules to help automate the management of BloxOne services.

## Version Information

### What's new in v2
- The collection has been renamed from `b1ddi_modules` to `bloxone`.
- The modules are renamed to follow the BloxOne API naming conventions. The old module names are deprecated and will be removed in the next major release.
- The collection has been renamed from `b1ddi_modules` to `universal_ddi`.
- The modules are renamed to follow the Universal DDI API naming conventions. The old module names are deprecated and will be removed in the next major release.
- The modules are rewritten to use the [Universal DDI Python client](https://github.com/infobloxopen/universal-ddi-python-client) library. This provides a more consistent experience across the modules and supports a wider range of BloxOne services.

## Requirements
Expand All @@ -18,7 +18,7 @@ The Infoblox BloxOne Collection (`infoblox.bloxone`) includes a variety of Ansib

## Installation

The `infoblox.bloxone` collection can be installed from git repository.
The `infoblox.universal_ddi` collection can be installed from git repository.

```shell
ansible-galaxy collection install git+https://github.com/infobloxopen/bloxone-ansible.git,v2
Expand Down
2 changes: 1 addition & 1 deletion changelogs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ sections:
- Bugfixes
- - known_issues
- Known Issues
title: Infoblox.Bloxone
title: infoblox.universal_ddi
trivial_section_name: trivial
use_fqcn: true
4 changes: 2 additions & 2 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace: infoblox

# The name of the collection. Has the same character restrictions as 'namespace'
name: bloxone
name: universal_ddi

# The version of the collection. Must be compatible with semantic versioning
version: 2.0.0
Expand Down Expand Up @@ -33,7 +33,7 @@ license_file: ''

# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
# requirements as 'namespace' and 'name'
tags: ['infoblox', 'bloxone', 'dns', 'ipam', 'dhcp', 'ddi', 'networking']
tags: ['infoblox', 'universal_ddi', 'dns', 'ipam', 'dhcp', 'ddi', 'networking']

# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
# collection label 'namespace.name'. The value is a version range
Expand Down
46 changes: 23 additions & 23 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,103 +61,103 @@ plugin_routing:
b1_ipam_ip_space:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_ip_space instead.
warning_text: Use infoblox.universal_ddi.ipam_ip_space instead.
b1_ipam_ip_space_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_ip_space_info instead.
warning_text: Use infoblox.universal_ddi.ipam_ip_space_info instead.

b1_ipam_subnet:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_subnet instead.
warning_text: Use infoblox.universal_ddi.ipam_subnet instead.
b1_ipam_subnet_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_subnet_info instead.
warning_text: Use infoblox.universal_ddi.ipam_subnet_info instead.

b1_dns_view:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_view instead.
warning_text: Use infoblox.universal_ddi.dns_view instead.
b1_dns_view_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_view_info instead.
warning_text: Use infoblox.universal_ddi.dns_view_info instead.

b1_ipam_address_block:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_address_block instead.
warning_text: Use infoblox.universal_ddi.ipam_address_block instead.
b1_ipam_address_block_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_address_block_info instead.
warning_text: Use infoblox.universal_ddi.ipam_address_block_info instead.

b1_dns_auth_zone:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_auth_zone instead.
warning_text: Use infoblox.universal_ddi.dns_auth_zone instead.
b1_dns_zone_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_auth_zone_info instead.
warning_text: Use infoblox.universal_ddi.dns_auth_zone_info instead.

b1_ipam_range:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_range instead.
warning_text: Use infoblox.universal_ddi.ipam_range instead.

b1_ipam_host:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_host instead.
warning_text: Use infoblox.universal_ddi.ipam_host instead.
b1_ipam_host_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_host_info instead.
warning_text: Use infoblox.universal_ddi.ipam_host_info instead.

b1_ipam_ipv4_reservation:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_address instead.
warning_text: Use infoblox.universal_ddi.ipam_address instead.
b1_ipam_ipv4_reservation_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.ipam_address_info instead.
warning_text: Use infoblox.universal_ddi.ipam_address_info instead.

b1_a_record:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record instead.
warning_text: Use infoblox.universal_ddi.dns_record instead.
b1_a_record_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record_info instead.
warning_text: Use infoblox.universal_ddi.dns_record_info instead.

b1_cname_record:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record instead.
warning_text: Use infoblox.universal_ddi.dns_record instead.
b1_cname_record_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record_info instead.
warning_text: Use infoblox.universal_ddi.dns_record_info instead.

b1_ns_record:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record instead.
warning_text: Use infoblox.universal_ddi.dns_record instead.
b1_ns_record_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record_info instead.
warning_text: Use infoblox.universal_ddi.dns_record_info instead.

b1_ptr_record:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record instead.
warning_text: Use infoblox.universal_ddi.dns_record instead.
b1_ptr_record_gather:
deprecation:
removal_version: 3.0.0
warning_text: Use infoblox.bloxone.dns_record_info instead.
warning_text: Use infoblox.universal_ddi.dns_record_info instead.
2 changes: 1 addition & 1 deletion playbooks/dns/a_record/create_a_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/a_record/delete_a_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/a_record/gather_a_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/a_record/update_a_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/cname_record/create_cname_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/cname_record/delete_cname_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/cname_record/gather_cname_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/cname_record/update_cname_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_view/create_view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_view/delete_view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_view/gather_all_views.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_view/gather_view_by_name.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_view/get_all_views.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_view/update_view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_zone/create_zone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_zone/delete_zone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_zone/gather_zone_by_name.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_zone/get_all_zones.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/dns_zone/update_zone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/dns/ns_record/create_ns_record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: localhost
connection: local
collections:
- infoblox.bloxone
- infoblox.universal_ddi

vars:
- host: "{{ Host server to connect to }}"
Expand Down
Loading