-
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
DNS Auth NSG Support for Bloxone Ansible v2 #43
base: v2
Are you sure you want to change the base?
Conversation
plugins/modules/dns_auth_nsg_info.py
Outdated
- Filter query to filter objects | ||
type: str | ||
required: false | ||
inherit: |
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.
Is inheritance supported by Auth Nsg ?
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.
no, removed it
plugins/modules/dns_auth_nsg_info.py
Outdated
id=dict(type="str", required=False), | ||
filters=dict(type="dict", required=False), | ||
filter_query=dict(type="str", required=False), | ||
inherit=dict(type="str", required=False, choices=["full", "partial", "none"], default="full"), |
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.
Check for inheritance support !
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.
not supported, removed and tested the playbook
#TODO: add tests | ||
# The following require additional plugins to be supported. | ||
# - internal_secondaries | ||
# - nsgs |
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.
What other plugins are required for the Nsg test ?
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.
adding host
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.
Nsg test case would just require the definition of a different NSG and no host
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.
added
plugins/modules/dns_auth_nsg.py
Outdated
def find(self): | ||
if self.params["id"] is not None: | ||
try: | ||
resp = AuthNsgApi(self.client).read(self.params["id"], inherit="full") |
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.
remove inherit param from the file if not supported
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.
done
No description provided.