Sign in
apache
/
libcloud
/
refs/heads/github_actions_wip
/
.
/
docs
/
examples
/
compute
/
ntta
/
instantiate_driver.py
blob: 5fa753b03d31b6d28f5b944de47f581f7ecce6e7 [
file
]
from
pprint
import
pprint
from
libcloud
.
compute
.
types
import
Provider
from
libcloud
.
compute
.
providers
import
get_driver
cls
=
get_driver
(
Provider
.
NTTA
)
driver
=
cls
(
'my username'
,
'my password'
,
region
=
'ntta-na'
)
pprint
(
driver
.
list_nodes
())