Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion ansible/roles/test/tasks/crm/crm_test_set_threshold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,22 @@
- "ipv6 neighbor"
- "nexthop group member"
- "nexthop group object"
- "fdb"
- "fdb"

- name: "Validate Setting CRM Threshold - Original Value"
shell: crm show thresholds {{item}} | awk '/^$/ {next} NR>4 {if($3!=70 || $4!=85){exit 1}}'
with_items:
- "acl group"
- "acl group entry"
- "acl group counter"
- "acl table"
- "ipv4 route"
- "ipv4 nexthop"
- "ipv4 neighbor"
- "ipv6 route"
- "ipv6 nexthop"
- "ipv6 neighbor"
- "nexthop group member"
- "nexthop group object"
- "fdb"