From 849357bb9ca1d27993c9e96b93156ec69b3ac3a9 Mon Sep 17 00:00:00 2001 From: Yury Kylulin Date: Thu, 11 Feb 2021 16:58:39 +0300 Subject: Add support for native Kubernetes CPU Manager For Kubernetes environment core ids in the config and test files are relative and automatically remapped to the allowed cores allocated for container. There is no change to the baremetal or VM environment. Signed-off-by: Yury Kylulin Change-Id: I63e499723e8213de1b05d4175eb3eddc4492ccf5 --- VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py index 136bc273..c1ab36a0 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py @@ -120,7 +120,7 @@ class RapidConfigParser(object): for option in options: if option in ['prox_socket','prox_launch_exit','monitor']: machine[option] = testconfig.getboolean(section, option) - elif option in ['cores', 'gencores','latcores']: + elif option in ['mcore', 'cores', 'gencores','latcores']: machine[option] = ast.literal_eval(testconfig.get( section, option)) elif option in ['bucket_size_exp']: -- cgit 1.2.3-korg