As explained earlier, events are associated with a stack. As explained in Chapter 3, Stack Group of Connected Cloud Resources, Heat uses the term "stack" to define a collection of resources combined together into a group for orchestration or scaling. These resources may include virtual machine (VM) instances, routers, switches, ports, router interfaces, security groups, subnets, storage volumes, and so on.
The command used to list events associated with a stack is as follows:
Ubuntu@ubunut $ heat event-list [-r <RESOURCE>] [-f <KEY1=VALUE1;KEY2=VALUE2...>] [-l <LIMIT>] [-m <ID>] <NAME or ID>
Where:
Parameter |
Description |
---|---|
|
This represents the name or ID of the stack for which events needed to be listed. |
- |
This represents the name of resource for filtering the events. |
|