From aab56921f11d509283bcee756e2f55217315576b Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 21 Aug 2018 14:58:29 +0200 Subject: Introduce scenario modifiers Before this patch, scenarios were only used to select resources with specific attributes. This commit introduces "modifiers" in scenarios, which allows setting or modifing config attributes of resources once they have been reserved. This way same test can be run selecting same resources but modifying its configuration, allowing for instance running different number of TRX, different timeslot configuration, etc. Modifiers are described by placing a "modifiers" dictionary in any scenario file, similar to the current "resources" one used to select requird resources. The "modifiers" dictionary is overlaid on top of the "resources" one resulting from combining all the "resources" dictionary of all scenario files. Change-Id: If8c422c67d9a971d9ce2c72594f55cde2db7550d --- example/scenarios/mod-bts0-numtrx2.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 example/scenarios/mod-bts0-numtrx2.conf (limited to 'example/scenarios') diff --git a/example/scenarios/mod-bts0-numtrx2.conf b/example/scenarios/mod-bts0-numtrx2.conf new file mode 100644 index 0000000..eb24fd3 --- /dev/null +++ b/example/scenarios/mod-bts0-numtrx2.conf @@ -0,0 +1,3 @@ +modifiers: + bts: + - num_trx: 2 -- cgit v1.2.3