Commit a015dfa2 authored by Joanne Hugé's avatar Joanne Hugé

software/ors-amarisoft: empty ue_db, use shared instances instead

parent 2bb9b52b
...@@ -40,7 +40,7 @@ md5sum = a4bb020da807666668193cffcb7884d6 ...@@ -40,7 +40,7 @@ md5sum = a4bb020da807666668193cffcb7884d6
[ue_db.jinja2.cfg] [ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg filename = config/ue_db.jinja2.cfg
md5sum = b781aafa07e3105731a3845eabf7a372 md5sum = d33163012d6c98efc59161974c649557
[enb.jinja2.cfg] [enb.jinja2.cfg]
filename = config/enb.jinja2.cfg filename = config/enb.jinja2.cfg
......
ue_db: [{ {%- set filtered_slave_instance_list = [] %}
sim_algo: "xor", /* USIM authentication algorithm: xor, milenage or tuak */ {%- for slave_instance in slave_instance_list %}
imsi: "001010123456789", /* Anritsu Test USIM */ {%- if slave_instance.get('imsi', '') != '' %}
// imsi: "001012345678901", /* Agilent or R&S Test USIM */ {%- do filtered_slave_instance_list.append(slave_instance) %}
amf: 0x9001, /* Authentication Management Field */ {%- endif %}
sqn: "000000000000", /* Sequence Number */ {%- endfor -%}
K: "00112233445566778899aabbccddeeff", /* Anritsu Test USIM */ ue_db: [
// K: "4147494C454E5420544543484E4F0000", /* Agilent Test USIM */ {%- for i, slave_instance in enumerate(filtered_slave_instance_list) %}
// K: "000102030405060708090A0B0C0D0E0F", /* R&S Test USIM */ {%- if i == 0 -%}
{
impi: "001010123456789@ims.mnc001.mcc001.3gppnetwork.org", {%- else -%}
impu: ["001010123456789", "tel:0600000000", "tel:600"], , {
domain: "ims.mnc001.mcc001.3gppnetwork.org", {%- endif %}
multi_sim: true, /* Experimental */
/* For standard SIP client */
/*pwd: "amarisoft",
authent_type: "MD5",*/
}, {
sim_algo: "milenage",
imsi: "001010000000001",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: ["sip:impu01", "tel:0600000001"],
impi: "impi01@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000002",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: ["sip:impu02", "tel:0600000002"],
impi: "impi02@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000003",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: ["sip:impu03", "tel:0600000003"],
impi: "impi03@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000004",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu04",
impi: "impi04@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000005",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu05",
impi: "impi05@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000006",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu06",
impi: "impi06@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000007",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu07",
impi: "impi07@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000008",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu08",
impi: "impi08@amarisoft.com",
}, {
sim_algo: "milenage",
imsi: "001010000000009",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu09",
impi: "impi09@amarisoft.com",
}, {
{% for slave_instance in slave_instance_list -%}
{% if slave_instance.get('imsi', '') != '' %}
sim_algo: "{{ slave_instance.get('sim_algo', 'milenage') }}", sim_algo: "{{ slave_instance.get('sim_algo', 'milenage') }}",
imsi: "{{ slave_instance.get('imsi', '') }}", imsi: "{{ slave_instance.get('imsi', '') }}",
opc: "{{ slave_instance.get('opc', '') }}", opc: "{{ slave_instance.get('opc', '') }}",
...@@ -108,15 +19,7 @@ ue_db: [{ ...@@ -108,15 +19,7 @@ ue_db: [{
K: "{{ slave_instance.get('k', '') }}", K: "{{ slave_instance.get('k', '') }}",
impu: "{{ slave_instance.get('impu', '') }}", impu: "{{ slave_instance.get('impu', '') }}",
impi: "{{ slave_instance.get('impi', '') }}", impi: "{{ slave_instance.get('impi', '') }}",
}, { }
{% endif %} {%- endfor -%}
{% endfor -%} ]
sim_algo: "milenage",
imsi: "001010000000010",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
K: "00112233445566778899AABBCCDDEEFF",
impu: "impu10",
impi: "impi10@amarisoft.com",
}]
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