Changes between Version 19 and Version 20 of Tutorials/4G5G/Inter Digital-5G


Ignore:
Timestamp:
Jun 4, 2020, 5:11:24 PM (4 years ago)
Author:
mackjx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/Inter Digital-5G

    v19 v20  
    190190When selected, the LED will turn “green” indicating the GUI is communicating with the respective node.
    191191
     192[[CollapsibleStart(Enable Logging to DataBase)]]
     193The configuration file WEBSERVER/server/config.js located on srv3-lg1.sb1.cosmos-lab.org can be modified to enable logging to the database as follows:
     194
     195{{{#!td align=center
     196config.js
     197}}}
     198|---------------
     199{{{#!td
     200{{{#!shell
     201//MongoDB Database parameters
     202  dbAvailable: true,
     203  dbStore: true,
     204  dbCollectionName: "nr_guidata", //This is not a fixed value and can be changed
     205  dbHost: "127.0.0.1", //Address of databases server
     206  dbPort: 27017,
     207  //End Database parameters
     208
     209}}}
     210}}}
     211|---------------
     212
     213Once the configuration file has been saved the server will automatically restart and all data streamed to the GUI will be saved in the database.   The Mongo client can be used to browse or extract data.
     214The data model in use can be found in the following file:
     215WEBSERVER/server/backend/models/tlvDataItem.js
     216[[CollapsibleEnd]]
     217
    192218=== Sending iperf data between the gNB and UE ===
    193219