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