Skip to content

Commit 29b1ba6

Browse files
committed
Add CustomActions mixin to physical infrastructure models
PhysicalRack, PhysicalSwitch, PhysicalServer and PhysicalChassis
1 parent a92677d commit 29b1ba6

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

app/models/physical_chassis.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ class PhysicalChassis < ApplicationRecord
22
include SupportsFeatureMixin
33
include EventMixin
44
include EmsRefreshMixin
5+
include CustomActionsMixin
56

67
acts_as_miq_taggable
78

app/models/physical_rack.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class PhysicalRack < ApplicationRecord
22
include SupportsFeatureMixin
33
include EmsRefreshMixin
4+
include CustomActionsMixin
45

56
acts_as_miq_taggable
67

app/models/physical_server.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class PhysicalServer < ApplicationRecord
99
include ProviderObjectMixin
1010
include ComplianceMixin
1111
include EmsRefreshMixin
12+
include CustomActionsMixin
13+
1214

1315
include_concern 'Operations'
1416

app/models/physical_switch.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ class PhysicalSwitch < Switch
22
include SupportsFeatureMixin
33
include EventMixin
44
include EmsRefreshMixin
5+
include CustomActionsMixin
56

67
belongs_to :ext_management_system, :foreign_key => :ems_id, :inverse_of => :physical_switches,
78
:class_name => "ManageIQ::Providers::PhysicalInfraManager"

0 commit comments

Comments
 (0)