-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CRM test plan
The purpose is to test functionality of CRM on the SONIC switch DUT, closely resembling production environment.
The test is targeting a running SONIC system with fully functioning configuration. The purpose of the test is not to test specific API, but functional testing of CRM on SONIC system.
The test will run on the all testbeds.
No setup pre-configuration is required, test will configure and clean-up all the configuration.
crm.yml when run with tag “crm” will do the following for each CRM resource:
- Apply required configuration.
- Verify "used" and "free" counters.
- Verify "EXCEEDED" and "CLEAR" messages using all types of thresholds.
- Restore configuration.
Verify "IPv4 route" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 route and observe that counters were updated as expected.
- Remove 1 route and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "IPv6 route" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 route and observe that counters were updated as expected.
- Remove 1 route and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "IPv4 nexthop" CRM resource.
- Set polling interval to 1 minute.
- Add 1 nexthop and observe that counters were updated as expected.
- Remove 1 nexthop and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "IPv6 nexthop" CRM resource.
- Set polling interval to 1 minute.
- Add 1 nexthop and observe that counters were updated as expected.
- Remove 1 nexthop and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "IPv4 neighbor" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 neighbor and observe that counters were updated as expected.
- Remove 1 neighbor and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "IPv6 neighbor" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 neighbor and observe that counters were updated as expected.
- Remove 1 neighbor and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "nexthop group object" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 ECMP route and observe that counters were updated as expected.
- Remove 1 ECMP route and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "nexthop group member" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 ECMP route and observe that counters were updated as expected.
- Remove 1 ECMP route and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "FDB entry" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 FDB entry and observe that counters were updated as expected.
- Remove 1 FDB entry and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "ACL group" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 ACL and observe that counters were updated as expected.
- Remove 1 ACL and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "ACL table" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 ACL and observe that counters were updated as expected.
- Remove 1 ACL and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "ACL entry" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 ACL rule and observe that counters were updated as expected.
- Remove 1 ACL rule and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
Verify "ACL entry" CRM resource.
- Set polling interval to 1 minute.
- Configure 1 ACL rule and observe that counters were updated as expected.
- Remove 1 ACL rule and observe that counters were updated as expected.
- Perform the following steps for all threshold types ("percentage", "used", "free"):
- Set low and high thresholds according to current usage and type.
- Verify that "EXCEEDED" message is logged (using log analyzer).
- Set low and high thresholds to default values.
- Verify that "CLEAR" message is logged (using log analyzer).
- Restore default configuration.
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us