Code Monkey home page Code Monkey logo

knife-voxel's Introduction

= Introduction =

knife-voxel is a plugin for the tool 'knife', part of the configuration management system 'chef'.   http://www.opscode.com/.   It allows you to provision Voxel dot Net (www.voxel.net) cloud instances (physical as well as virtual) and then bootstrap them as chef clients.

This plugin is currently a work in progress, although all major functions should work as expected.  The command set models Voxel's API hAPI (http://api.voxel.net/docs/) .   We depend on the voxel-hapi library for access to this API.   This will be replaced with a fog provider based backend in the future.

= Authentication =

Authentication can be handled in a few different ways. For each command you can pass --voxel-api-key and --voxel-api-secret with your corresponding hAPI key/secret pair. Or if you prefer, you can utilize your username and password via the --voxel-api-username and --voxel-api-password parameters. Both of these parameter sets can be specified in a knife.rb file, saving you the trouble of entering them each time at the command line. We suggest using a stored authkey/secret pair rather than a username and password when placing these options in knife.rb. The syntax is:

knife[:voxel_api_key] = '01234567890'
knife[:voxel_api_secret] = '09876543210'

= Usage = 

** VOXEL COMMANDS **
knife voxel voxcloud delete DEVICE_ID (options)
knife voxel voxservers inventory list (options)
knife voxel images list (options)
knife voxel voxcloud create (options)
knife voxel devices list (options)
knife voxel voxservers delete DEVICE_ID (options)
knife voxel voxservers create (options)
knife voxel voxcloud facilities list
knife voxel voxservers facilities list

= Examples =

> knife voxel voxcloud delete 12345

> knife voxel voxcloud create --image-id 55 --hostname app1.domain.com \
  --processing-cores 4 --disk-size 20 --facility LGA8

= Author =

J. W. Brinkerhoff <[email protected]>

knife-voxel's People

Contributors

omerhasan avatar splaspood avatar warwickp avatar

Watchers

 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.