From: Alex Stancu Date: Wed, 5 Feb 2025 18:55:43 +0000 (+0200) Subject: Add PM data generation capabilities. X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=1f6db7bef7f7d64f96406c9654dadd656413da7e;p=sim%2Fo1-ofhmp-interfaces.git Add PM data generation capabilities. Issue-ID: SIM-123 Change-Id: I872fee2bba475a4d1707cfb72d4150d977d2770e Signed-off-by: Alex Stancu --- diff --git a/.env b/.env index 68ee7f4..1cd4ea3 100644 --- a/.env +++ b/.env @@ -15,7 +15,7 @@ # * limitations under the License. # ***************************************************************************/ -NTS_VERSION=0.8.1 +NTS_VERSION=0.9.1 # Network settings HOST_IP=192.168.10.253 diff --git a/.gitignore b/.gitignore index b0f8294..8a41e4f 100644 --- a/.gitignore +++ b/.gitignore @@ -140,3 +140,5 @@ integration/.env* # VS Code .vscode/ + +base/docker/conf/*.p12 diff --git a/base/docker/conf/vsftpd.conf b/base/docker/conf/vsftpd.conf index f6e0c25..64e577f 100644 --- a/base/docker/conf/vsftpd.conf +++ b/base/docker/conf/vsftpd.conf @@ -1,4 +1,4 @@ -listen=YES +listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES diff --git a/base/src/performance_management/performance_management.py b/base/src/performance_management/performance_management.py index a5d1ddd..58cbf7c 100644 --- a/base/src/performance_management/performance_management.py +++ b/base/src/performance_management/performance_management.py @@ -90,8 +90,8 @@ class PerformanceManagement: # apply vsftpd changes os.system("killall -9 vsftpd") - # read template from performance-management/template.xml - template_path = '/data/performance-management/template.xml' + # read template from performance-management/template_5G_NR.xml + template_path = '/data/performance-management/template_5G_NR.xml' if Path(template_path).exists(): with open(template_path, 'r') as file: self.template = file.read() diff --git a/doc/performance-management.md b/doc/performance-management.md index 3942f5a..f05accc 100644 --- a/doc/performance-management.md +++ b/doc/performance-management.md @@ -30,7 +30,7 @@ This file configures the performance data generation. It contains two objects: - the values are integer format - each object *MUST* contain data for *ALL* points defined -### performance-management/template.xml +### performance-management/template_5G_NR.xml The template is defined by this file. By design, it is an XML file. diff --git a/o-du-o1/data/performance-management/index.json b/o-du-o1/data/performance-management/index.json index c578f58..1a8a5d4 100644 --- a/o-du-o1/data/performance-management/index.json +++ b/o-du-o1/data/performance-management/index.json @@ -6,25 +6,35 @@ "points": [ "DRB.MeanActiveUeDl", "DRB.MeanActiveUeUl", - "DRB.MaxActiveUeDl" + "DRB.UEThpDl", + "DRB.UEThpUl" ] }, "values": [ { - "DRB.MeanActiveUeDl": 0, - "DRB.MaxActiveUeDl": 3, - "DRB.MeanActiveUeUl": 17 + "DRB.MeanActiveUeDl": 22, + "DRB.MeanActiveUeUl": 3, + "DRB.UEThpDl": 17, + "DRB.UEThpUl": 5 }, { - "DRB.MeanActiveUeDl": 1, - "DRB.MaxActiveUeDl": 4, - "DRB.MeanActiveUeUl": 19 + "DRB.MeanActiveUeDl": 27, + "DRB.MeanActiveUeUl": 4, + "DRB.UEThpDl": 19, + "DRB.UEThpUl": 7 }, { - "DRB.MeanActiveUeDl": 2, - "DRB.MaxActiveUeDl": 9, - "DRB.MeanActiveUeUl": 19 + "DRB.MeanActiveUeDl": 30, + "DRB.MeanActiveUeUl": 9, + "DRB.UEThpDl": 19, + "DRB.UEThpUl": 3 + }, + { + "DRB.MeanActiveUeDl": 5, + "DRB.MeanActiveUeUl": 4, + "DRB.UEThpDl": 3, + "DRB.UEThpUl": 3 } ] } diff --git a/o-du-o1/data/performance-management/template_5G_NR.xml b/o-du-o1/data/performance-management/template_5G_NR.xml new file mode 100644 index 0000000..dce9318 --- /dev/null +++ b/o-du-o1/data/performance-management/template_5G_NR.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + @point-start@@point-name@@point-end@ + + @value-start@@value@@value-end@ + @suspect@ + + + + + + +