Object
# File lib/fog/libvirt/models/compute/uri.rb, line 72 def command value("command") end
# File lib/fog/libvirt/models/compute/uri.rb, line 33 def driver scheme=@parsed_uri.scheme return nil if scheme.nil? return scheme.split(/\+/).first end
# File lib/fog/libvirt/models/compute/uri.rb, line 56 def host @parsed_uri.host end
# File lib/fog/libvirt/models/compute/uri.rb, line 80 def keyfile value("command") end
# File lib/fog/libvirt/models/compute/uri.rb, line 68 def name value("name") end
# File lib/fog/libvirt/models/compute/uri.rb, line 84 def netcat value("netcat") end
# File lib/fog/libvirt/models/compute/uri.rb, line 103 def no_tty? no_tty=value("no_tty") return false if no_tty.nil? if no_tty=="0" return false else return true end end
# File lib/fog/libvirt/models/compute/uri.rb, line 88 def no_verify? no_verify=value("no_verify") return false if no_verify.nil? if no_verify.to_s=="0" return false else return true end end
# File lib/fog/libvirt/models/compute/uri.rb, line 64 def password @parsed_uri.password end
# File lib/fog/libvirt/models/compute/uri.rb, line 120 def pkipath value("pkipath") end
# File lib/fog/libvirt/models/compute/uri.rb, line 60 def port @parsed_uri.port end
# File lib/fog/libvirt/models/compute/uri.rb, line 48 def remote? return !transport.nil? end
# File lib/fog/libvirt/models/compute/uri.rb, line 29 def scheme return @parsed_uri.scheme end
# File lib/fog/libvirt/models/compute/uri.rb, line 76 def socket value("socket") end
# File lib/fog/libvirt/models/compute/uri.rb, line 40 def ssh_enabled? if remote? return transport.include?("ssh") else return false end end
Transport will be part of the scheme The part after the plus sign f.i. qemu+ssh
# File lib/fog/libvirt/models/compute/uri.rb, line 22 def transport scheme=@parsed_uri.scheme return nil if scheme.nil? return scheme.split(/\+/)[1] end
# File lib/fog/libvirt/models/compute/uri.rb, line 116 def tty? return !no_tty? end
Generated with the Darkfish Rdoc Generator 2.