skip to navigation
skip to content

Not Logged In

slapos.toolbox 0.31.1

SlapOS toolbox.

Latest Version: 0.47.3

slapos.toolbox
==============

0.3.1 (2012-10-02)
=================
* slaprunner: Add new file manager. [Alain Takoudjou]
* slaprunner: Ask confirm before delete important folder. [Alain Takoudjou]

0.31 (2012-10-02)
=================

* slaprunner: Add correct support for software_type. [Cedric de Saint Martin]

0.30 (2012-08-29)
=================

* Add promise support on slapcontainer script. [Antoine Catton]

0.29.1 (2012-08-23)
===================

* Minor fix on slapcontainer. [Antoine Catton]

0.29 (2012-08-22)
=================

* Add slapcontainer stateless script. [Antoine Catton]

0.28.2 (2012-08-17)
===================

* Slaprunner: Move password, process pid and config files to etc_dir [Alain Takoudjou]

0.28.1 (2012-08-15)
===================

* Update ACE to 08.11.2012 and JQuery to 1.8.0. [Cedric de Saint Martin]

0.28 (2012-08-09)
=================

* slaprunner: add support for authentication management. [Alain Takoudjou]

0.27 (2012-08-07)
=================

* pubsub: add support for multiple notification servers. [Timothée Lacroix]

0.26.1 (2012-07-09)
===================

* runner: Add support to slapos.core 0.26.2 [Cedric de Saint Martin]

0.26 (2012-07-06)
=================

* slaprunner now supports authentication and instance parameters.
[Alain Takoudjou]
* Redisign of Test Agent so that it supports proper instantiation test and
report. [Vincent Pelletier]

0.25 (2012-06-19)
=================

* slapmonitor is fully functional. [Mohamadou Mbengue]

0.24 (2012-04-19)
=================

* Slap Test Agent : test software release installation and instance allocation [Yingjie Xu]

0.22 (2012-04-05)
=================

* Install argparse if missing [Łukasz Nowak]

0.21 (2012-04-04)
=================

* zodbpack : simple tool to pack ZODB [Łukasz Nowak]

0.20 (2012-03-28)
=================

* slaprunner : fix recursive include of .gif files [Alain Takoudjou]

0.19 (2012-03-28)
=================

* slaprunner : Add Support for more instances at the same time. [Alain Takoudjou]
* slaprunner : Add slapgrid process control and management. [Alain Takoudjou]
* slaprunner : Add Cloud9 IDE. [Alain Takoudjou]
* slaprunner : Add develop location of cloned git repository. [Alain Takoudjou]

0.18 (2012-02-23)
=================

* slaprunner : Add git commit and push support. [Alain Takoudjou]
* slaprunner : Solve UI problems in project management. [Alain Takoudjou]
* slaprunner : Solve bug where ACE modifies carrier returns. [Alain Takoudjou]
* slaprunner : Add ajax view of build log. [Alain Takoudjou]
* slaprunner : Allow to edit any file in repository. [Alain Takoudjou]

0.17 (2012-02-10)
=================

* slapbuilder: Update slapbuilder to new OpenSuse 12.1. [Cedric Le Ninivin]
* slapbuilder: Added automatic IPv6 support thanks to ViFiB OpenVPN.
[Cedric Le Ninivin]
* slapbuilder: Added virtual machine support. [Cedric Le Ninivin]
* slapbuilder: Added "One Disk" feature. [Cedric Le Ninivin]

0.16 (2012-01-20)
=================

* Fix MANIFEST.in [Cedric de Saint Martin]

0.15 (2012-01-20)
=================

* slaprunner: Adding project and git repository management [Alain Takoudjou]

0.14 (2012-01-09)
=================

* onetimeupload: SSL should be provided by an http frontend [Romain Courteaud]

0.13 (2011-12-30)
=================

* builder: fix usage of mkstemp [Romain Courteaud]

0.12 (2011-12-29)
=================

* builder: dynamic offset calculation [Romain Courteaud]

0.11 (2011-12-23)
=================

* equeue: Add execution queue server. [Antoine Catton]
* pubsub: Add pubsub server using pubsubhubbub for notifications. [Antoine Catton]

0.10 (2011-11-07)
=================

* slapbuilder: Support banging. [Łukasz Nowak]
* lamp : Fix bug when using file_token option [Alain Takoudjou]

0.9 (2011-10-29)
================

* Add LAMP tool to manage lamp instances. [Alain Takoudjou]
* Add onetimedownload : a simple script which download any http resource
and save it into a specified file_path. [Nicolas Delaby]

0.8 (2011-10-24)
================

* Add new style to runner. [Alain Takoudjou]

0.7 (2011-10-17)
================

* generic: Added systool with killpidfromfile. [Łukasz Nowak]
* slaprunner: Avoid error when trying to remove instance directory containing
not writable directories. [Alain Takoudjou]

0.6 (2011-07-13)
================

* slapbuilder: Typo during PKI repository creation fixed. [Łukasz Nowak]

0.5 (2011-07-12)
================

* slapbuilder: Do not play too much with buildout, SlapOS installation is
responsible for correctly featured zc.buildout [Łukasz Nowak]

0.4 (1011-07-11)
================

* Update slaprunner to run on newer slapos (requires at least 0.10
to work). [Cedric de Saint Martin]

0.3 (2011-06-27)
================

* slapbuilder: use slapos provided networkcached buildout.
* slapbuilder: fix network issues on busy networks ("Neighbour table
overflow.")

0.2 (2011-06-10)
================

* In slapbuilder: drop to 100 partitions by default, move out PKI from USB key
to real disk. [Łukasz Nowak]

0.1 (2011-05-27)
================

* Created slapos.toolbox from slapos.tool.builder, slapos.tool.runner,
slapos.tool.cloudmgr, slapos.tool.ontimeupload and slapos.tool.networkcache.
[Łukasz Nowak]


builder
=======

builder is a program to install a slapos image.


cloudmgr
========


monitor
=======

Monitoring for SLAP (Simple Language for Accounting and Provisioning) python library.



onetimeupload
=============

onetimeupload is an HTTP application which only accepts one file to be
uploaded.


shacache
========

The network cache server is a NoSQL storage with a REST API.


How does it works
-----------------

::

_______________
/ \
| |
------>| NETWORKCACHED |
| ----| |<-----
| | \_______________/ |
GET /key | | |
| | File | PUT / <- data
__|__v______ ______|_____
| | | |
| Client | | Client |
|____________| |____________|


Basically, the networkcached archives the files through HTTP PUT method.
When a client want to download the file it just need to provide the key
value and the server will send a response with the file data.

::

API:
PUT / :
parameter: file uploaded
Used to upload/modify an entry

GET /<key>
Return raw content
Raise HTTP error (404) if key does not exist


Installation
------------

::

$ python2.6 setup.py install

Now it is time to create the 'networkcached.conf' file in /etc/networkcached.conf
directory, using your preferred text editor (gedit, kate, vim.).
Follow text shall be put in this file::

[networkcached]
host = 127.0.0.1
port = 5001
cache_base_folder = /var/cache/networkcached/

Run the server::

# networkcached networkcached.conf


Setup Develoment Environment
----------------------------

::

$ mkdir -p ~/networkcached/downloads
$ cd ~/networkcached

Now it is time to create 'buildout.cfg' file in ~/networkcached directory,
using your preferred text editor (gedit, kate, vim.).
Follow text shall be put in this file::

[buildout]
extensions = mr.developer
auto-checkout = slapos.tool.networkcached
download-cache = /nexedi/buildout-networkcached/downloads
eggs-directory = /nexedi/buildout-networkcached/eggs

parts =
networkcached

[sources]
slapos.tool.networkcached = svn https://svn.erp5.org/repos/vifib/trunk/utils/slapos.tool.networkcached

[networkcached]
recipe = zc.recipe.egg
eggs =
slapos.tool.networkcached

Now you bootstrap the buildout::

$ python -S -c 'import urllib;print urllib.urlopen(\
"http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py"\
).read()' | python -S -

Run the buildout::

$ bin/buildout -v

Now it is time to create the 'networkcached.conf' file in ~/networkcached
directory, using your preferred text editor (gedit, kate, vim.).
Follow text shall be put in this file::

[networkcached]
host = 127.0.0.1
port = 5001
cache_base_folder = ~/networkcached/networkcached-database

Now you can start your networkcached server:
$ bin/networkcached networkcached.conf
or
$ bin/networkcached -d networkcached-database -a 127.0.0.1 -p 5002


webrunner
=========  
File Type Py Version Uploaded on Size
slapos.toolbox-0.31.1.tar.gz (md5) Source 2012-10-03 391KB
  • Downloads (All Versions):
  • 73 downloads in the last day
  • 1152 downloads in the last week
  • 4527 downloads in the last month