Sign in
apache
/
libcloud
/
refs/heads/github_actions_wip
/
.
/
docs
/
examples
/
compute
/
vsphere
/
connect_host.py
blob: da587b71872d48bf43e9c0a9026bdd3f94c7b228 [
file
]
from
libcloud
.
compute
.
types
import
Provider
from
libcloud
.
compute
.
providers
import
get_driver
cls
=
get_driver
(
Provider
.
VSPHERE
)
driver
=
cls
(
host
=
'192.168.1.100'
,
username
=
'admin'
,
password
=
'admin'
)
print
(
driver
.
list_nodes
())
# ...