Skip to content

Commit

Permalink
Three new commands from Nic category with one addition to MALFORMED_R…
Browse files Browse the repository at this point in the history
…ESPONSES
  • Loading branch information
davemcneill committed Nov 13, 2013
1 parent 7d21611 commit a359edb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions lib/cloudstack_ruby_client/api/nic_api.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module CloudstackRubyClient
module Api
module Nic
cmd_processor :add_ip_to_nic,
:remove_ip_from_nic,
:list_nics
end
end
end

3 changes: 2 additions & 1 deletion lib/cloudstack_ruby_client/client_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class Module
/enablestoragemaintenance/i => 'prepareprimarystorageformaintenanceresponse',
/copyiso/i => 'copytemplateresponse',
/deleteiso/i => 'deleteisosresponse',
/listisopermissions/i => 'listtemplatepermissionsresponse'
/listisopermissions/i => 'listtemplatepermissionsresponse',
/addiptonic/i => 'addiptovmnicresponse'
}

def cmd_processor(*args)
Expand Down

0 comments on commit a359edb

Please sign in to comment.