Skip to content

Commit

Permalink
[ignore_changes] Fixed documentation and added addition checks on tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
anvitha-jain committed Sep 12, 2024
1 parent 3f9601c commit 567d1ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/ndo_mac_sec_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
username: admin
password: SomeSecretPassword
template: ansible_test_template
mac_sec_policy: ansible_test_mac_sec_policy
mac_sec_policy_uuid: ansible_test_mac_sec_policy_uuid
state: query
register: query_uuid
Expand Down
4 changes: 4 additions & 0 deletions tests/integration/targets/ndo_mac_sec_policy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@
- nm_add_mac_sec_policy_again.previous.type == nm_add_mac_sec_policy_again.current.type == 'fabric'
- nm_add_mac_sec_policy_again.previous.uuid is defined
- nm_add_mac_sec_policy_again.current.uuid is defined
- nm_add_mac_sec_policy.previous.macsecParams.cipherSuite == '256GcmAesXpn'
- nm_add_mac_sec_policy.previous.macsecParams.sakExpiryTime == 0
- nm_add_mac_sec_policy.previous.macsecParams.securityPol == 'shouldSecure'
- nm_add_mac_sec_policy.previous.macsecParams.windowSize == 0

# MACsec policy type access
- name: Create a MACSec policy of type 'access'
Expand Down

0 comments on commit 567d1ac

Please sign in to comment.