diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-02-03 03:15:56 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-02-03 03:15:56 +0100 |
commit | a43d1a058491d0255fd732f2f964379f18418356 (patch) | |
tree | c97bc7414e86afb4f1e4a254d2659efb4655d39e /templates/default/flumotion/planet.xml.j2 | |
parent | creating and removing worspaces works now (diff) |
deploying manager to k8s works now
Diffstat (limited to 'templates/default/flumotion/planet.xml.j2')
-rw-r--r-- | templates/default/flumotion/planet.xml.j2 | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/templates/default/flumotion/planet.xml.j2 b/templates/default/flumotion/planet.xml.j2 new file mode 100644 index 0000000..2f99c0e --- /dev/null +++ b/templates/default/flumotion/planet.xml.j2 @@ -0,0 +1,58 @@ +<?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.j2' % component.type %} +{% endfor %} + </atmosphere> + + <flow name="{{ globals.name }}"> +<!-- raw-input, resizing and resampling --> +{% for name, component in flow['inputs'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + +<!-- encoding --> + <!-- audio --> +{% for name, component in flow['encoders-audio'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + <!-- video --> +{% for name, component in flow['encoders-video'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + +<!-- muxing --> +{% for name, component in flow['muxers'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + +<!-- repeater --> +{% for name, component in flow['repeaters'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + +<!-- streaming --> +{% for name, component in flow['streamers'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + +<!-- recording --> +{% for name, component in flow['recorders'].items() %} +{% include '%s.xml.j2' % component.type %} +{% endfor %} + </flow> + +</planet> |