diff options
Diffstat (limited to 'templates/flumotion/default/planet.xml')
-rw-r--r-- | templates/flumotion/default/planet.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/templates/flumotion/default/planet.xml b/templates/flumotion/default/planet.xml new file mode 100644 index 0000000..c1633ee --- /dev/null +++ b/templates/flumotion/default/planet.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<planet name="{{ globals.name }}"> + + <manager name="{{ globals.name }}"> +%% for name, value in globals.manager.items() +%% if name != 'machine' + <{{ name }}>{{ value }}</{{ name }}> +%% endif +%% endfor + <component name="manager-bouncer" type="htpasswdcrypt-bouncer"> + <property name="filename">/etc/flumotion/{{ globals.name }}.passwd</property> + </component> + </manager> + + <atmosphere> +{% for name, component in atmosphere.items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + </atmosphere> + + <flow name="{{ globals.name }}"> +<!-- raw-input, resizing and resampling --> +{% for name, component in flow['input'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + +<!-- encoding --> + <!-- audio --> +{% for name, component in flow['encoder_audio'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + <!-- video --> +{% for name, component in flow['encoder_video'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + +<!-- muxing --> +{% for name, component in flow['muxer'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + +<!-- repeater --> +{% for name, component in flow['repeater'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + +<!-- streaming --> +{% for name, component in flow['streamer'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + </flow> + +</planet> |