-
Notifications
You must be signed in to change notification settings - Fork 104
Addition of aci_l4l7_policy_based_redirect and related modules (DCNE-391) #751
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
Conversation
importer failures, please check |
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.
LGTM
max_threshold: | ||
description: | ||
- The maximum percent when threshold is enabled. | ||
- The APIC defaults to C(0) when unset during creation. |
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.
Should we also note the valid range here, 0-100%?
- cisco.aci.aci | ||
- cisco.aci.annotation | ||
- cisco.aci.owner | ||
notes: |
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.
Shouldn't the ip_sla_monitor_policy
also exist before using?
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.
We only mention the required attributes or the parent object/top object in the notes section
if state == "present": | ||
child_configs = [] | ||
if ip_sla_monitor_policy: | ||
monitor_tdn = "uni/tn-{0}/ipslaMonitoringPol-{1}".format(tenant, ip_sla_monitor_policy) |
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 it possible to add an IPSLA monitoring policy from a different tenant? I presume not, but thought of double checking.
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.
Nope!
- cisco.aci.aci | ||
- cisco.aci.annotation | ||
notes: | ||
- The I(tenant), I(device), I(concrete_device), I(concrete_interface) and I(policy) must exist before using this module in your playbook. |
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 health_group
also an object we need to mention here?
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.
It's a child of vnsSvcRedirectPol so there's no need to mention it here
check_mode: true | ||
register: add_health_group_cm | ||
|
||
- name: Add a new Redirect Health Group in check mode |
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.
- name: Add a new Redirect Health Group in check mode | |
- name: Add a new Redirect Health Group |
- "'uni/tn-ansible_tenant/svcCont/redirectHealthGroup-ansible_health_group_2' in query_all.current | map(attribute='vnsRedirectHealthGroup.attributes.dn') | list" | ||
|
||
# REMOVE L4-L7 HEALTH GROUP | ||
- name: Remove Redirect Health Group |
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.
- name: Remove Redirect Health Group | |
- name: Remove Redirect Health Group in check mode |
- cisco.aci.annotation | ||
- cisco.aci.owner | ||
notes: | ||
- The I(tenant) must exist before using this module in your playbook. |
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.
- The I(tenant) must exist before using this module in your playbook. | |
- The O(tenant) must exist before using this module in your playbook. |
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.
Same comment as made on the related PR
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.
LGTM
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.
LGTM
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.
LGTM
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.
LGTM
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.
LGTM
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.
LGTM
- module: cisco.aci.aci_l4l7_concrete_interface | ||
- module: cisco.aci.aci_l4l7_policy_based_redirect | ||
- name: APIC Management Information Model reference | ||
description: More information about the internal APIC class B(vns:RedirectDest) |
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.
description: More information about the internal APIC class B(vns:RedirectDest) | |
description: More information about the internal APIC class B(vns:RedirectDest), B(vns:L1L2RedirectDest) |
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.
LGTM!
…s with changed names
…nitor_policy attribute
…olicy_based_redirect modules
…l7_policy_based_redirect_destination
5b48277
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.
LGTM
This PR contains completed aci_l4l7_policy_based_redirect and related modules from #186