Sha256: d1e236f645d46213125f139a2f72a931ce0909999e52e2d98fa7717af28d46b0
Contents?: true
Size: 589 Bytes
Versions: 28
Compression:
Stored size: 589 Bytes
Contents
module Fog module Compute class Cloudstack class Real # list the vm nics IP to NIC # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/listNics.html] def list_nics(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'listNics') else options.merge!('command' => 'listNics', 'virtualmachineid' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems