-
Notifications
You must be signed in to change notification settings - Fork 22
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
Implemented IPAM Range #48
base: v2
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,2 @@ | |||
deprecated_features: | |||
- b1_ipam_range - is deprecated in favor of `ipam_range`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line required at the end of file.
b1_ipam_range: | ||
deprecation: | ||
removal_version: 3.0.0 | ||
warning_text: Use infoblox.bloxone.ipam_range instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line required at the end of file .
space: "{{ ip_space.id }}" | ||
disable_dhcp: "true" | ||
tags: | ||
location: "some where on earth" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets keep this standardized and use either location = site1 or location1
@@ -14,6 +14,10 @@ | |||
author: "Amit Mishra (@amishra), Sriram Kannan(@kannans)" | |||
short_description: Configure the IPAM range on Infoblox BloxOne DDI | |||
version_added: "1.0.1" | |||
deprecated: | |||
removed_in: "3.0.0" | |||
why: "This module is being deprecated and will be removed in version 3.0.0." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why: "This module is being deprecated and will be removed in version 3.0.0." | |
why: "This module is being deprecated and will be removed in version 3.0.0. Use M(ipam_range) instead." |
- range_info.objects | length == 1 | ||
- range_info.objects[0].tags.location == tag_value | ||
|
||
# Test case for creating a range with a name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the name already provides what the task does , the comment is redundant.
@@ -0,0 +1,283 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing UTs
- Inheritance Sources
- Updation of start and end of the range
state: "absent" | ||
ignore_errors: true | ||
|
||
- name: "Delete IP Space" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a standardized cleanup file in setup_ip_space
instead of this and call that from here ?
Something like :
- ansible.builtin.include_role:
name: "setup_ip_space"
tasks_from: "cleanup.yml"
Implemented IPAM Range