Commit c068af12 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 474e3869
......@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum = 2922f6c23062b2a6858a12a9f453eacf
md5sum = 2ea5cf7c97c31acd12b1c8b5b71159a4
[amari_lte.jinja2]
_update_hash_filename_ = amari/lte.jinja2
......@@ -28,7 +28,7 @@ md5sum = 8b24f6cf584eb096a61750e39e376ad0
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum = b71776599bf20493ed6914a7f017822e
md5sum = 737c794082be65a4711798dcc9b6044f
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
......@@ -36,7 +36,7 @@ md5sum = e27ebe0ff200a3e4492412f164ca9b73
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum = 8cfa2d8e5ef5ba3ecc7db2bcc5a0415d
md5sum = f6a32c5c002021e13bf73bd67bae4fe4
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
......@@ -72,7 +72,7 @@ md5sum = e22257ef526b0acc10a8203daa41028b
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = c5fcc1501225f59dffd19e48ef555144
md5sum = 6f6002e9ad9cd774d2d609321e838c17
[template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
......
......@@ -293,7 +293,7 @@ context =
raw testing {{ slapparameter_dict.get("testing", False) }}
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw buildout_directory_path {{ buildout_directory }}
raw CreateProcessingEle_template {{ CreateProcessingEle_template }}
raw ru_lopcomm_CreateProcessingEle_template {{ ru_lopcomm_CreateProcessingEle_template }}
key cu_config_template lopcomm-cu-config:output
import netaddr netaddr
mode = 0775
......
......@@ -263,7 +263,7 @@ extra-context =
raw lopcomm_rrh_config_template ${lopcomm-rrh-config.jinja2.py:target}
raw ru_lopcomm_software_template ${ru_lopcomm_software.jinja2.py:target}
raw lopcomm_rrh_supervision_template ${lopcomm-rrh-supervision.jinja2.py:target}
raw CreateProcessingEle_template ${CreateProcessingEle.jinja2.xml:target}
raw ru_lopcomm_CreateProcessingEle_template ${ru_lopcomm_CreateProcessingEle.jinja2.xml:target}
raw cu_config_template ${cu_config.jinja2.xml:target}
raw openssl_location ${openssl:location}
raw default_lte_inactivity_timer ${default-params:default-lte-inactivity-timer}
......
......@@ -9,7 +9,7 @@ if __name__ == '__main__':
while True:
try:
nc.connect("{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}", 830, "oranuser", "oranpassword")
nc.edit_config(["{{ CreateProcessingEle_template }}", "{{ cu_config_template }}"])
nc.edit_config(["{{ ru_lopcomm_CreateProcessingEle_template }}", "{{ ru_lopcomm_cu_config_template }}"])
break
except Exception as e:
nc.logger.debug('Got exception, waiting 10 seconds before reconnecting...')
......
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