Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.toolbox
Commits
e40bdd6f
Commit
e40bdd6f
authored
May 27, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stabilise documentation formatting.
parent
62fa4ccb
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
52 deletions
+72
-52
README.txt
README.txt
+2
-0
slapos/README.builder.txt
slapos/README.builder.txt
+3
-3
slapos/README.cloudmgr.txt
slapos/README.cloudmgr.txt
+2
-0
slapos/README.monitor.txt
slapos/README.monitor.txt
+2
-2
slapos/README.shacache.txt
slapos/README.shacache.txt
+60
-47
slapos/README.webrunner.txt
slapos/README.webrunner.txt
+3
-0
No files found.
README.txt
View file @
e40bdd6f
slapos.toolbox
==============
slapos/README.builder.txt
View file @
e40bdd6f
slap
builder
=======
====
builder
=======
slap
builder is a program to install a slapos image.
builder is a program to install a slapos image.
slapos/README.cloudmgr.txt
View file @
e40bdd6f
cloudmgr
========
slapos/README.monitor.txt
View file @
e40bdd6f
slap.
monitor
=======
=====
monitor
=======
Monitoring for SLAP (Simple Language for Accounting and Provisioning) python library.
slapos/README.shacache.txt
View file @
e40bdd6f
Introduction
========
===========
shacache
========
The network cache server is a NoSQL storage with a REST API.
How does it works
===================
-----------------
::
_______________
/ \
| |
...
...
@@ -24,7 +27,9 @@ 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:
::
API:
PUT / :
parameter: file uploaded
Used to upload/modify an entry
...
...
@@ -35,65 +40,73 @@ API:
Installation
==============
$ python2.6 setup.py install
------------
::
$ 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:
Follow text shall be put in this file:
:
[networkcached]
host = 127.0.0.1
port = 5001
cache_base_folder = /var/cache/networkcached/
[networkcached]
host = 127.0.0.1
port = 5001
cache_base_folder = /var/cache/networkcached/
Run the server:
# networkcached networkcached.conf
Run the server::
# networkcached networkcached.conf
Setup Develoment Environment
===============================
----------------------------
::
$ mkdir -p ~/networkcached/downloads
$ cd ~/networkcached
$ 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:
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
[buildout]
extensions = mr.developer
auto-checkout = slapos.tool.networkcached
download-cache = /nexedi/buildout-networkcached/downloads
eggs-directory = /nexedi/buildout-networkcached/eggs
parts =
parts =
networkcached
[sources]
slapos.tool.networkcached = svn https://svn.erp5.org/repos/vifib/trunk/utils/slapos.tool.networkcached
[sources]
slapos.tool.networkcached = svn https://svn.erp5.org/repos/vifib/trunk/utils/slapos.tool.networkcached
[networkcached]
recipe = zc.recipe.egg
eggs =
[networkcached]
recipe = zc.recipe.egg
eggs =
slapos.tool.networkcached
Now you bootstrap the buildout:
$ python -S -c 'import urllib;print urllib.urlopen(\
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
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:
Follow text shall be put in this file:
:
[networkcached]
host = 127.0.0.1
port = 5001
cache_base_folder = ~/networkcached/networkcached-database
[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
...
...
slapos/README.webrunner.txt
View file @
e40bdd6f
webrunner
=========
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment