Giter VIP home page Giter VIP logo

jon-sl-scripts's Introduction

Jon-SL-scripts

Folder Description
Billing Scripts associated with SoftLayer billing data
Misc Miscelaneous Scripts
Network Scripts associated with manipulating SoftLayer Network
Storage Scripts used to report on or manipulate Storage Services
Provisioning Provisioning Scripts
Ticketing Scripts associated with accessing and creating SoftLayer Tickets
VirtualServers Scripts associated with managing SoftLayer Virtual Servers

Installation of SL API

Install via pip:

$ pip install softlayer

Or you can install from source. Download source and run:

$ python setup.py install

The most up to date version of this library can be found on the SoftLayer GitHub public repositories: hhttps://github.com/softlayer/softlayer-python. Please post to the SoftLayer forums http://forums.softlayer.com/ or open a support ticket in the SoftLayer customer portal if you have any questions regarding use of this library.

Installation of Jon-SL-scripts

Download scripts into directory.

Configuration of Jon-SL-scripts There are two methods to configure the USERNAME and API key to use with these scripts.

Create a config.ini file with your username and API key. If you have not already generated a SoftLayer APIKEY log into http://control.softlayer.com, select Account - Users, click on Generate, then click View to view the API Key. This value along with your username should be included in the config.ini file. By default the script will read the config.ini file in the same directory as the script. You can specify and alternate file or location with the -c argument.

[api]
username=  <== SoftLayer Username goes here.
apikey=   <== Softlayer APIKEY goes here.

Pass your username and APIKEY via command line argument

usage: script.py [-h] [-u USERNAME] [-k APIKEY] [-c CONFIG]

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        SoftLayer API Username
  -k APIKEY, --apikey APIKEY
                        SoftLayer APIKEY
  -c CONFIG, --config CONFIG
                        config.ini file to load

jon-sl-scripts's People

Contributors

jonghall avatar midoblgsm avatar mogalabs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.