summaryrefslogtreecommitdiff
path: root/README
blob: 9403f81c856a75b074483832c637e3156862df12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Introduction
============

flufig is a simple flumotion configuration generator using
pyhton jinja2 template engine and simplejson. flufig generates
planet.xml and worker.xml files from configuration templates and
a easy representation of the flow structure written in json.


Dependencies
============

 python-jinja2
 python-simplejson


Installation/Usage
==================

Getting the source via subversion:
----------------------------------

svn co https://svn.spreadspace.org/flufig/trunk tcpproxy
cd flufig/src

Usage
-----

Edit templates to your needs, edit data.json containing your
planet structure.

# flufig.py <name> <data.json>

The script expects planet.xml and worker.xml to be present in
the directory ../templates/<name>/ and loads them as templates
for manager and worker configuration files.
All templates referenced by the master templates must reside
inside ../templates/<name>/.

data structure
--------------

tba...