aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-08-28 14:21:15 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-16 21:59:44 +0200
commit57497a6be94065f7dc12752ce160ded77b2c7d6d (patch)
tree802cdc4f59ac0dfc58aa745ee74c3e2861773fb9 /example
parentabd556ab3db0f44305fbcd681d59d59ffd2a2b90 (diff)
Add cipher cfg param for modem and bts
This parameter is contains a list of supported encryption ciphers by the modem or bts setting it. It is so far not directly/automatically used inside osmo-gsm-tester code, but can be useful to create scenarios for tests that require specific ciphering modes. For instance, aoip_encryption suite contains tests that require a BTS and a modem that supports a5 0 and a5 1, otherwise tests will fail. Change-Id: Ic0e368843a6e58bd3eeef36d2c0a7501296f0f3e
Diffstat (limited to 'example')
-rw-r--r--example/default-suites.conf2
-rw-r--r--example/resources.conf7
-rw-r--r--example/scenarios/cipher-a50.conf7
-rw-r--r--example/scenarios/cipher-a51.conf7
4 files changed, 22 insertions, 1 deletions
diff --git a/example/default-suites.conf b/example/default-suites.conf
index 0198486..1e8d47a 100644
--- a/example/default-suites.conf
+++ b/example/default-suites.conf
@@ -6,4 +6,4 @@
- aoip_sms:trx-sysmocell5000
- smpp
- aoip_smpp
-- aoip_encryption
+- aoip_encryption:cipher-a50+cipher-a51
diff --git a/example/resources.conf b/example/resources.conf
index f190c2f..95cb8cf 100644
--- a/example/resources.conf
+++ b/example/resources.conf
@@ -13,6 +13,7 @@ bts:
ipa_unit_id: 1
addr: 10.42.42.114
band: GSM-1800
+ ciphers: [a5_0, a5_1, a5_3]
- label: Ettus B200
type: osmo-bts-trx
@@ -20,6 +21,7 @@ bts:
addr: 10.42.42.50
band: GSM-1800
launch_trx: true
+ ciphers: [a5_0, a5_1]
- label: sysmoCell 5000
type: osmo-bts-trx
@@ -27,6 +29,7 @@ bts:
addr: 10.42.42.51
band: GSM-1800
trx_remote_ip: 10.42.42.112
+ ciphers: [a5_0, a5_1]
arfcn:
- arfcn: 512
@@ -56,21 +59,25 @@ modem:
imsi: '901700000009031'
ki: '80A37E6FDEA931EAC92FFA5F671EFEAD'
auth_algo: 'xor'
+ ciphers: [a5_0, a5_1]
- label: sierra_2
path: '/sierra_2'
imsi: '901700000009029'
ki: '00969E283349D354A8239E877F2E0866'
auth_algo: 'xor'
+ ciphers: [a5_0, a5_1]
- label: gobi_0
path: '/gobi_0'
imsi: '901700000009030'
ki: 'BB70807226393CDBAC8DD3439FF54252'
auth_algo: 'xor'
+ ciphers: [a5_0, a5_1]
- label: gobi_3
path: '/gobi_3'
imsi: '901700000009032'
ki: '2F70DCA43C45ACB97E947FDD0C7CA30A'
auth_algo: 'xor'
+ ciphers: [a5_0, a5_1]
diff --git a/example/scenarios/cipher-a50.conf b/example/scenarios/cipher-a50.conf
new file mode 100644
index 0000000..107172b
--- /dev/null
+++ b/example/scenarios/cipher-a50.conf
@@ -0,0 +1,7 @@
+resources:
+ bts:
+ - ciphers:
+ - a5_0
+ modem:
+ - ciphers:
+ - a5_0
diff --git a/example/scenarios/cipher-a51.conf b/example/scenarios/cipher-a51.conf
new file mode 100644
index 0000000..8539867
--- /dev/null
+++ b/example/scenarios/cipher-a51.conf
@@ -0,0 +1,7 @@
+resources:
+ bts:
+ - ciphers:
+ - a5_1
+ modem:
+ - ciphers:
+ - a5_1