Commit 9df037b5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 71f89d15
import json
config = "enb" config = "enb"
json_params_empty = """{ json_params_empty = """{
"rf_mode": 'fdd', "rf_mode": 'fdd',
...@@ -8,6 +10,15 @@ json_params_empty = """{ ...@@ -8,6 +10,15 @@ json_params_empty = """{
"slapparameter_dict": { "slapparameter_dict": {
} }
}""" }"""
CELL1 = {
}
RU2 = {
}
jCELL1 = json.dumps(CELL1)
jRU2 = json.dumps(RU2)
json_params = """{ json_params = """{
"earfcn": 126357, "earfcn": 126357,
"tx_gain": 50, "tx_gain": 50,
...@@ -61,18 +72,21 @@ json_params = """{ ...@@ -61,18 +72,21 @@ json_params = """{
}, },
"slave_instance_list": [ "slave_instance_list": [
{ {
"slave_title": XXX, "slave_title": "Cell 1",
"slave_reference": XXX, "slave_reference": "_cell1",
"slap_software_type": XXX "slap_software_type": "enb",
"timestamp": "_": %(jCELL1)s
"xml": },
"connection_xml": {
"slave_title": "Radio Unit 2",
"slave_reference": "_ru2",
"slap_software_type": "enb",
"_": %(jRU2)s
}, },
], ],
} }
}""" }""" % globals()
import os import os
import json
from jinja2 import Environment, StrictUndefined, \ from jinja2 import Environment, StrictUndefined, \
BaseLoader, TemplateNotFound, PrefixLoader BaseLoader, TemplateNotFound, PrefixLoader
import six import six
......
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