Skip to content

Commit

Permalink
Merge pull request #755 from nasark/kubevirt_osv_vm_events
Browse files Browse the repository at this point in the history
Add Kubevirt/OSV VM events
  • Loading branch information
agrare committed Nov 15, 2024
2 parents 12e0270 + 23c2d4c commit 4f2deec
Show file tree
Hide file tree
Showing 28 changed files with 1,222 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: ".missing"
inherits:
description:
fields: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINE_CREATED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_create&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINE_MIGRATED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_migrate&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINE_SHUTTINGDOWN
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_shutdown_guest&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINE_STARTED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_start&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINE_SUCCESSFULCREATE
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_provisioned&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINE_SUCCESSFULDELETE
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_destroy&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINEINSTANCE_CREATED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_create&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINEINSTANCE_MIGRATED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_migrate&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINEINSTANCE_SHUTTINGDOWN
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_shutdown_guest&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINEINSTANCE_STARTED
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_start&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINEINSTANCE_SUCCESSFULCREATE
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_provisioned&param="
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: VIRTUALMACHINEINSTANCE_SUCCESSFULDELETE
inherits:
description:
fields:
- rel4:
value: "/System/event_handlers/event_action_refresh?target=ems"
- rel5:
value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_destroy&param="
Loading

0 comments on commit 4f2deec

Please sign in to comment.