Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias Assign NameStore Str Assign NameStore Dict Str Str Str Str Dict Str Str Str Str Str Str Str Num Num Num Dict Str Str Str Str Str Str Str Num Num Num Dict Str Str Str Str Str Str Str Num Num Num Dict Str Str Str Str Str Str Str Num Num Num Assign NameStore Num Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Raise Call NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Dict Str Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Return CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Call NameLoad Num Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Return CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str keyword ListLoad keyword Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list
N/A N/A 
libcloud driver for the Blue Box Blocks API

This driver implements all libcloud functionality for the Blue Box Blocks API.

Blue Box home page            http://bluebox.net
Blue Box API documentation    https://boxpanel.bluebox
.net/public/the_vault/index.php/Blocks_API
 N/A copy N/A base64 libcloud.utils.py3 urlencode libcloud.utils.py3 b libcloud.common.base JsonResponse ConnectionUserAndKey libcloud.compute.providers Provider libcloud.compute.types NodeState InvalidCredsError libcloud.compute.base Node NodeDriver libcloud.compute.base NodeSize NodeImage NodeLocation libcloud.compute.base NodeAuthPassword NodeAuthSSHKey N/A BLUEBOX_API_HOST boxpanel.bluebox.net N/A BLUEBOX_INSTANCE_TYPES N/A 1gb 2gb 4gb 8gb N/A id name ram disk cpu 94fd37a7-2606-47f7-84d5-9000deda52ae Block 1GB Virtual Server 1024 20 0.5 N/A id name ram disk cpu b412f354-5056-4bf0-a42f-6ddd998aa092 Block 2GB Virtual Server 2048 25 1 N/A id name ram disk cpu 0cd183d3-0287-4b1a-8288-b3ea8302ed58 Block 4GB Virtual Server 4096 50 2 N/A id name ram disk cpu b9b87a5b-2885-4a2e-b434-44a163ca6251 Block 8GB Virtual Server 8192 100 4 N/A RAM_PER_CPU 2048 N/A NODE_STATE_MAP N/A queued building running error unknown N/A NodeState PENDING N/A NodeState PENDING N/A NodeState RUNNING N/A NodeState TERMINATED N/A NodeState UNKNOWN BlueboxResponse N/A JsonResponse N/A parse_error N/A N/A self N/A N/A N/A N/A N/A int N/A self status 401 N/A N/A N/A N/A self body N/A N/A N/A InvalidCredsError N/A N/A N/A str N/A self status :  N/A self error N/A N/A N/A InvalidCredsError N/A self body N/A N/A self body N/A N/A BlueboxNodeSize N/A NodeSize N/A __init__ N/A N/A self id name cpu ram disk price driver N/A N/A N/A N/A self id id N/A N/A self name name N/A N/A self cpu cpu N/A N/A self ram ram N/A N/A self disk disk N/A N/A self price price N/A N/A self driver driver N/A __repr__ N/A N/A self N/A N/A N/A N/A <NodeSize: id=%s, name=%s, cpu=%s, ram=%s, disk=%s, price=%s, driver=%s ...> N/A N/A self id N/A self name N/A self cpu N/A self ram N/A self disk N/A self price N/A N/A self driver name N/A N/A BlueboxConnection N/A ConnectionUserAndKey N/A N/A 
    Connection class for the Bluebox driver
     N/A host BLUEBOX_API_HOST N/A secure True N/A responseCls BlueboxResponse N/A allow_insecure False add_default_headers N/A N/A self headers N/A N/A N/A user_b64 N/A N/A base64 b64encode N/A b N/A %s:%s N/A N/A self user_id N/A self key N/A N/A headers N/A Authorization N/A Basic %s user_b64 N/A headers N/A N/A BlueboxNodeDriver N/A NodeDriver N/A N/A 
    Bluebox Blocks node driver
     N/A connectionCls BlueboxConnection N/A type N/A Provider BLUEBOX N/A api_name bluebox N/A name Bluebox Blocks N/A website http://bluebox.net N/A features N/A create_node N/A ssh_key password list_nodes N/A N/A self N/A N/A N/A result N/A N/A N/A self connection request /api/blocks.json N/A N/A N/A N/A self _to_node i N/A i N/A result object N/A list_sizes N/A N/A self location N/A None N/A N/A sizes N/A N/A N/A key values N/A list N/A N/A BLUEBOX_INSTANCE_TYPES items N/A N/A attributes N/A N/A copy deepcopy values N/A N/A N/A attributes update N/A price N/A N/A self _get_size_price size_id key N/A N/A N/A sizes append N/A BlueboxNodeSize driver N/A N/A self connection driver attributes N/A sizes N/A list_images N/A N/A self location N/A None N/A N/A result N/A N/A N/A self connection request /api/block_templates.json N/A images N/A N/A image N/A result object N/A N/A N/A N/A images extend N/A N/A N/A self _to_image image N/A images N/A create_node N/A N/A self N/A kwargs N/A N/A headers N/A Content-Type application/x-www-form-urlencoded N/A name N/A kwargs N/A name N/A image N/A kwargs N/A image N/A size N/A kwargs N/A size N/A auth N/A N/A self _get_and_check_auth N/A N/A kwargs get auth N/A data N/A hostname product template name N/A size id N/A image id N/A ssh None N/A password None N/A N/A isinstance auth NodeAuthSSHKey N/A N/A ssh N/A auth pubkey N/A N/A N/A data update ssh_public_key ssh N/A N/A N/A isinstance auth NodeAuthPassword N/A N/A password N/A auth password N/A N/A N/A data update password password N/A N/A ex_username kwargs N/A N/A N/A N/A data update username N/A kwargs N/A ex_username N/A N/A N/A ssh N/A password N/A N/A N/A Exception SSH public key or password required. N/A params N/A urlencode data N/A result N/A N/A N/A self connection request /api/blocks.json headers headers data params method POST N/A node N/A N/A self _to_node N/A result object N/A N/A getattr auth generated False N/A N/A N/A N/A node extra N/A password N/A auth password N/A node N/A destroy_node N/A N/A self node N/A N/A N/A url N/A /api/blocks/%s.json N/A node id N/A result N/A N/A N/A self connection request url method DELETE N/A N/A N/A result status 200 N/A list_locations N/A N/A self N/A N/A N/A N/A N/A NodeLocation 0 Blue Box Seattle US US self N/A reboot_node N/A N/A self node N/A N/A N/A url N/A /api/blocks/%s/reboot.json N/A node id N/A result N/A N/A N/A self connection request url method PUT N/A N/A N/A result status 200 N/A _to_node N/A N/A self vm N/A N/A N/A state N/A NODE_STATE_MAP N/A N/A N/A vm get status N/A NodeState UNKNOWN N/A n N/A Node id N/A vm N/A id name N/A vm N/A hostname state state public_ips N/A N/A ip N/A address N/A ip N/A vm N/A ips private_ips N/A extra N/A storage cpu N/A vm N/A storage N/A vm N/A cpu driver N/A N/A self connection driver N/A n N/A _to_image N/A N/A self image N/A N/A N/A image N/A NodeImage id N/A image N/A id name N/A image N/A description driver N/A N/A self connection driver N/A image N/A N/A