-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #516 from xlab-si/pxe-state-machines
Introduce PhysicalServerProvision StateMachine
- Loading branch information
Showing
25 changed files
with
1,707 additions
and
0 deletions.
There are no files selected for viewing
613 changes: 613 additions & 0 deletions
613
...nt/automate/ManageIQ/PhysicalInfrastructure/PhysicalServer/Lifecycle.class/__class__.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
...automate/ManageIQ/PhysicalInfrastructure/PhysicalServer/Lifecycle.class/provisioning.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Provisioning | ||
inherits: | ||
description: | ||
fields: | ||
- Relationship5: | ||
value: "/PhysicalInfrastructure/PhysicalServer/Provisioning/Profile/${/#user.normalized_ldap_group}#get_state_machine" | ||
- Relationship6: | ||
value: "/PhysicalInfrastructure/PhysicalServer/Provisioning/StateMachines/${/#state_machine}/default" |
73 changes: 73 additions & 0 deletions
73
.../ManageIQ/PhysicalInfrastructure/PhysicalServer/Provisioning/Profile.class/__class__.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
object_type: class | ||
version: 1.0 | ||
object: | ||
attributes: | ||
description: Profile | ||
display_name: | ||
name: Profile | ||
type: | ||
inherits: | ||
visibility: | ||
owner: | ||
schema: | ||
- field: | ||
aetype: attribute | ||
name: auto_approval_state_machine | ||
display_name: | ||
datatype: string | ||
priority: 1 | ||
owner: | ||
default_value: ProvisionRequestApproval | ||
substitute: true | ||
message: get_auto_approval_state_machine | ||
visibility: | ||
collect: "/state_machine = auto_approval_state_machine" | ||
scope: | ||
description: | ||
condition: | ||
on_entry: | ||
on_exit: | ||
on_error: | ||
max_retries: | ||
max_time: | ||
- field: | ||
aetype: attribute | ||
name: quota_state_machine | ||
display_name: | ||
datatype: string | ||
priority: 2 | ||
owner: | ||
default_value: | ||
substitute: true | ||
message: get_quota_state_machine | ||
visibility: | ||
collect: "/state_machine = quota_state_machine" | ||
scope: | ||
description: | ||
condition: | ||
on_entry: | ||
on_exit: | ||
on_error: | ||
max_retries: | ||
max_time: | ||
- field: | ||
aetype: attribute | ||
name: state_machine | ||
display_name: | ||
datatype: string | ||
priority: 3 | ||
owner: | ||
default_value: Provision | ||
substitute: true | ||
message: get_state_machine | ||
visibility: | ||
collect: "/state_machine = state_machine" | ||
scope: | ||
description: | ||
condition: | ||
on_entry: | ||
on_exit: | ||
on_error: | ||
max_retries: | ||
max_time: |
10 changes: 10 additions & 0 deletions
10
...e/ManageIQ/PhysicalInfrastructure/PhysicalServer/Provisioning/Profile.class/_missing.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: [] |
10 changes: 10 additions & 0 deletions
10
...nfrastructure/PhysicalServer/Provisioning/Profile.class/evmgroup-super_administrator.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: EvmGroup-super_administrator | ||
inherits: | ||
description: | ||
fields: [] |
Oops, something went wrong.