Skip to content

Commit

Permalink
Merge pull request #17523 from caiocmpaes/configs_to_enable_chassis_ui
Browse files Browse the repository at this point in the history
Adds support for Physical Chassis in the UI
  • Loading branch information
h-kataria committed Jun 14, 2018
2 parents 2cd351d + d2a7abf commit 511cdae
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/physical_chassis.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class PhysicalChassis < ApplicationRecord
acts_as_miq_taggable

belongs_to :ext_management_system, :foreign_key => :ems_id, :inverse_of => :physical_chassis,
:class_name => "ManageIQ::Providers::PhysicalInfraManager"
belongs_to :physical_rack, :foreign_key => :physical_rack_id, :inverse_of => :physical_chassis
Expand Down
1 change: 1 addition & 0 deletions config/miq_expression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
- OrchestrationStack
- OrchestrationTemplate
- PhysicalRack
- PhysicalChassis
- PhysicalSwitch
- PhysicalServer
- PolicyEvent
Expand Down
9 changes: 9 additions & 0 deletions db/fixtures/miq_user_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
- miq_template
- orchestration_stack
- physical_rack
- physical_chassis
- physical_switch
- physical_server
- physical_infra_topology
Expand Down Expand Up @@ -138,6 +139,7 @@
- miq_template_timeline
- physical_infra_topology_view
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- policy_log
Expand Down Expand Up @@ -234,6 +236,7 @@
- miq_template_tag
- physical_infra_topology_view
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- planning
Expand Down Expand Up @@ -305,10 +308,12 @@
- my_settings_time_profiles
- my_settings_visuals
- physical_rack
- physical_chassis
- physical_switch
- physical_server
- physical_infra_topology
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- provider_foreman_explorer
Expand Down Expand Up @@ -387,6 +392,7 @@
- ems_physical_infra_view
- physical_rack_control
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- physical_infra_topology_view
Expand Down Expand Up @@ -601,6 +607,7 @@
- miq_template_timeline
- physical_infra_topology_view
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- policy_log
Expand Down Expand Up @@ -690,6 +697,7 @@
- miq_template_timeline
- physical_infra_topology_view
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- resource_pool_show
Expand Down Expand Up @@ -1198,6 +1206,7 @@
- persistent_volume_view
- physical_infra_topology_view
- physical_rack_view
- physical_chassis_view
- physical_switch_view
- physical_server_view
- planning
Expand Down
1 change: 1 addition & 0 deletions locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ en:
ManageIQ::Providers::Vmware::InfraManager::Host: Host (Vmware)
ManageIQ::Providers::Vmware::InfraManager::HostEsx: Host (Vmware)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalRack: Physical Rack (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalChassis: Physical Chassis (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalServer: Physical Server (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalSwitch: Physical Switch (Lenovo)
ManageIQ::Providers::Redfish::PhysicalInfraManager::PhysicalServer: Physical Server (Redfish)
Expand Down

0 comments on commit 511cdae

Please sign in to comment.