aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPriyadharshini <priyadharshini.b96@wipro.com>2020-03-16 05:55:43 +0000
committerPriyadharshini <priyadharshini.b96@wipro.com>2020-03-23 09:11:55 +0530
commitcfb63b2c5c381434a6fdea794ad0c2e89a2be328 (patch)
tree586b997a0634198bf0b0ded5dbbde51ff7311b27 /README.md
parent44d8e15bda321936078b99f8222175a8ab016bc6 (diff)
Initial code check-in RANSim Controller and RANSim GUI
Issue-ID: INT-1485 Signed-off-by: Priyadharshini <priyadharshini.b96@wipro.com> Change-Id: I99fe693065072ff5c9b188f2177488a4cd93237d
Diffstat (limited to 'README.md')
-rw-r--r--README.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..12eec96
--- /dev/null
+++ b/README.md
@@ -0,0 +1,59 @@
+# ONAP RAN-SIM
+
+# Introduction :
+
+RAN-SIM is a Radio Access Network Simulator, it is used to simulate the various functionalities of an eNodeB.
+
+# Compilation Steps :
+
+RAN-SIM can be compiled with `mvn clean install`. By default it executes:
+- the standard unit tests
+- the Spring integration tests
+- BUT *does not build the docker images*
+
+You can disable the integration tests by executing: `mvn clean install -DskipTests=true -Dmaven.test.skip=true`
+
+# Building Docker images :
+
+You can build docker images by executing profile "docker": `mvn clean install -P docker`
+
+# Running RAN-SIM :
+
+- After successful build navigate to 'ran-simulator/ransim/docker' directory.
+- Use docker-compose up -d to start RAN-SIM
+- Access the GUI using the following url in the web browser: 'http://<yourIP>:8081/ransimui'
+
+# Logging :
+- Login to ransim pod and you can get the logs from /opt/app/policy/servers/ransim/logs/ransim-rest.log
+
+# Configuration :
+The following capabilities can be modified in the 'ransim.properties' file based on user capabilities and configurations.
+
+ File directory:
+ ran-simulator/ransim/ransimctrlr/packages/base/src/files/install/servers/ransim/bin/ransim.properties
+ a) serverIdPrefix: Netconf server common prefix (use default value present in the file)
+ b) numberOfCellsPerNCServer: Maximum number of cells that can be handled in a single netconf server(use default value present in the file).
+ c) numberOfProcessPerMc:
+ Maximum number of netconf servers that can run in a single machine(use default value present in the file, which is for a machine of 8 GB RAM)
+ (A single netconf server uses approximately 350MB).
+ d) numberOfMachines:
+ Maximum number of machines available(use default value present in the file).
+ e) GridSize: (Applicable only for HONEYCOMB representation)
+ The number of cells that can be accommodated along one side of the cluster for an auto-generated layout.
+ However, it has no relevance now, as the initial layout is generated from a file. So use default value as 1.
+ f) strictValidateRansimAgentsAvailability:
+ A boolean value to check if any RAN-Sim agents are running (use default value present in the file).
+ g) sdnrServerIp:
+ SDNR IP address
+ h) sdnrServerPort:
+ SDNR port number
+ i) sdnrServerUserid:
+ SDNR user ID
+ j) sdnrServerPassword:
+ SDNR user password
+ k) maxPciValueAllowed:
+ maximum value of the physical cell Id. (Default is 503).
+ l)dumpFileName
+ Location of the dumpfile to load the topology.
+ The dump file is loaded from 'ran-simulator/ransim/docker/config'. A sample dump file - 'sample.json' contains deatils of 1000 cells.
+ For the controller to access the dump file from the the above location use the path - /tmp/ransim-install/config/sample.json