Commit 5d9f4fb2 authored by Lu Xu's avatar Lu Xu 👀

wip

parent dd0a3764
......@@ -44,7 +44,7 @@ md5sum = b7906ca3a6b17963f78f680fc0842b74
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum = caa51d27f5a5cd5b23e4c088b3e3bb02
md5sum = eca870a3e0fbe86a41ca9ae77f6f9ef3
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
......@@ -56,7 +56,7 @@ md5sum = 5cc878f4c596335a1b6d90e1c03b53a5
[ru_lopcomm_delay.jinja2.py]
_update_hash_filename_ = ru/lopcomm/delay.jinja2.py
md5sum = ac284ce07181d3c5d1a5f4fc7cdb2304
md5sum = 96b8d838b2594ec2f194f16f35758293
[ru_lopcomm_stats.jinja2.py]
_update_hash_filename_ = ru/lopcomm/stats.jinja2.py
......
......@@ -21,6 +21,25 @@ config-host = ${vtap.{{ru.cpri_link._tap}}:gateway}
config-port = 830
{%- endif %}
{{ part('%s-delay-template' % ru_ref) }}
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{B('%s-delay' % ru_ref)}}
log-output = ${:_logbase}.log
delay-reply-json-log-output = ${:_logbase}-reply.json.log
context =
section directory directory
section vtap vtap.{{ ru.cpri_link._tap }}
key slapparameter_dict myslap:parameter_dict
key log_file :log-output
key delay_reply_json_log_file :delay-reply-json-log-output
key remote_file_path :remote-file-path
raw testing {{ testing }}
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw buildout_directory_path {{ buildout_directory }}
mode = 0775
url = {{ ru_lopcomm_delay_template }}
output = ${directory:script}/{{B('%s-delay.py' % ru_ref)}}
{#- push firmware to RU #}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment