
Clustering guides add action/eventfile. Clustering examples add action/event example code. Change-Id: I47164b1539d53e51ac915817398ebf85fd8ddb24 Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
1.4 KiB
1.4 KiB
Working with Events
An event is a record generated during engine execution. Such an event captures what has happened inside the senlin-engine. The senlin-engine service generates event records when it is performing some actions or checking policies.
List Events
To examine the list of events:
../../examples/clustering/event.py
When listing events, you can specify the sorting option using the
sort
parameter and you can do pagination using the
limit
and marker
parameters.
Full example: manage event
Get Event
To get a event based on its name or ID:
../../examples/clustering/event.py