Sign in
apache
/
libcloud
/
b8c8f00a47a9ca2498c0f6da62075c9e46e8eb95
/
.
/
docs
/
examples
/
compute
/
vsphere
/
connect_url_custom_port.py
blob: 0f5a0dc83d5e6041da2a48c5ce73f8d772400001 [
file
] [
log
] [
blame
]
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:8080/sdk/'
,
username
=
'admin'
,
password
=
'admin'
)
print
(
driver
.
list_nodes
())
# ...