3 define_request :reboot_server, :inherit => [:openstack, :common, :v2, :public, :base] do
5 meta :service, :compute
8 'http://docs.openstack.org/api/openstack-compute/2/content/Reboot_Server-d1e3371.html'
10 param :id, :required => true
11 param :type, :required => false
17 :type => params[:type] || 'SOFT'
36 "#{ base_url }/servers/#{ params[:id] }/action"