From 5f70f47eb974783b4df25072c753d64767d305b4 Mon Sep 17 00:00:00 2001 From: Nasar Khan Date: Tue, 12 Nov 2024 14:59:04 -0500 Subject: [PATCH 1/2] add kubevirt vm events --- .../EmsEvent/KUBEVIRT.class/__class__.yaml | 433 ++++++++++++++++++ .../EmsEvent/KUBEVIRT.class/_missing.yaml | 10 + .../virtualmachine_created.yaml | 14 + .../virtualmachine_migrated.yaml | 14 + .../virtualmachine_shuttingdown.yaml | 14 + .../virtualmachine_started.yaml | 14 + .../virtualmachine_successfulcreate.yaml | 14 + .../virtualmachine_successfuldelete.yaml | 14 + .../virtualmachineinstance_created.yaml | 14 + .../virtualmachineinstance_migrated.yaml | 14 + .../virtualmachineinstance_shuttingdown.yaml | 14 + .../virtualmachineinstance_started.yaml | 14 + ...rtualmachineinstance_successfulcreate.yaml | 14 + ...rtualmachineinstance_successfuldelete.yaml | 14 + 14 files changed, 611 insertions(+) create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/__class__.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/_missing.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_created.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_migrated.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_shuttingdown.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_started.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfulcreate.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfuldelete.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_created.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_migrated.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_shuttingdown.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_started.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfulcreate.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfuldelete.yaml diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/__class__.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/__class__.yaml new file mode 100644 index 000000000..3167b109b --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/__class__.yaml @@ -0,0 +1,433 @@ +--- +object_type: class +version: 1.0 +object: + attributes: + description: + display_name: + name: KUBEVIRT + type: + inherits: + visibility: + owner: + schema: + - field: + aetype: assertion + name: guard + display_name: + datatype: string + priority: 1 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: attribute + name: logical_event + display_name: + datatype: string + priority: 2 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: on_entry + display_name: + datatype: string + priority: 3 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel1 + display_name: + datatype: string + priority: 4 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth1 + display_name: + datatype: string + priority: 5 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel2 + display_name: + datatype: string + priority: 6 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth2 + display_name: + datatype: string + priority: 7 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel3 + display_name: + datatype: string + priority: 8 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth3 + display_name: + datatype: string + priority: 9 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel4 + display_name: + datatype: string + priority: 10 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth4 + display_name: + datatype: string + priority: 11 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel5 + display_name: + datatype: string + priority: 12 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth5 + display_name: + datatype: string + priority: 13 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel6 + display_name: + datatype: string + priority: 14 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth6 + display_name: + datatype: string + priority: 15 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel7 + display_name: + datatype: string + priority: 16 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth7 + display_name: + datatype: string + priority: 17 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel8 + display_name: + datatype: string + priority: 18 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth8 + display_name: + datatype: string + priority: 19 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel9 + display_name: + datatype: string + priority: 20 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: on_exit + display_name: + datatype: string + priority: 21 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/_missing.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/_missing.yaml new file mode 100644 index 000000000..99e72be80 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/_missing.yaml @@ -0,0 +1,10 @@ +--- +object_type: instance +version: 1.0 +object: + attributes: + display_name: + name: ".missing" + inherits: + description: + fields: [] diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_created.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_created.yaml new file mode 100644 index 000000000..0ce13428a --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_created.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_migrated.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_migrated.yaml new file mode 100644 index 000000000..0c15fef22 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_migrated.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_shuttingdown.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_shuttingdown.yaml new file mode 100644 index 000000000..69a723e3b --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_shuttingdown.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_started.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_started.yaml new file mode 100644 index 000000000..1b93985c7 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_started.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfulcreate.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfulcreate.yaml new file mode 100644 index 000000000..e2969a5b2 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfulcreate.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfuldelete.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfuldelete.yaml new file mode 100644 index 000000000..555d0a54a --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachine_successfuldelete.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_created.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_created.yaml new file mode 100644 index 000000000..4d8c5b4da --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_created.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_migrated.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_migrated.yaml new file mode 100644 index 000000000..1258bdb7b --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_migrated.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_shuttingdown.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_shuttingdown.yaml new file mode 100644 index 000000000..90b78d506 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_shuttingdown.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_started.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_started.yaml new file mode 100644 index 000000000..78081def1 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_started.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfulcreate.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfulcreate.yaml new file mode 100644 index 000000000..512415d0a --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfulcreate.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfuldelete.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfuldelete.yaml new file mode 100644 index 000000000..c8f7f3f48 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/KUBEVIRT.class/virtualmachineinstance_successfuldelete.yaml @@ -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¶m=" From 23c2d4c915d4461e35e160de144461006d3b3f5d Mon Sep 17 00:00:00 2001 From: Nasar Khan Date: Tue, 12 Nov 2024 14:59:20 -0500 Subject: [PATCH 2/2] add OSV vm events --- .../OPENSHIFT_INFRA.class/__class__.yaml | 433 ++++++++++++++++++ .../OPENSHIFT_INFRA.class/_missing.yaml | 10 + .../virtualmachine_created.yaml | 14 + .../virtualmachine_migrated.yaml | 14 + .../virtualmachine_shuttingdown.yaml | 14 + .../virtualmachine_started.yaml | 14 + .../virtualmachine_successfulcreate.yaml | 14 + .../virtualmachine_successfuldelete.yaml | 14 + .../virtualmachineinstance_created.yaml | 14 + .../virtualmachineinstance_migrated.yaml | 14 + .../virtualmachineinstance_shuttingdown.yaml | 14 + .../virtualmachineinstance_started.yaml | 14 + ...rtualmachineinstance_successfulcreate.yaml | 14 + ...rtualmachineinstance_successfuldelete.yaml | 14 + 14 files changed, 611 insertions(+) create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/__class__.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/_missing.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_created.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_migrated.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_shuttingdown.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_started.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfulcreate.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfuldelete.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_created.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_migrated.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_shuttingdown.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_started.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfulcreate.yaml create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfuldelete.yaml diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/__class__.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/__class__.yaml new file mode 100644 index 000000000..b5412f59d --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/__class__.yaml @@ -0,0 +1,433 @@ +--- +object_type: class +version: 1.0 +object: + attributes: + description: + display_name: + name: OPENSHIFT_INFRA + type: + inherits: + visibility: + owner: + schema: + - field: + aetype: assertion + name: guard + display_name: + datatype: string + priority: 1 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: attribute + name: logical_event + display_name: + datatype: string + priority: 2 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: on_entry + display_name: + datatype: string + priority: 3 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel1 + display_name: + datatype: string + priority: 4 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth1 + display_name: + datatype: string + priority: 5 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel2 + display_name: + datatype: string + priority: 6 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth2 + display_name: + datatype: string + priority: 7 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel3 + display_name: + datatype: string + priority: 8 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth3 + display_name: + datatype: string + priority: 9 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel4 + display_name: + datatype: string + priority: 10 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth4 + display_name: + datatype: string + priority: 11 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel5 + display_name: + datatype: string + priority: 12 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth5 + display_name: + datatype: string + priority: 13 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel6 + display_name: + datatype: string + priority: 14 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth6 + display_name: + datatype: string + priority: 15 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel7 + display_name: + datatype: string + priority: 16 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth7 + display_name: + datatype: string + priority: 17 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel8 + display_name: + datatype: string + priority: 18 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: meth8 + display_name: + datatype: string + priority: 19 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: relationship + name: rel9 + display_name: + datatype: string + priority: 20 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: + - field: + aetype: method + name: on_exit + display_name: + datatype: string + priority: 21 + owner: + default_value: + substitute: true + message: create + visibility: + collect: + scope: + description: + condition: + on_entry: + on_exit: + on_error: + max_retries: + max_time: diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/_missing.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/_missing.yaml new file mode 100644 index 000000000..99e72be80 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/_missing.yaml @@ -0,0 +1,10 @@ +--- +object_type: instance +version: 1.0 +object: + attributes: + display_name: + name: ".missing" + inherits: + description: + fields: [] diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_created.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_created.yaml new file mode 100644 index 000000000..0ce13428a --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_created.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_migrated.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_migrated.yaml new file mode 100644 index 000000000..0c15fef22 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_migrated.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_shuttingdown.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_shuttingdown.yaml new file mode 100644 index 000000000..69a723e3b --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_shuttingdown.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_started.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_started.yaml new file mode 100644 index 000000000..1b93985c7 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_started.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfulcreate.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfulcreate.yaml new file mode 100644 index 000000000..e2969a5b2 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfulcreate.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfuldelete.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfuldelete.yaml new file mode 100644 index 000000000..555d0a54a --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachine_successfuldelete.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_created.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_created.yaml new file mode 100644 index 000000000..4d8c5b4da --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_created.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_migrated.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_migrated.yaml new file mode 100644 index 000000000..1258bdb7b --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_migrated.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_shuttingdown.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_shuttingdown.yaml new file mode 100644 index 000000000..90b78d506 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_shuttingdown.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_started.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_started.yaml new file mode 100644 index 000000000..78081def1 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_started.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfulcreate.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfulcreate.yaml new file mode 100644 index 000000000..512415d0a --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfulcreate.yaml @@ -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¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfuldelete.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfuldelete.yaml new file mode 100644 index 000000000..c8f7f3f48 --- /dev/null +++ b/content/automate/ManageIQ/System/Event/EmsEvent/OPENSHIFT_INFRA.class/virtualmachineinstance_successfuldelete.yaml @@ -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¶m="