Skip to content

Commit

Permalink
Creating PhysicalChassis controller and adding endpoint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdrasVP authored and unknown committed May 14, 2018
1 parent e30003a commit d139c72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/api/physical_chassis_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Api
class PhysicalChassisController < BaseController
end
end
12 changes: 12 additions & 0 deletions config/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1808,6 +1808,18 @@
:identifier: physical_server_turn_off_loc_led
- :name: apply_config_pattern
:identifier: physical_server_apply_config_pattern
:physical_chassis:
:description: Physical Chassis
:options:
- :collection
:verbs: *g
:klass: PhysicalChassis
:collection_actions:
:get:
- :name: read
:resource_actions:
:get:
- :name: read
:pictures:
:description: Pictures
:options:
Expand Down

0 comments on commit d139c72

Please sign in to comment.