(Optional) Specifies the event criteria based on test
ID:
•
test_id test-id--Specifies the event criteria based
on the test with the ID number test-id. The
maximum value of test-id is 65535.
Because the test ID can be different for the
same test on different line cards, usually the
test_name keyword should be used instead.
If the test ID is specified and conflicts with
the specified test name, the test name
overwrites the test ID.
Note
If this argument is not specified, test ID information
from GOLD is not considered in the event criteria.
test_id
(Optional) Specifies the event criteria based on
consecutive test failure information from GOLD:
•
consecutive_failure
consecutive-failure-number--Specifies that the
event criterion is based on the occurrence of
consecutive-failure-number consecutive test
failures.
If this argument is not specified, consecutive test
failure information from GOLD is not considered in
the event criteria.
consecutive_failure
(Optional) Specifies whether callback to the platform
is needed when all the event criteria are matched.
When callback is needed, the platform needs to
register a callback function through the provided
registry.
•
platform_action action-flag-number--Specifies
that, when callback to the platform is needed,
specific information is specified by the
platform-specific action-flag-number value. The
maximum value of action-flag-number is 65535.
It is up to the platform to determine what
action needs to be taken based on the flag.
Note
If this argument is not specified, there is no callback.
platform_action
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1882
event_register_gold