Skip to content

ProfitBricks API access through python script and Linux man page

License

Notifications You must be signed in to change notification settings

sparez/ProfitBricks-CLI-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright 2012 ProfitBricks GmbH
Version 0.1 released March 16th 2012

=============================================
== ProfitBricks API Command-Line Interface ==
=============================================

1. PREREQUISITES FOR LINUX
==========================

Installation instructions for Debian; replace apt-get with yum where appropriate

sudo apt-get install python python-setuptools
sudo easy_install suds

2. PREREQUISITES FOR WINDOWS
============================

First step, install setuptools from here: http://pypi.python.org/pypi/setuptools
Then open a cmd window and run C:\Python27\scripts\easy_install suds (replace 27
with whatever version of python you have installed; this was tested to work with
python 2.7 on Windows 7 x64)

3. AUTHENTICATION SETUP
=======================

To avoid having to type your username and password or link to the authentication
file every time you log in, you create a file with the name default.auth and put
it in the working directory of pbapi.py; write your ProfitBricks username on the
first line and your password on the second line. This is not required, but it is
recommended unless there is a risk of someone else reading the file and exposing
your password.

4. QUICK INTRO
==============

Use the pbcli.py application for a better interface. Type 'help' to get help (it
will load the pbapi.1 man page) or list to get a list of available commands. The
pbcli interface supports tab completion, has basic history and allows you to set
a default working datacenter and wait after all provisioning operations until it
becomes available again.

5. SUPPORT
==========

Report bugs to bugs at profitbricks dot com
Request support using support at profitbricks dot com

About

ProfitBricks API access through python script and Linux man page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published