-
Notifications
You must be signed in to change notification settings - Fork 106
enhancement for node_mgmt_epg_to_contract (DCNE-87) #658
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
base: master
Are you sure you want to change the base?
Conversation
820f4cc
to
2873077
Compare
tests/integration/targets/aci_node_mgmt_epg_to_contract/tasks/main.yml
Outdated
Show resolved
Hide resolved
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.
Black formatting and Sanity tests failed, can you please fix it?
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
- inb_provide_present_check_mode.sent.fvRsProv.attributes.dn == "uni/tn-mgmt/mgmtp-default/inb-anstest_inb/rsprov-aci_inb_http" | ||
- inb_provide_present_check_mode.sent.fvRsProv.attributes.tnVzBrCPName == 'aci_inb_http' |
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.
for checkmode we should check proposed in instead of sent
- inb_provide_present_check_mode.sent.fvRsProv.attributes.dn == "uni/tn-mgmt/mgmtp-default/inb-anstest_inb/rsprov-aci_inb_http" | |
- inb_provide_present_check_mode.sent.fvRsProv.attributes.tnVzBrCPName == 'aci_inb_http' | |
- inb_provide_present_check_mode.proposed.fvRsProv.attributes.dn == "uni/tn-mgmt/mgmtp-default/inb-anstest_inb/rsprov-aci_inb_http" | |
- inb_provide_present_check_mode.proposed.fvRsProv.attributes.tnVzBrCPName == 'aci_inb_http' |
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 everywhere.
ansible.builtin.assert: | ||
that: | ||
- consume_absent_check_mode is changed | ||
- consume_absent_check_mode.previous.0.fvRsCons is defined |
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 you also assert the attributes of previous?
description: | ||
- Bind Node Management EPGs to Contracts on Cisco ACI fabrics. | ||
notes: | ||
- The C(epg) and C(contract) used 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 C(epg) and C(contract) used must exist before using this module in your playbook. | |
- The O(epg) and O(contract) used must exist before using this module in your playbook. |
…ontract.url does not exist remain
…e PR. Shall test to merge Root and SubClass-1 into a single Root class now
2) fixed some linting 3) modified the query assertations accordingly in test file All checks passed in test file. PLAY RECAP ********************************************************************* azure_cloud : ok=8 changed=0 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 cn-dmz-apic-m1-02-v42 : ok=7 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 cn-dmz-apic-m1-03-v52 : ok=55 changed=24 unreachable=0 failed=0 skipped=4 rescued=0 ignored=8 cn-dmz-apic-m1-04-v602h : ok=55 changed=24 unreachable=0 failed=0 skipped=4 rescued=0 ignored=8 Module ready for review
…seem to fail. Pushing to branch so one can pull to their local and test
…g block. Fixed some typos
4039642
to
c00a359
Compare
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
-) Added node_mgmt_epg_to_contract module
-) Test.yml still pending, working on it.
DCNE-87