bts: allow configuring ARFCN and BSIC: add to schema

resources.conf is already allowed to set these, but in order to let
scenarios and suites modify these values, they need to be in the schema.

Change-Id: I8e0583e9208d563c66b0bdc9f25b1b74f92403c2
This commit is contained in:
Neels Hofmeyr 2020-11-27 08:22:21 +01:00
parent ca155b6c37
commit aa67f95027
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ def on_register_schemas():
'channel_allocator': schema.CHAN_ALLOCATOR,
'gprs_mode': schema.GPRS_MODE,
'emergency_calls_allowed': schema.BOOL_STR,
'base_station_id_code': schema.UINT,
'num_trx': schema.UINT,
'max_trx': schema.UINT,
'trx_list[].addr': schema.IPV4,
@ -46,6 +47,7 @@ def on_register_schemas():
'trx_list[].power_supply.type': schema.STR,
'trx_list[].power_supply.device': schema.STR,
'trx_list[].power_supply.port': schema.STR,
'trx_list[].arfcn': schema.UINT,
}
schema.register_resource_schema('bts', resource_schema)