Skip to content

Commit

Permalink
Config for a physical rack page
Browse files Browse the repository at this point in the history
  • Loading branch information
felipedf committed Apr 5, 2018
1 parent 4acfef6 commit 4b79c81
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions db/fixtures/miq_product_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,26 @@
:feature_type: view
:identifier: infra_topology_view

# Physical Racks
- :name: Physical Racks
:description: Everything under Physical Racks
:feature_type: node
:identifier: physical_rack
:children:
- :name: View
:description: View Physical Rack
:feature_type: view
:identifier: physical_rack_view
:children:
- :name: List
:description: Display Lists of Physical Racks
:feature_type: view
:identifier: physical_rack_show_list
- :name: Show
:description: Display Individual Physical Rack
:feature_type: view
:identifier: physical_rack_show

# MiqRequest
- :name: Requests
:description: Everything under Requests
Expand Down
8 changes: 8 additions & 0 deletions db/fixtures/miq_user_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
- miq_request
- miq_template
- orchestration_stack
- physical_rack
- physical_server
- physical_infra_topology
- planning
Expand Down Expand Up @@ -133,6 +134,7 @@
- miq_template_tag
- miq_template_timeline
- physical_infra_topology_view
- physical_rack_view
- physical_server_view
- policy_log
- policy_simulation
Expand Down Expand Up @@ -296,6 +298,7 @@
- my_settings_default_views
- my_settings_time_profiles
- my_settings_visuals
- physical_rack
- physical_server
- physical_infra_topology
- physical_server_view
Expand Down Expand Up @@ -373,6 +376,7 @@
- ems_physical_infra_refresh
- ems_physical_infra_tag
- ems_physical_infra_view
- physical_rack_view
- physical_server_view
- physical_infra_topology_view
- host_new
Expand Down Expand Up @@ -477,6 +481,7 @@
- ems_infra_timeline
- ems_physical_infra_tag
- ems_physical_infra_view
- physical_rack_view
- physical_server_timeline
- host_show
- host_show_list
Expand Down Expand Up @@ -585,6 +590,7 @@
- miq_template_tag
- miq_template_timeline
- physical_infra_topology_view
- physical_rack_view
- physical_server_view
- policy_log
- policy_simulation
Expand Down Expand Up @@ -672,6 +678,7 @@
- miq_template_tag
- miq_template_timeline
- physical_infra_topology_view
- physical_rack_view
- physical_server_view
- resource_pool_show
- resource_pool_show_list
Expand Down Expand Up @@ -1178,6 +1185,7 @@
- orchestration_templates_view
- persistent_volume_view
- physical_infra_topology_view
- physical_rack_view
- physical_server_view
- planning
- policy_log
Expand Down
3 changes: 3 additions & 0 deletions spec/factories/physical_rack.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FactoryGirl.define do
factory :physical_rack
end

0 comments on commit 4b79c81

Please sign in to comment.