Merge remote-tracking branch 'origin/repair-f1-5g' into F1C_extensions_develop
This commit is contained in:
@@ -636,7 +636,7 @@ class Containerize():
|
|||||||
mySSH.copyout(self.eNBIPAddress, self.eNBUserName, self.eNBPassword, './' + self.eNB_logFile[self.eNB_instance], self.eNBSourceCodePath + '/cmake_targets/')
|
mySSH.copyout(self.eNBIPAddress, self.eNBUserName, self.eNBPassword, './' + self.eNB_logFile[self.eNB_instance], self.eNBSourceCodePath + '/cmake_targets/')
|
||||||
logging.info('\u001B[1m Undeploying OAI Object Pass\u001B[0m')
|
logging.info('\u001B[1m Undeploying OAI Object Pass\u001B[0m')
|
||||||
|
|
||||||
def DeployGenObject(self, HTML):
|
def DeployGenObject(self, HTML, RAN, UE):
|
||||||
self.exitStatus = 0
|
self.exitStatus = 0
|
||||||
logging.info('\u001B[1m Checking Services to deploy\u001B[0m')
|
logging.info('\u001B[1m Checking Services to deploy\u001B[0m')
|
||||||
cmd = 'cd ' + self.yamlPath[0] + ' && docker-compose config --services'
|
cmd = 'cd ' + self.yamlPath[0] + ' && docker-compose config --services'
|
||||||
@@ -679,12 +679,15 @@ class Containerize():
|
|||||||
healthy = 0
|
healthy = 0
|
||||||
while (count < 10):
|
while (count < 10):
|
||||||
count += 1
|
count += 1
|
||||||
|
containerStatus = []
|
||||||
deployStatus = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=30)
|
deployStatus = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=30)
|
||||||
healthy = 0
|
healthy = 0
|
||||||
for state in deployStatus.split('\n'):
|
for state in deployStatus.split('\n'):
|
||||||
res = re.search('Up \(healthy\)', state)
|
if re.search('Up \(healthy\)', state) is not None:
|
||||||
if res is not None:
|
|
||||||
healthy += 1
|
healthy += 1
|
||||||
|
if re.search('rfsim4g-db-init.*Exit 0', state) is not None:
|
||||||
|
subprocess.check_output('docker rm -f rfsim4g-db-init || true', shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=30)
|
||||||
|
containerStatus.append(state)
|
||||||
if healthy == self.nb_healthy[0]:
|
if healthy == self.nb_healthy[0]:
|
||||||
count = 100
|
count = 100
|
||||||
else:
|
else:
|
||||||
@@ -694,27 +697,41 @@ class Containerize():
|
|||||||
if self.tsharkStarted == False:
|
if self.tsharkStarted == False:
|
||||||
logging.debug('Starting tshark on public network')
|
logging.debug('Starting tshark on public network')
|
||||||
self.CaptureOnDockerNetworks()
|
self.CaptureOnDockerNetworks()
|
||||||
self.tsharkStarted = True
|
|
||||||
HTML.CreateHtmlTestRow('n/a', 'OK', CONST.ALL_PROCESSES_OK)
|
HTML.CreateHtmlTestRow('n/a', 'OK', CONST.ALL_PROCESSES_OK)
|
||||||
|
for cState in containerStatus:
|
||||||
|
logging.debug(cState)
|
||||||
logging.info('\u001B[1m Deploying OAI Object(s) PASS\u001B[0m')
|
logging.info('\u001B[1m Deploying OAI Object(s) PASS\u001B[0m')
|
||||||
else:
|
else:
|
||||||
self.exitStatus = 1
|
|
||||||
HTML.CreateHtmlTestRow('Could not deploy in time', 'KO', CONST.ALL_PROCESSES_OK)
|
HTML.CreateHtmlTestRow('Could not deploy in time', 'KO', CONST.ALL_PROCESSES_OK)
|
||||||
|
for cState in containerStatus:
|
||||||
|
logging.debug(cState)
|
||||||
logging.error('\u001B[1m Deploying OAI Object(s) FAILED\u001B[0m')
|
logging.error('\u001B[1m Deploying OAI Object(s) FAILED\u001B[0m')
|
||||||
|
HTML.testCase_id = 'AUTO-UNDEPLOY'
|
||||||
|
UE.testCase_id = 'AUTO-UNDEPLOY'
|
||||||
|
HTML.desc = 'Automatic Undeployment'
|
||||||
|
UE.desc = 'Automatic Undeployment'
|
||||||
|
UE.ShowTestID()
|
||||||
|
self.UndeployGenObject(HTML, RAN, UE)
|
||||||
|
self.exitStatus = 1
|
||||||
|
|
||||||
def CaptureOnDockerNetworks(self):
|
def CaptureOnDockerNetworks(self):
|
||||||
cmd = 'cd ' + self.yamlPath[0] + ' && docker-compose -f docker-compose-ci.yml config | grep com.docker.network.bridge.name | sed -e "s@^.*name: @@"'
|
cmd = 'cd ' + self.yamlPath[0] + ' && docker-compose -f docker-compose-ci.yml config | grep com.docker.network.bridge.name | sed -e "s@^.*name: @@"'
|
||||||
networkNames = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=10)
|
networkNames = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=10)
|
||||||
cmd = 'sudo nohup tshark -f "not tcp and not arp and not port 53 and not host archive.ubuntu.com and not host security.ubuntu.com and not port 2152"'
|
if re.search('4g.*rfsimulator', self.yamlPath[0]) is not None:
|
||||||
|
cmd = 'sudo nohup tshark -f "(host 192.168.61.11 and icmp) or (not host 192.168.61.11 and not host 192.168.61.30 and not arp and not port 53 and not port 2152)"'
|
||||||
|
elif re.search('5g.*rfsimulator', self.yamlPath[0]) is not None:
|
||||||
|
cmd = 'sudo nohup tshark -f "(host 192.168.72.135 and icmp) or (not host 192.168.72.135 and not host 192.168.71.150 and not arp and not port 53 and not port 2152 and not port 2153)"'
|
||||||
|
else:
|
||||||
|
return
|
||||||
for name in networkNames.split('\n'):
|
for name in networkNames.split('\n'):
|
||||||
res = re.search('rfsim', name)
|
if re.search('rfsim', name) is not None:
|
||||||
if res is not None:
|
|
||||||
cmd += ' -i ' + name
|
cmd += ' -i ' + name
|
||||||
cmd += ' -w /tmp/capture_'
|
cmd += ' -w /tmp/capture_'
|
||||||
ymlPath = self.yamlPath[0].split('/')
|
ymlPath = self.yamlPath[0].split('/')
|
||||||
cmd += ymlPath[1] + '.pcap > /tmp/tshark.log 2>&1 &'
|
cmd += ymlPath[1] + '.pcap > /tmp/tshark.log 2>&1 &'
|
||||||
logging.debug(cmd)
|
logging.debug(cmd)
|
||||||
networkNames = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=10)
|
networkNames = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=10)
|
||||||
|
self.tsharkStarted = True
|
||||||
|
|
||||||
def UndeployGenObject(self, HTML, RAN, UE):
|
def UndeployGenObject(self, HTML, RAN, UE):
|
||||||
self.exitStatus = 0
|
self.exitStatus = 0
|
||||||
@@ -745,7 +762,11 @@ class Containerize():
|
|||||||
cName = res.group('container_name')
|
cName = res.group('container_name')
|
||||||
cmd = 'cd ' + self.yamlPath[0] + ' && docker logs ' + cName + ' > ' + cName + '.log 2>&1'
|
cmd = 'cd ' + self.yamlPath[0] + ' && docker logs ' + cName + ' > ' + cName + '.log 2>&1'
|
||||||
logging.debug(cmd)
|
logging.debug(cmd)
|
||||||
deployStatus = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=30)
|
subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=30)
|
||||||
|
if re.search('magma-mme', cName) is not None:
|
||||||
|
cmd = 'cd ' + self.yamlPath[0] + ' && docker cp -L ' + cName + ':/var/log/mme.log ' + cName + '-full.log'
|
||||||
|
logging.debug(cmd)
|
||||||
|
subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT, universal_newlines=True, timeout=30)
|
||||||
fullStatus = True
|
fullStatus = True
|
||||||
if anyLogs:
|
if anyLogs:
|
||||||
cmd = 'mkdir -p '+ logPath + ' && cp ' + self.yamlPath[0] + '/*.log ' + logPath
|
cmd = 'mkdir -p '+ logPath + ' && cp ' + self.yamlPath[0] + '/*.log ' + logPath
|
||||||
|
|||||||
@@ -269,17 +269,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -262,18 +262,11 @@ THREAD_STRUCT = (
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -201,15 +201,10 @@ eNBs = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level = "info";
|
global_log_level = "info";
|
||||||
global_log_verbosity = "medium";
|
|
||||||
pdcp_log_level = "info";
|
pdcp_log_level = "info";
|
||||||
pdcp_log_verbosity = "high";
|
|
||||||
rrc_log_level = "info";
|
rrc_log_level = "info";
|
||||||
rrc_log_verbosity = "medium";
|
|
||||||
flexran_agent_log_level = "info";
|
flexran_agent_log_level = "info";
|
||||||
flexran_agent_log_verbosity = "medium";
|
|
||||||
gtp_log_level = "info";
|
gtp_log_level = "info";
|
||||||
gtp_log_verbosity = "medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NETWORK_CONTROLLER : {
|
NETWORK_CONTROLLER : {
|
||||||
|
|||||||
@@ -201,15 +201,10 @@ eNBs = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level = "info";
|
global_log_level = "info";
|
||||||
global_log_verbosity = "medium";
|
|
||||||
pdcp_log_level = "info";
|
pdcp_log_level = "info";
|
||||||
pdcp_log_verbosity = "high";
|
|
||||||
rrc_log_level = "info";
|
rrc_log_level = "info";
|
||||||
rrc_log_verbosity = "medium";
|
|
||||||
flexran_agent_log_level = "info";
|
flexran_agent_log_level = "info";
|
||||||
flexran_agent_log_verbosity = "medium";
|
|
||||||
gtp_log_level = "info";
|
gtp_log_level = "info";
|
||||||
gtp_log_verbosity = "medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NETWORK_CONTROLLER : {
|
NETWORK_CONTROLLER : {
|
||||||
|
|||||||
@@ -201,15 +201,10 @@ eNBs = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level = "info";
|
global_log_level = "info";
|
||||||
global_log_verbosity = "medium";
|
|
||||||
pdcp_log_level = "info";
|
pdcp_log_level = "info";
|
||||||
pdcp_log_verbosity = "high";
|
|
||||||
rrc_log_level = "info";
|
rrc_log_level = "info";
|
||||||
rrc_log_verbosity = "medium";
|
|
||||||
flexran_agent_log_level = "info";
|
flexran_agent_log_level = "info";
|
||||||
flexran_agent_log_verbosity = "medium";
|
|
||||||
gtp_log_level = "info";
|
gtp_log_level = "info";
|
||||||
gtp_log_verbosity = "medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NETWORK_CONTROLLER : {
|
NETWORK_CONTROLLER : {
|
||||||
|
|||||||
@@ -96,17 +96,11 @@ RUs = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level = "info";
|
global_log_level = "info";
|
||||||
global_log_verbosity = "medium";
|
|
||||||
hw_log_level = "info";
|
hw_log_level = "info";
|
||||||
hw_log_verbosity = "medium";
|
|
||||||
phy_log_level = "info";
|
phy_log_level = "info";
|
||||||
phy_log_verbosity = "medium";
|
|
||||||
mac_log_level = "info";
|
mac_log_level = "info";
|
||||||
mac_log_verbosity = "high";
|
|
||||||
rlc_log_level = "info";
|
rlc_log_level = "info";
|
||||||
rlc_log_verbosity = "medium";
|
|
||||||
flexran_agent_log_level = "info";
|
flexran_agent_log_level = "info";
|
||||||
flexran_agent_log_verbosity = "medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NETWORK_CONTROLLER : {
|
NETWORK_CONTROLLER : {
|
||||||
|
|||||||
@@ -96,17 +96,11 @@ RUs = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level = "info";
|
global_log_level = "info";
|
||||||
global_log_verbosity = "medium";
|
|
||||||
hw_log_level = "info";
|
hw_log_level = "info";
|
||||||
hw_log_verbosity = "medium";
|
|
||||||
phy_log_level = "info";
|
phy_log_level = "info";
|
||||||
phy_log_verbosity = "medium";
|
|
||||||
mac_log_level = "info";
|
mac_log_level = "info";
|
||||||
mac_log_verbosity = "high";
|
|
||||||
rlc_log_level = "info";
|
rlc_log_level = "info";
|
||||||
rlc_log_verbosity = "medium";
|
|
||||||
flexran_agent_log_level = "info";
|
flexran_agent_log_level = "info";
|
||||||
flexran_agent_log_verbosity = "medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NETWORK_CONTROLLER : {
|
NETWORK_CONTROLLER : {
|
||||||
|
|||||||
@@ -96,17 +96,11 @@ RUs = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level = "info";
|
global_log_level = "info";
|
||||||
global_log_verbosity = "medium";
|
|
||||||
hw_log_level = "info";
|
hw_log_level = "info";
|
||||||
hw_log_verbosity = "medium";
|
|
||||||
phy_log_level = "info";
|
phy_log_level = "info";
|
||||||
phy_log_verbosity = "medium";
|
|
||||||
mac_log_level = "info";
|
mac_log_level = "info";
|
||||||
mac_log_verbosity = "high";
|
|
||||||
rlc_log_level = "info";
|
rlc_log_level = "info";
|
||||||
rlc_log_verbosity = "medium";
|
|
||||||
flexran_agent_log_level = "info";
|
flexran_agent_log_level = "info";
|
||||||
flexran_agent_log_verbosity = "medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NETWORK_CONTROLLER : {
|
NETWORK_CONTROLLER : {
|
||||||
|
|||||||
@@ -257,18 +257,11 @@ THREAD_STRUCT = (
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -385,19 +385,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -457,17 +450,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -260,18 +260,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -404,18 +404,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -264,18 +264,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -264,18 +264,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -264,18 +264,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -165,19 +165,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,19 +165,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,19 +165,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -163,19 +163,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -256,18 +256,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -265,18 +265,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -263,18 +263,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -263,19 +263,12 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@include "channelmod_rfsimu.conf"
|
@include "channelmod_rfsimu.conf"
|
||||||
|
|||||||
@@ -264,18 +264,11 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="high";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="high";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="high";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -258,17 +258,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -262,18 +262,11 @@ THREAD_STRUCT = (
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -306,20 +306,12 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
ngap_log_level ="debug";
|
ngap_log_level ="debug";
|
||||||
ngap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc0 = {
|
uicc0 = {
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc0 = {
|
uicc0 = {
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc0 = {
|
uicc0 = {
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc0 = {
|
uicc0 = {
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc0 = {
|
uicc0 = {
|
||||||
|
|||||||
@@ -231,17 +231,10 @@ THREAD_STRUCT = (
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -248,18 +248,11 @@ THREAD_STRUCT = (
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -307,20 +307,12 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
ngap_log_level ="debug";
|
ngap_log_level ="debug";
|
||||||
ngap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc0 = {
|
uicc0 = {
|
||||||
|
|||||||
@@ -231,17 +231,10 @@ THREAD_STRUCT = (
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -288,18 +288,11 @@ THREAD_STRUCT = (
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -254,22 +254,13 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="debug";
|
rlc_log_level ="debug";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
ngap_log_level ="debug";
|
ngap_log_level ="debug";
|
||||||
ngap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -273,22 +273,13 @@ serveraddr = "server";
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
rlc_log_level ="info";
|
||||||
rlc_log_level ="debug";
|
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
ngap_log_level ="debug";
|
ngap_log_level ="debug";
|
||||||
ngap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -291,19 +291,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -287,19 +287,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -266,18 +266,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -137,20 +137,6 @@ gNBs =
|
|||||||
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
subcarrierSpacing = 1;
|
subcarrierSpacing = 1;
|
||||||
|
|
||||||
|
|
||||||
#tdd-UL-DL-ConfigurationCommon
|
|
||||||
# subcarrierSpacing
|
|
||||||
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
|
||||||
referenceSubcarrierSpacing = 1;
|
|
||||||
# pattern1
|
|
||||||
# dl_UL_TransmissionPeriodicity
|
|
||||||
# 0=ms0p5, 1=ms0p625, 2=ms1, 3=ms1p25, 4=ms2, 5=ms2p5, 6=ms5, 7=ms10
|
|
||||||
dl_UL_TransmissionPeriodicity = 6;
|
|
||||||
nrofDownlinkSlots = 7;
|
|
||||||
nrofDownlinkSymbols = 6;
|
|
||||||
nrofUplinkSlots = 2;
|
|
||||||
nrofUplinkSymbols = 4;
|
|
||||||
|
|
||||||
ssPBCH_BlockPower = -25;
|
ssPBCH_BlockPower = -25;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -259,18 +245,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -266,18 +266,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -294,19 +294,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -298,19 +298,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -293,19 +293,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
f1ap_log_level ="debug";
|
f1ap_log_level ="debug";
|
||||||
f1ap_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -255,18 +255,11 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -263,19 +263,12 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc: {
|
uicc: {
|
||||||
|
|||||||
@@ -265,19 +265,12 @@ security = {
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uicc: {
|
uicc: {
|
||||||
|
|||||||
@@ -0,0 +1,291 @@
|
|||||||
|
Active_gNBs = ( "gNB-Eurecom-5GNRBox");
|
||||||
|
# Asn1_verbosity, choice in: none, info, annoying
|
||||||
|
Asn1_verbosity = "none";
|
||||||
|
|
||||||
|
gNBs =
|
||||||
|
(
|
||||||
|
{
|
||||||
|
////////// Identification parameters:
|
||||||
|
gNB_ID = 0xe00;
|
||||||
|
gNB_name = "gNB-Eurecom-5GNRBox";
|
||||||
|
|
||||||
|
// Tracking area code, 0x0000 and 0xfffe are reserved values
|
||||||
|
tracking_area_code = 1;
|
||||||
|
plmn_list = ({
|
||||||
|
mcc = 208;
|
||||||
|
mnc = 95;
|
||||||
|
mnc_length = 2;
|
||||||
|
snssaiList = (
|
||||||
|
{
|
||||||
|
sst = 1;
|
||||||
|
sd = 0x1; // 0 false, else true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
sst = 2;
|
||||||
|
sd = 2; // 0 false, else true
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
nr_cellid = 12345678L;
|
||||||
|
|
||||||
|
////////// Physical parameters:
|
||||||
|
|
||||||
|
ssb_SubcarrierOffset = 0;
|
||||||
|
pdsch_AntennaPorts = 1;
|
||||||
|
pusch_AntennaPorts = 1;
|
||||||
|
min_rxtxtime = 6;
|
||||||
|
sib1_tda = 0;
|
||||||
|
|
||||||
|
pdcch_ConfigSIB1 = (
|
||||||
|
{
|
||||||
|
controlResourceSetZero = 12;
|
||||||
|
searchSpaceZero = 0;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
servingCellConfigCommon = (
|
||||||
|
{
|
||||||
|
#spCellConfigCommon
|
||||||
|
|
||||||
|
physCellId = 0;
|
||||||
|
|
||||||
|
# downlinkConfigCommon
|
||||||
|
#frequencyInfoDL
|
||||||
|
# this is 3600 MHz + 43 PRBs@30kHz SCS (same as initial BWP)
|
||||||
|
absoluteFrequencySSB = 433096;
|
||||||
|
dl_frequencyBand = 66;
|
||||||
|
# this is 3600 MHz
|
||||||
|
dl_absoluteFrequencyPointA = 430000;
|
||||||
|
#scs-SpecificCarrierList
|
||||||
|
dl_offstToCarrier = 0;
|
||||||
|
# subcarrierSpacing
|
||||||
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
|
dl_subcarrierSpacing = 1;
|
||||||
|
dl_carrierBandwidth = 106;
|
||||||
|
#initialDownlinkBWP
|
||||||
|
#genericParameters
|
||||||
|
# this is RBstart=27,L=48 (275*(L-1))+RBstart
|
||||||
|
initialDLBWPlocationAndBandwidth = 13475; # 6366 12925 12956 28875 12952
|
||||||
|
# subcarrierSpacing
|
||||||
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
|
initialDLBWPsubcarrierSpacing = 1;
|
||||||
|
#pdcch-ConfigCommon
|
||||||
|
initialDLBWPcontrolResourceSetZero = 12;
|
||||||
|
initialDLBWPsearchSpaceZero = 0;
|
||||||
|
|
||||||
|
#uplinkConfigCommon
|
||||||
|
#frequencyInfoUL
|
||||||
|
ul_frequencyBand = 66;
|
||||||
|
ul_absoluteFrequencyPointA = 350000;
|
||||||
|
#scs-SpecificCarrierList
|
||||||
|
ul_offstToCarrier = 0;
|
||||||
|
# subcarrierSpacing
|
||||||
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
|
ul_subcarrierSpacing = 1;
|
||||||
|
ul_carrierBandwidth = 106;
|
||||||
|
pMax = 20;
|
||||||
|
#initialUplinkBWP
|
||||||
|
#genericParameters
|
||||||
|
initialULBWPlocationAndBandwidth = 13475;
|
||||||
|
# subcarrierSpacing
|
||||||
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
|
initialULBWPsubcarrierSpacing = 1;
|
||||||
|
#rach-ConfigCommon
|
||||||
|
#rach-ConfigGeneric
|
||||||
|
prach_ConfigurationIndex = 98;
|
||||||
|
#prach_msg1_FDM
|
||||||
|
#0 = one, 1=two, 2=four, 3=eight
|
||||||
|
prach_msg1_FDM = 0;
|
||||||
|
prach_msg1_FrequencyStart = 0;
|
||||||
|
zeroCorrelationZoneConfig = 13;
|
||||||
|
preambleReceivedTargetPower = -118;
|
||||||
|
#preamblTransMax (0...10) = (3,4,5,6,7,8,10,20,50,100,200)
|
||||||
|
preambleTransMax = 6;
|
||||||
|
#powerRampingStep
|
||||||
|
# 0=dB0,1=dB2,2=dB4,3=dB6
|
||||||
|
powerRampingStep = 1;
|
||||||
|
#ra_ReponseWindow
|
||||||
|
#1,2,4,8,10,20,40,80
|
||||||
|
ra_ResponseWindow = 4;
|
||||||
|
#ssb_perRACH_OccasionAndCB_PreamblesPerSSB_PR
|
||||||
|
#1=oneeighth,2=onefourth,3=half,4=one,5=two,6=four,7=eight,8=sixteen
|
||||||
|
ssb_perRACH_OccasionAndCB_PreamblesPerSSB_PR = 4;
|
||||||
|
#oneHalf (0..15) 4,8,12,16,...60,64
|
||||||
|
ssb_perRACH_OccasionAndCB_PreamblesPerSSB = 15;
|
||||||
|
#ra_ContentionResolutionTimer
|
||||||
|
#(0..7) 8,16,24,32,40,48,56,64
|
||||||
|
ra_ContentionResolutionTimer = 7;
|
||||||
|
rsrp_ThresholdSSB = 19;
|
||||||
|
#prach-RootSequenceIndex_PR
|
||||||
|
#1 = 839, 2 = 139
|
||||||
|
prach_RootSequenceIndex_PR = 2;
|
||||||
|
prach_RootSequenceIndex = 1;
|
||||||
|
# SCS for msg1, can only be 15 for 30 kHz < 6 GHz, takes precendence over the one derived from prach-ConfigIndex
|
||||||
|
#
|
||||||
|
msg1_SubcarrierSpacing = 1,
|
||||||
|
# restrictedSetConfig
|
||||||
|
# 0=unrestricted, 1=restricted type A, 2=restricted type B
|
||||||
|
restrictedSetConfig = 0,
|
||||||
|
|
||||||
|
msg3_DeltaPreamble = 1;
|
||||||
|
p0_NominalWithGrant =-90;
|
||||||
|
|
||||||
|
# pucch-ConfigCommon setup :
|
||||||
|
# pucchGroupHopping
|
||||||
|
# 0 = neither, 1= group hopping, 2=sequence hopping
|
||||||
|
pucchGroupHopping = 0;
|
||||||
|
hoppingId = 40;
|
||||||
|
p0_nominal = -90;
|
||||||
|
# ssb_PositionsInBurs_BitmapPR
|
||||||
|
# 1=short, 2=medium, 3=long
|
||||||
|
ssb_PositionsInBurst_PR = 2;
|
||||||
|
ssb_PositionsInBurst_Bitmap = 1;
|
||||||
|
|
||||||
|
# ssb_periodicityServingCell
|
||||||
|
# 0 = ms5, 1=ms10, 2=ms20, 3=ms40, 4=ms80, 5=ms160, 6=spare2, 7=spare1
|
||||||
|
ssb_periodicityServingCell = 2;
|
||||||
|
|
||||||
|
# dmrs_TypeA_position
|
||||||
|
# 0 = pos2, 1 = pos3
|
||||||
|
dmrs_TypeA_Position = 0;
|
||||||
|
|
||||||
|
# subcarrierSpacing
|
||||||
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
|
subcarrierSpacing = 1;
|
||||||
|
|
||||||
|
|
||||||
|
#tdd-UL-DL-ConfigurationCommon
|
||||||
|
# subcarrierSpacing
|
||||||
|
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
|
||||||
|
referenceSubcarrierSpacing = 1;
|
||||||
|
# pattern1
|
||||||
|
# dl_UL_TransmissionPeriodicity
|
||||||
|
# 0=ms0p5, 1=ms0p625, 2=ms1, 3=ms1p25, 4=ms2, 5=ms2p5, 6=ms5, 7=ms10
|
||||||
|
dl_UL_TransmissionPeriodicity = 6;
|
||||||
|
nrofDownlinkSlots = 7;
|
||||||
|
nrofDownlinkSymbols = 6;
|
||||||
|
nrofUplinkSlots = 2;
|
||||||
|
nrofUplinkSymbols = 4;
|
||||||
|
|
||||||
|
ssPBCH_BlockPower = -25;
|
||||||
|
}
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
# ------- SCTP definitions
|
||||||
|
SCTP :
|
||||||
|
{
|
||||||
|
# Number of streams to use in input/output
|
||||||
|
SCTP_INSTREAMS = 2;
|
||||||
|
SCTP_OUTSTREAMS = 2;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
////////// MME parameters:
|
||||||
|
amf_ip_address = ( { ipv4 = "192.168.70.132";
|
||||||
|
ipv6 = "192:168:30::17";
|
||||||
|
active = "yes";
|
||||||
|
preference = "ipv4";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
NETWORK_INTERFACES :
|
||||||
|
{
|
||||||
|
GNB_INTERFACE_NAME_FOR_NG_AMF = "demo-oai";
|
||||||
|
GNB_IPV4_ADDRESS_FOR_NG_AMF = "192.168.70.129/24";
|
||||||
|
GNB_INTERFACE_NAME_FOR_NGU = "demo-oai";
|
||||||
|
GNB_IPV4_ADDRESS_FOR_NGU = "192.168.70.129/24";
|
||||||
|
GNB_PORT_FOR_S1U = 2152; # Spec 2152
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
MACRLCs = (
|
||||||
|
{
|
||||||
|
num_cc = 1;
|
||||||
|
tr_s_preference = "local_L1";
|
||||||
|
tr_n_preference = "local_RRC";
|
||||||
|
ulsch_max_slots_inactivity = 100;
|
||||||
|
pusch_TargetSNRx10 = 200;
|
||||||
|
pucch_TargetSNRx10 = 200;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
L1s = (
|
||||||
|
{
|
||||||
|
num_cc = 1;
|
||||||
|
tr_n_preference = "local_mac";
|
||||||
|
pusch_proc_threads = 8;
|
||||||
|
ofdm_offset_divisor = 8; #set this to UINT_MAX for offset 0
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
RUs = (
|
||||||
|
{
|
||||||
|
local_rf = "yes"
|
||||||
|
nb_tx = 1
|
||||||
|
nb_rx = 1
|
||||||
|
att_tx = 0
|
||||||
|
att_rx = 0;
|
||||||
|
bands = [7];
|
||||||
|
max_pdschReferenceSignalPower = -27;
|
||||||
|
max_rxgain = 75;
|
||||||
|
eNB_instances = [0];
|
||||||
|
#beamforming 1x4 matrix:
|
||||||
|
bf_weights = [0x00007fff, 0x0000, 0x0000, 0x0000];
|
||||||
|
clock_src = "internal";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
THREAD_STRUCT = (
|
||||||
|
{
|
||||||
|
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
|
||||||
|
parallel_config = "PARALLEL_SINGLE_THREAD";
|
||||||
|
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
|
||||||
|
worker_config = "WORKER_ENABLE";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
rfsimulator :
|
||||||
|
{
|
||||||
|
serveraddr = "server";
|
||||||
|
serverport = "4043";
|
||||||
|
options = (); #("saviq"); or/and "chanmod"
|
||||||
|
modelname = "AWGN";
|
||||||
|
IQfile = "/tmp/rfsimulator.iqs";
|
||||||
|
};
|
||||||
|
|
||||||
|
security = {
|
||||||
|
# preferred ciphering algorithms
|
||||||
|
# the first one of the list that an UE supports in chosen
|
||||||
|
# valid values: nea0, nea1, nea2, nea3
|
||||||
|
ciphering_algorithms = ( "nea0" );
|
||||||
|
|
||||||
|
# preferred integrity algorithms
|
||||||
|
# the first one of the list that an UE supports in chosen
|
||||||
|
# valid values: nia0, nia1, nia2, nia3
|
||||||
|
integrity_algorithms = ( "nia2", "nia0" );
|
||||||
|
|
||||||
|
# setting 'drb_ciphering' to "no" disables ciphering for DRBs, no matter
|
||||||
|
# what 'ciphering_algorithms' configures; same thing for 'drb_integrity'
|
||||||
|
drb_ciphering = "yes";
|
||||||
|
drb_integrity = "no";
|
||||||
|
};
|
||||||
|
|
||||||
|
log_config :
|
||||||
|
{
|
||||||
|
global_log_level ="info";
|
||||||
|
hw_log_level ="info";
|
||||||
|
phy_log_level ="info";
|
||||||
|
mac_log_level ="info";
|
||||||
|
rlc_log_level ="info";
|
||||||
|
pdcp_log_level ="info";
|
||||||
|
rrc_log_level ="info";
|
||||||
|
ngap_log_level ="debug";
|
||||||
|
};
|
||||||
|
|
||||||
@@ -257,17 +257,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -406,19 +406,12 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//rfsimulator :
|
//rfsimulator :
|
||||||
|
|||||||
@@ -406,19 +406,12 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//rfsimulator :
|
//rfsimulator :
|
||||||
|
|||||||
@@ -165,19 +165,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -227,17 +227,10 @@ THREAD_STRUCT = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -168,19 +168,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,19 +168,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,19 +168,12 @@ eNBs =
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="debug";
|
global_log_level ="debug";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -263,17 +263,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -263,17 +263,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -263,17 +263,10 @@ NETWORK_CONTROLLER :
|
|||||||
log_config :
|
log_config :
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -365,17 +365,10 @@ THREAD_STRUCT = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -365,17 +365,10 @@ THREAD_STRUCT = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -230,17 +230,10 @@ THREAD_STRUCT = (
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,18 +30,11 @@ THREAD_STRUCT = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -30,18 +30,11 @@ THREAD_STRUCT = (
|
|||||||
|
|
||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -31,17 +31,10 @@ THREAD_STRUCT =
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="error";
|
global_log_level ="error";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="error";
|
hw_log_level ="error";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="error";
|
phy_log_level ="error";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="error";
|
mac_log_level ="error";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="error";
|
rlc_log_level ="error";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="error";
|
pdcp_log_level ="error";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="error";
|
rrc_log_level ="error";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -31,17 +31,10 @@ THREAD_STRUCT =
|
|||||||
log_config =
|
log_config =
|
||||||
{
|
{
|
||||||
global_log_level ="error";
|
global_log_level ="error";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="error";
|
hw_log_level ="error";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="error";
|
phy_log_level ="error";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="error";
|
mac_log_level ="error";
|
||||||
mac_log_verbosity ="high";
|
|
||||||
rlc_log_level ="error";
|
rlc_log_level ="error";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="error";
|
pdcp_log_level ="error";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="error";
|
rrc_log_level ="error";
|
||||||
rrc_log_verbosity ="medium";
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
log_config = {
|
log_config = {
|
||||||
global_log_level ="info";
|
global_log_level ="info";
|
||||||
global_log_verbosity ="medium";
|
|
||||||
hw_log_level ="info";
|
hw_log_level ="info";
|
||||||
hw_log_verbosity ="medium";
|
|
||||||
phy_log_level ="info";
|
phy_log_level ="info";
|
||||||
phy_log_verbosity ="medium";
|
|
||||||
mac_log_level ="info";
|
mac_log_level ="info";
|
||||||
mac_log_verbosity ="medium";
|
|
||||||
rlc_log_level ="info";
|
rlc_log_level ="info";
|
||||||
rlc_log_verbosity ="medium";
|
|
||||||
pdcp_log_level ="info";
|
pdcp_log_level ="info";
|
||||||
pdcp_log_verbosity ="medium";
|
|
||||||
rrc_log_level ="info";
|
rrc_log_level ="info";
|
||||||
rrc_log_verbosity ="full";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -910,7 +910,7 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
|
|||||||
elif action == 'Deploy_Run_PhySim':
|
elif action == 'Deploy_Run_PhySim':
|
||||||
PHYSIM.Deploy_PhySim(HTML, RAN)
|
PHYSIM.Deploy_PhySim(HTML, RAN)
|
||||||
elif action == 'DeployGenObject':
|
elif action == 'DeployGenObject':
|
||||||
CONTAINERS.DeployGenObject(HTML)
|
CONTAINERS.DeployGenObject(HTML, RAN, CiTestObj)
|
||||||
if CONTAINERS.exitStatus==1:
|
if CONTAINERS.exitStatus==1:
|
||||||
RAN.prematureExit = True
|
RAN.prematureExit = True
|
||||||
elif action == 'UndeployGenObject':
|
elif action == 'UndeployGenObject':
|
||||||
|
|||||||
@@ -66,8 +66,8 @@
|
|||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G CoreNetwork</desc>
|
<desc>Deploy OAI 4G CoreNetwork</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz</yaml_path>
|
||||||
<services>oai_hss oai_mme oai_spgwc oai_spgwu trf_gen</services>
|
<services>oai_hss redis magma_mme oai_spgwc oai_spgwu trf_gen</services>
|
||||||
<nb_healthy>6</nb_healthy>
|
<nb_healthy>7</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000013">
|
<testCase id="000013">
|
||||||
@@ -75,15 +75,15 @@
|
|||||||
<desc>Deploy OAI 4G eNB RF sim (FDD 05MHz)</desc>
|
<desc>Deploy OAI 4G eNB RF sim (FDD 05MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz</yaml_path>
|
||||||
<services>enb</services>
|
<services>enb</services>
|
||||||
<nb_healthy>7</nb_healthy>
|
<nb_healthy>8</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000014">
|
<testCase id="000014">
|
||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G NR-UE RF sim (FDD 05MHz)</desc>
|
<desc>Deploy OAI 4G LTE-UE RF sim (FDD 05MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz</yaml_path>
|
||||||
<services>oai_ue0</services>
|
<services>oai_ue0</services>
|
||||||
<nb_healthy>8</nb_healthy>
|
<nb_healthy>9</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="020011">
|
<testCase id="020011">
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
<testCase id="000014">
|
<testCase id="000014">
|
||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G NR-UE RF sim (FDD 05MHz)</desc>
|
<desc>Deploy OAI 4G LTE-UE RF sim (FDD 05MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz_noS1</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_05MHz_noS1</yaml_path>
|
||||||
<services>oai_ue0</services>
|
<services>oai_ue0</services>
|
||||||
<nb_healthy>2</nb_healthy>
|
<nb_healthy>2</nb_healthy>
|
||||||
|
|||||||
@@ -66,8 +66,8 @@
|
|||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G CoreNetwork</desc>
|
<desc>Deploy OAI 4G CoreNetwork</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_10MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_10MHz</yaml_path>
|
||||||
<services>oai_hss oai_mme oai_spgwc oai_spgwu trf_gen</services>
|
<services>oai_hss redis magma_mme oai_spgwc oai_spgwu trf_gen</services>
|
||||||
<nb_healthy>6</nb_healthy>
|
<nb_healthy>7</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000013">
|
<testCase id="000013">
|
||||||
@@ -75,15 +75,15 @@
|
|||||||
<desc>Deploy OAI 4G eNB RF sim (FDD 10MHz)</desc>
|
<desc>Deploy OAI 4G eNB RF sim (FDD 10MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_10MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_10MHz</yaml_path>
|
||||||
<services>enb</services>
|
<services>enb</services>
|
||||||
<nb_healthy>7</nb_healthy>
|
<nb_healthy>8</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000014">
|
<testCase id="000014">
|
||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G NR-UE RF sim (FDD 10MHz)</desc>
|
<desc>Deploy OAI 4G LTE-UE RF sim (FDD 10MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_10MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_10MHz</yaml_path>
|
||||||
<services>oai_ue0</services>
|
<services>oai_ue0</services>
|
||||||
<nb_healthy>8</nb_healthy>
|
<nb_healthy>9</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="020011">
|
<testCase id="020011">
|
||||||
|
|||||||
@@ -66,8 +66,8 @@
|
|||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G CoreNetwork</desc>
|
<desc>Deploy OAI 4G CoreNetwork</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
|
||||||
<services>oai_hss oai_mme oai_spgwc oai_spgwu trf_gen</services>
|
<services>oai_hss redis magma_mme oai_spgwc oai_spgwu trf_gen</services>
|
||||||
<nb_healthy>6</nb_healthy>
|
<nb_healthy>7</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000013">
|
<testCase id="000013">
|
||||||
@@ -75,15 +75,15 @@
|
|||||||
<desc>Deploy OAI 4G eNB RF sim (FDD 20MHz)</desc>
|
<desc>Deploy OAI 4G eNB RF sim (FDD 20MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
|
||||||
<services>enb</services>
|
<services>enb</services>
|
||||||
<nb_healthy>7</nb_healthy>
|
<nb_healthy>8</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="000014">
|
<testCase id="000014">
|
||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G NR-UE RF sim (FDD 20MHz)</desc>
|
<desc>Deploy OAI 4G LTE-UE RF sim (FDD 20MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
|
||||||
<services>oai_ue0</services>
|
<services>oai_ue0</services>
|
||||||
<nb_healthy>8</nb_healthy>
|
<nb_healthy>9</nb_healthy>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="020011">
|
<testCase id="020011">
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
|
|
||||||
<testCase id="000014">
|
<testCase id="000014">
|
||||||
<class>DeployGenObject</class>
|
<class>DeployGenObject</class>
|
||||||
<desc>Deploy OAI 4G NR-UE RF sim (TDD 05MHz)</desc>
|
<desc>Deploy OAI 4G LTE-UE RF sim (TDD 05MHz)</desc>
|
||||||
<yaml_path>yaml_files/4g_rfsimulator_tdd_05MHz</yaml_path>
|
<yaml_path>yaml_files/4g_rfsimulator_tdd_05MHz</yaml_path>
|
||||||
<services>oai_ue0</services>
|
<services>oai_ue0</services>
|
||||||
<nb_healthy>8</nb_healthy>
|
<nb_healthy>8</nb_healthy>
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
<server_container_name>rfsim5g-oai-nr-ue</server_container_name>
|
<server_container_name>rfsim5g-oai-nr-ue</server_container_name>
|
||||||
<client_container_name>rfsim5g-oai-ext-dn</client_container_name>
|
<client_container_name>rfsim5g-oai-ext-dn</client_container_name>
|
||||||
<server_options>-B 12.1.1.2 -u -i 1 -s</server_options>
|
<server_options>-B 12.1.1.2 -u -i 1 -s</server_options>
|
||||||
<client_options>-c 12.1.1.2 -u -i 1 -t 30 -b 200K</client_options>
|
<client_options>-c 12.1.1.2 -u -i 1 -t 30 -b 3M</client_options>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="030022">
|
<testCase id="030022">
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
<server_container_name>rfsim5g-oai-ext-dn</server_container_name>
|
<server_container_name>rfsim5g-oai-ext-dn</server_container_name>
|
||||||
<client_container_name>rfsim5g-oai-nr-ue</client_container_name>
|
<client_container_name>rfsim5g-oai-nr-ue</client_container_name>
|
||||||
<server_options>-u -i 1 -s</server_options>
|
<server_options>-u -i 1 -s</server_options>
|
||||||
<client_options>-B 12.1.1.2 -c 192.168.72.135 -u -i 1 -t 30 -b 5K</client_options>
|
<client_options>-B 12.1.1.2 -c 192.168.72.135 -u -i 1 -t 30 -b 1M</client_options>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
<testCase id="100021">
|
<testCase id="100021">
|
||||||
|
|||||||
@@ -0,0 +1,116 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The OpenAirInterface Software Alliance licenses this file to You under
|
||||||
|
the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
||||||
|
except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.openairinterface.org/?page_id=698
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
For more information about the OpenAirInterface (OAI) Software Alliance:
|
||||||
|
contact@openairinterface.org
|
||||||
|
|
||||||
|
-->
|
||||||
|
<testCaseList>
|
||||||
|
<htmlTabRef>rfsim-5gnr-fdd</htmlTabRef>
|
||||||
|
<htmlTabName>Testing 5G NR RF sim - Monolithic FDD gNB</htmlTabName>
|
||||||
|
<htmlTabIcon>wrench</htmlTabIcon>
|
||||||
|
<repeatCount>4</repeatCount>
|
||||||
|
<TestCaseRequestedList>
|
||||||
|
100011
|
||||||
|
000010
|
||||||
|
000011
|
||||||
|
000012
|
||||||
|
000013
|
||||||
|
020011
|
||||||
|
020012
|
||||||
|
100011
|
||||||
|
</TestCaseRequestedList>
|
||||||
|
<!-- Not done yet because of code instability
|
||||||
|
030011
|
||||||
|
030012
|
||||||
|
-->
|
||||||
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
|
<testCase id="000010">
|
||||||
|
<class>DeployGenObject</class>
|
||||||
|
<desc>Deploy MySql Database</desc>
|
||||||
|
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
|
||||||
|
<services>mysql</services>
|
||||||
|
<nb_healthy>1</nb_healthy>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="000011">
|
||||||
|
<class>DeployGenObject</class>
|
||||||
|
<desc>Deploy OAI 5G CoreNetwork</desc>
|
||||||
|
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
|
||||||
|
<services>oai-nrf oai-amf oai-smf oai-spgwu oai-ext-dn</services>
|
||||||
|
<nb_healthy>6</nb_healthy>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="000012">
|
||||||
|
<class>DeployGenObject</class>
|
||||||
|
<desc>Deploy OAI 5G gNB RF sim SA</desc>
|
||||||
|
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
|
||||||
|
<services>oai-gnb</services>
|
||||||
|
<nb_healthy>7</nb_healthy>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="000013">
|
||||||
|
<class>DeployGenObject</class>
|
||||||
|
<desc>Deploy OAI 5G NR-UE RF sim SA</desc>
|
||||||
|
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
|
||||||
|
<services>oai-nr-ue</services>
|
||||||
|
<nb_healthy>8</nb_healthy>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="020011">
|
||||||
|
<class>PingFromContainer</class>
|
||||||
|
<desc>Ping ext-dn from NR-UE</desc>
|
||||||
|
<container_name>rfsim5g-oai-nr-ue</container_name>
|
||||||
|
<options>-I oaitun_ue1 -c 20 192.168.72.135</options>
|
||||||
|
<loss_threshold>5</loss_threshold>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="020012">
|
||||||
|
<class>PingFromContainer</class>
|
||||||
|
<desc>Ping NR-UE from ext-dn</desc>
|
||||||
|
<container_name>rfsim5g-oai-ext-dn</container_name>
|
||||||
|
<options>-c 20 12.1.1.2</options>
|
||||||
|
<loss_threshold>5</loss_threshold>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="030011">
|
||||||
|
<class>IperfFromContainer</class>
|
||||||
|
<desc>Iperf UDP Downlink</desc>
|
||||||
|
<server_container_name>rfsim5g-oai-nr-ue</server_container_name>
|
||||||
|
<client_container_name>rfsim5g-oai-ext-dn</client_container_name>
|
||||||
|
<server_options>-B 12.1.1.2 -u -i 1 -s</server_options>
|
||||||
|
<client_options>-c 12.1.1.2 -u -i 1 -t 30 -b 3M</client_options>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="030012">
|
||||||
|
<class>IperfFromContainer</class>
|
||||||
|
<desc>Iperf UDP Uplink</desc>
|
||||||
|
<server_container_name>rfsim5g-oai-ext-dn</server_container_name>
|
||||||
|
<client_container_name>rfsim5g-oai-nr-ue</client_container_name>
|
||||||
|
<server_options>-u -i 1 -s</server_options>
|
||||||
|
<client_options>-B 12.1.1.2 -c 192.168.72.135 -u -i 1 -t 30 -b 1M</client_options>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="100011">
|
||||||
|
<class>UndeployGenObject</class>
|
||||||
|
<desc>Undeploy all OAI 5G stack</desc>
|
||||||
|
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
</testCaseList>
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<!--
|
||||||
|
|
||||||
|
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The OpenAirInterface Software Alliance licenses this file to You under
|
||||||
|
the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
||||||
|
except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.openairinterface.org/?page_id=698
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
For more information about the OpenAirInterface (OAI) Software Alliance:
|
||||||
|
contact@openairinterface.org
|
||||||
|
|
||||||
|
-->
|
||||||
|
<testCaseList>
|
||||||
|
<htmlTabRef>rfsim-5gnr-fdd-down</htmlTabRef>
|
||||||
|
<htmlTabName>CleanUp 5G RF - Monolithic FDD gNB</htmlTabName>
|
||||||
|
<htmlTabIcon>trash</htmlTabIcon>
|
||||||
|
<TestCaseRequestedList>
|
||||||
|
100012
|
||||||
|
</TestCaseRequestedList>
|
||||||
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
|
<testCase id="100012">
|
||||||
|
<class>UndeployGenObject</class>
|
||||||
|
<desc>Undeploy all OAI 5G stack</desc>
|
||||||
|
<yaml_path>yaml_files/5g_fdd_rfsimulator</yaml_path>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
</testCaseList>
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<testCaseList>
|
<testCaseList>
|
||||||
<htmlTabRef>rfsim-5gnr</htmlTabRef>
|
<htmlTabRef>rfsim-5gnr-tdd</htmlTabRef>
|
||||||
<htmlTabName>Testing 5G NR RF sim - Monolithic gNB</htmlTabName>
|
<htmlTabName>Testing 5G NR RF sim - Monolithic TDD gNB</htmlTabName>
|
||||||
<htmlTabIcon>wrench</htmlTabIcon>
|
<htmlTabIcon>wrench</htmlTabIcon>
|
||||||
<repeatCount>4</repeatCount>
|
<repeatCount>4</repeatCount>
|
||||||
<TestCaseRequestedList>
|
<TestCaseRequestedList>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
-->
|
-->
|
||||||
<testCaseList>
|
<testCaseList>
|
||||||
<htmlTabRef>rfsim-5gnr-down</htmlTabRef>
|
<htmlTabRef>rfsim-5gnr-down</htmlTabRef>
|
||||||
<htmlTabName>CleanUp 5G RF - Monolithic gNB</htmlTabName>
|
<htmlTabName>CleanUp 5G RF - Monolithic TDD gNB</htmlTabName>
|
||||||
<htmlTabIcon>trash</htmlTabIcon>
|
<htmlTabIcon>trash</htmlTabIcon>
|
||||||
<TestCaseRequestedList>
|
<TestCaseRequestedList>
|
||||||
100002
|
100002
|
||||||
|
|||||||
@@ -48,8 +48,9 @@ Now pull images.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker pull cassandra:2.1
|
$ docker pull cassandra:2.1
|
||||||
|
$ docker pull redis:6.0.5
|
||||||
$ docker pull rdefosseoai/oai-hss:latest
|
$ docker pull rdefosseoai/oai-hss:latest
|
||||||
$ docker pull rdefosseoai/oai-mme:latest
|
$ docker pull rdefosseoai/magma-mme:latest
|
||||||
$ docker pull rdefosseoai/oai-spgwc:latest
|
$ docker pull rdefosseoai/oai-spgwc:latest
|
||||||
$ docker pull rdefosseoai/oai-spgwu-tiny:latest
|
$ docker pull rdefosseoai/oai-spgwu-tiny:latest
|
||||||
|
|
||||||
@@ -57,13 +58,15 @@ $ docker pull rdefosseoai/oai-enb:develop
|
|||||||
$ docker pull rdefosseoai/oai-lte-ue:develop
|
$ docker pull rdefosseoai/oai-lte-ue:develop
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the `redis` tag is not available, pick the newest available `6.0.x` tag at [Docker Hub Redis Tags](https://hub.docker.com/_/redis?tab=tags).
|
||||||
|
|
||||||
And **re-tag** them for tutorials' docker-compose file to work.
|
And **re-tag** them for tutorials' docker-compose file to work.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker image tag rdefosseoai/oai-spgwc:latest oai-spgwc:latest
|
$ docker image tag rdefosseoai/oai-spgwc:latest oai-spgwc:latest
|
||||||
$ docker image tag rdefosseoai/oai-hss:latest oai-hss:latest
|
$ docker image tag rdefosseoai/oai-hss:latest oai-hss:latest
|
||||||
$ docker image tag rdefosseoai/oai-spgwu-tiny:latest oai-spgwu-tiny:latest
|
$ docker image tag rdefosseoai/oai-spgwu-tiny:latest oai-spgwu-tiny:latest
|
||||||
$ docker image tag rdefosseoai/oai-mme:latest oai-mme:latest
|
$ docker image tag rdefosseoai/magma-mme:latest magma-mme:latest
|
||||||
|
|
||||||
$ docker image tag rdefosseoai/oai-enb:develop oai-enb:develop
|
$ docker image tag rdefosseoai/oai-enb:develop oai-enb:develop
|
||||||
$ docker image tag rdefosseoai/oai-lte-ue:develop oai-lte-ue:develop
|
$ docker image tag rdefosseoai/oai-lte-ue:develop oai-lte-ue:develop
|
||||||
@@ -81,14 +84,14 @@ How to build the Traffic-Generator image is explained [here](https://github.com/
|
|||||||
|
|
||||||
**Just `docker-compose up -d` WILL NOT WORK!**
|
**Just `docker-compose up -d` WILL NOT WORK!**
|
||||||
|
|
||||||
All the following commands **SHALL** be run from the `ci-scripts/yaml_files/4g_rfsimulator` folder.
|
All the following commands **SHALL** be run from the `ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz` folder.
|
||||||
|
|
||||||
## 2.1. Deploy and Configure Cassandra Database ##
|
## 2.1. Deploy and Configure Cassandra Database ##
|
||||||
|
|
||||||
It is very crutial that the Cassandra DB is fully configured before you do anything else!
|
It is very crutial that the Cassandra DB is fully configured before you do anything else!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd ci-scripts/yaml_files/4g_rfsimulator
|
$ cd ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz
|
||||||
$ docker-compose up -d db_init
|
$ docker-compose up -d db_init
|
||||||
Creating network "rfsim4g-oai-private-net" with the default driver
|
Creating network "rfsim4g-oai-private-net" with the default driver
|
||||||
Creating network "rfsim4g-oai-public-net" with the default driver
|
Creating network "rfsim4g-oai-public-net" with the default driver
|
||||||
@@ -128,11 +131,12 @@ $ sudo tshark -i rfsim4g-public -f 'port 3868 or port 2123 or port 36412 or port
|
|||||||
## 2.2. Deploy OAI CN4G containers ##
|
## 2.2. Deploy OAI CN4G containers ##
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-compose up -d oai_mme oai_spgwu trf_gen
|
$ docker-compose up -d magma_mme oai_spgwu trf_gen
|
||||||
rfsim4g-cassandra is up-to-date
|
rfsim4g-cassandra is up-to-date
|
||||||
Creating rfsim4g-trf-gen ... done
|
Creating rfsim4g-trf-gen ... done
|
||||||
|
Creating rfsim4g-redis ... done
|
||||||
Creating rfsim4g-oai-hss ... done
|
Creating rfsim4g-oai-hss ... done
|
||||||
Creating rfsim4g-oai-mme ... done
|
Creating rfsim4g-magma-mme ... done
|
||||||
Creating rfsim4g-oai-spgwc ... done
|
Creating rfsim4g-oai-spgwc ... done
|
||||||
Creating rfsim4g-oai-spgwu-tiny ... done
|
Creating rfsim4g-oai-spgwu-tiny ... done
|
||||||
```
|
```
|
||||||
@@ -144,11 +148,12 @@ $ docker-compose ps -a
|
|||||||
Name Command State Ports
|
Name Command State Ports
|
||||||
-------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------
|
||||||
rfsim4g-cassandra docker-entrypoint.sh cassa ... Up (healthy) 7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp
|
rfsim4g-cassandra docker-entrypoint.sh cassa ... Up (healthy) 7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp
|
||||||
rfsim4g-oai-hss /openair-hss/bin/entrypoin ... Up (healthy) 5868/tcp, 9042/tcp, 9080/tcp, 9081/tcp
|
rfsim4g-magma-mme /bin/bash -c /magma-mme/bi ... Up (healthy) 2123/udp, 3870/tcp, 5870/tcp
|
||||||
rfsim4g-oai-mme /openair-mme/bin/entrypoin ... Up (healthy) 2123/udp, 3870/tcp, 5870/tcp
|
rfsim4g-oai-hss /openair-hss/bin/entrypoin ... Up (healthy) 5868/tcp, 9042/tcp, 9080/tcp, 9081/tcp
|
||||||
rfsim4g-oai-spgwc /openair-spgwc/bin/entrypo ... Up (healthy) 2123/udp, 8805/udp
|
rfsim4g-oai-spgwc /openair-spgwc/bin/entrypo ... Up (healthy) 2123/udp, 8805/udp
|
||||||
rfsim4g-oai-spgwu-tiny /openair-spgwu-tiny/bin/en ... Up (healthy) 2152/udp, 8805/udp
|
rfsim4g-oai-spgwu-tiny /openair-spgwu-tiny/bin/en ... Up (healthy) 2152/udp, 8805/udp
|
||||||
rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
|
rfsim4g-redis /bin/bash -c redis-server ... Up (healthy) 6379/tcp
|
||||||
|
rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2.3. Deploy OAI eNB in RF simulator mode ##
|
## 2.3. Deploy OAI eNB in RF simulator mode ##
|
||||||
@@ -165,77 +170,55 @@ $ docker-compose ps -a
|
|||||||
Name Command State Ports
|
Name Command State Ports
|
||||||
-------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------
|
||||||
rfsim4g-cassandra docker-entrypoint.sh cassa ... Up (healthy) 7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp
|
rfsim4g-cassandra docker-entrypoint.sh cassa ... Up (healthy) 7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp
|
||||||
rfsim4g-oai-enb /opt/oai-enb/bin/entrypoin ... Up (healthy) 2152/udp, 36412/udp, 36422/udp
|
rfsim4g-magma-mme /bin/bash -c /magma-mme/bi ... Up (healthy) 2123/udp, 3870/tcp, 5870/tcp
|
||||||
rfsim4g-oai-hss /openair-hss/bin/entrypoin ... Up (healthy) 5868/tcp, 9042/tcp, 9080/tcp, 9081/tcp
|
rfsim4g-oai-enb /opt/oai-enb/bin/entrypoin ... Up (healthy) 2152/udp, 36412/udp, 36422/udp
|
||||||
rfsim4g-oai-mme /openair-mme/bin/entrypoin ... Up (healthy) 2123/udp, 3870/tcp, 5870/tcp
|
rfsim4g-oai-hss /openair-hss/bin/entrypoin ... Up (healthy) 5868/tcp, 9042/tcp, 9080/tcp, 9081/tcp
|
||||||
rfsim4g-oai-spgwc /openair-spgwc/bin/entrypo ... Up (healthy) 2123/udp, 8805/udp
|
rfsim4g-oai-spgwc /openair-spgwc/bin/entrypo ... Up (healthy) 2123/udp, 8805/udp
|
||||||
rfsim4g-oai-spgwu-tiny /openair-spgwu-tiny/bin/en ... Up (healthy) 2152/udp, 8805/udp
|
rfsim4g-oai-spgwu-tiny /openair-spgwu-tiny/bin/en ... Up (healthy) 2152/udp, 8805/udp
|
||||||
rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
|
rfsim4g-redis /bin/bash -c redis-server ... Up (healthy) 6379/tcp
|
||||||
|
rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
|
||||||
```
|
```
|
||||||
|
|
||||||
Check if the eNB connected to MME:
|
Check if the eNB connected to MME: with MAGMA-MME, the logs are not pushed to `stdout` but to a file at `/var/log/mme.log`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker logs rfsim4g-oai-mme
|
$ docker exec rfsim4g-magma-mme /bin/bash -c "cat /var/log/mme.log"
|
||||||
...
|
...
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0039 ======================================= STATISTICS ============================================
|
000141 Fri Feb 11 09:49:29 2022 7EFFE7BE4700 DEBUG S6A tasks/s6a/s6a_peer.c :0095 Diameter identity of MME: mme.openairinterface.org with length: 24
|
||||||
|
000142 Fri Feb 11 09:49:29 2022 7EFFE7BE4700 DEBUG S6A tasks/s6a/s6a_peer.c :0130 S6a peer connection attempt 1 / 8
|
||||||
|
000143 Fri Feb 11 09:49:29 2022 7EFFE7BE4700 DEBUG S6A tasks/s6a/s6a_peer.c :0141 Peer hss.openairinterface.org is now connected...
|
||||||
|
000144 Fri Feb 11 09:49:29 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
|
000146 Fri Feb 11 09:49:29 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_main.c :0083 MME APP ZMQ latency: 214.
|
||||||
|
000145 Fri Feb 11 09:49:29 2022 7EFFE83E5700 DEBUG S1AP tasks/s1ap/s1ap_mme.c :0121 S1AP ZMQ latency: 146.
|
||||||
|
000147 Fri Feb 11 09:50:23 2022 7EFFE83E5700 DEBUG S1AP tasks/s1ap/s1ap_mme.c :0121 S1AP ZMQ latency: 144.
|
||||||
|
000148 Fri Feb 11 09:50:23 2022 7EFFE83E5700 DEBUG S1AP tasks/s1ap/s1ap_mme_handlers.c :3775 Create eNB context for assoc_id: 4121
|
||||||
|
000149 Fri Feb 11 09:50:23 2022 7EFFE83E5700 DEBUG S1AP tasks/s1ap/s1ap_mme.c :0121 S1AP ZMQ latency: 48.
|
||||||
|
000150 Fri Feb 11 09:50:23 2022 7EFFE83E5700 DEBUG S1AP tasks/s1ap/s1ap_mme_handlers.c :0536 New s1 setup request incoming from eNB-rf-sim macro eNB id: 00e01
|
||||||
|
000151 Fri Feb 11 09:50:23 2022 7EFFE83E5700 DEBUG S1AP tasks/s1ap/s1ap_mme_handlers.c :0639 Adding eNB with enb_id :3585 to the list of served eNBs
|
||||||
|
000152 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0049 ======================================= STATISTICS ============================================
|
||||||
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0042 | Current Status| Added since last display| Removed since last display |
|
000153 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0050 | Current Status|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0048 Connected eNBs | 0 | 0 | 0 |
|
000154 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0053 Attached UEs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0054 Attached UEs | 0 | 0 | 0 |
|
000155 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0056 Connected UEs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0060 Connected UEs | 0 | 0 | 0 |
|
000156 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0059 Connected eNBs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0066 Default Bearers| 0 | 0 | 0 |
|
000157 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0062 Default Bearers| 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0072 S1-U Bearers | 0 | 0 | 0 |
|
000158 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0065 S1-U Bearers | 0 |
|
||||||
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0075 ======================================= STATISTICS ============================================
|
000159 Fri Feb 11 09:50:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0070 ======================================= STATISTICS ============================================
|
||||||
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0469 Client association changed: 0
|
000160 Fri Feb 11 09:50:28 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0101 ----------------------
|
000161 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0049 ======================================= STATISTICS ============================================
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0102 SCTP Status:
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0103 assoc id .....: 675
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0104 state ........: 4
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0105 instrms ......: 2
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0106 outstrms .....: 2
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0108 fragmentation : 1452
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0109 pending data .: 0
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0110 unack data ...: 0
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0111 rwnd .........: 106496
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0112 peer info :
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0114 state ....: 2
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0116 cwnd .....: 4380
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0118 srtt .....: 0
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0120 rto ......: 3000
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0122 mtu ......: 1500
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0123 ----------------------
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0479 New connection
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0205 ----------------------
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0206 Local addresses:
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0217 - [192.168.61.3]
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0234 ----------------------
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0151 ----------------------
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0152 Peer addresses:
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0163 - [192.168.61.20]
|
|
||||||
DEBUG SCTP enair-mme/src/sctp/sctp_common.c:0178 ----------------------
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0554 SCTP RETURNING!!
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0547 [675][44] Msg of length 51 received from port 36412, on stream 0, PPID 18
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0554 SCTP RETURNING!!
|
|
||||||
DEBUG S1AP mme/src/s1ap/s1ap_mme_handlers.c:2826 Create eNB context for assoc_id: 675
|
|
||||||
DEBUG S1AP mme/src/s1ap/s1ap_mme_handlers.c:0361 S1-Setup-Request macroENB_ID.size 3 (should be 20)
|
|
||||||
DEBUG S1AP mme/src/s1ap/s1ap_mme_handlers.c:0321 New s1 setup request incoming from macro eNB id: 00e01
|
|
||||||
DEBUG S1AP mme/src/s1ap/s1ap_mme_handlers.c:0423 Adding eNB to the list of served eNBs
|
|
||||||
DEBUG S1AP mme/src/s1ap/s1ap_mme_handlers.c:0438 Adding eNB id 3585 to the list of served eNBs
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0283 [44][675] Sending buffer 0x7f9394009f90 of 27 bytes on stream 0 with ppid 18
|
|
||||||
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0296 Successfully sent 27 bytes on stream 0
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0039 ======================================= STATISTICS ============================================
|
|
||||||
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0042 | Current Status| Added since last display| Removed since last display |
|
000162 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0050 | Current Status|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0048 Connected eNBs | 1 | 1 | 0 |
|
000163 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0053 Attached UEs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0054 Attached UEs | 0 | 0 | 0 |
|
000164 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0056 Connected UEs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0060 Connected UEs | 0 | 0 | 0 |
|
000165 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0059 Connected eNBs | 1 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0066 Default Bearers| 0 | 0 | 0 |
|
000166 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0062 Default Bearers| 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0072 S1-U Bearers | 0 | 0 | 0 |
|
000167 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0065 S1-U Bearers | 0 |
|
||||||
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0075 ======================================= STATISTICS ============================================
|
000168 Fri Feb 11 09:51:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0070 ======================================= STATISTICS ============================================
|
||||||
|
|
||||||
|
000169 Fri Feb 11 09:51:28 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -253,14 +236,14 @@ $ docker-compose ps -a
|
|||||||
Name Command State Ports
|
Name Command State Ports
|
||||||
-------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------
|
||||||
rfsim4g-cassandra docker-entrypoint.sh cassa ... Up (healthy) 7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp
|
rfsim4g-cassandra docker-entrypoint.sh cassa ... Up (healthy) 7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp
|
||||||
rfsim4g-oai-enb /opt/oai-enb/bin/entrypoin ... Up (healthy) 2152/udp, 36412/udp, 36422/udp
|
rfsim4g-magma-mme /bin/bash -c /magma-mme/bi ... Up (healthy) 2123/udp, 3870/tcp, 5870/tcp
|
||||||
rfsim4g-oai-hss /openair-hss/bin/entrypoin ... Up (healthy) 5868/tcp, 9042/tcp, 9080/tcp, 9081/tcp
|
rfsim4g-oai-enb /opt/oai-enb/bin/entrypoin ... Up (healthy) 2152/udp, 36412/udp, 36422/udp
|
||||||
rfsim4g-oai-lte-ue0 /opt/oai-lte-ue/bin/entryp ... Up (healthy) 10000/tcp
|
rfsim4g-oai-hss /openair-hss/bin/entrypoin ... Up (healthy) 5868/tcp, 9042/tcp, 9080/tcp, 9081/tcp
|
||||||
rfsim4g-oai-mme /openair-mme/bin/entrypoin ... Up (healthy) 2123/udp, 3870/tcp, 5870/tcp
|
rfsim4g-oai-lte-ue0 /opt/oai-lte-ue/bin/entryp ... Up (healthy) 10000/tcp
|
||||||
rfsim4g-oai-spgwc /openair-spgwc/bin/entrypo ... Up (healthy) 2123/udp, 8805/udp
|
rfsim4g-oai-spgwc /openair-spgwc/bin/entrypo ... Up (healthy) 2123/udp, 8805/udp
|
||||||
rfsim4g-oai-spgwu-tiny /openair-spgwu-tiny/bin/en ... Up (healthy) 2152/udp, 8805/udp
|
rfsim4g-oai-spgwu-tiny /openair-spgwu-tiny/bin/en ... Up (healthy) 2152/udp, 8805/udp
|
||||||
rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
|
rfsim4g-redis /bin/bash -c redis-server ... Up (healthy) 6379/tcp
|
||||||
Creating rfsim4g-oai-enb ... done
|
rfsim4g-trf-gen /bin/bash -c ip route add ... Up (healthy)
|
||||||
```
|
```
|
||||||
|
|
||||||
Making sure the OAI UE is connected:
|
Making sure the OAI UE is connected:
|
||||||
@@ -268,40 +251,69 @@ Making sure the OAI UE is connected:
|
|||||||
```bash
|
```bash
|
||||||
$ docker logs rfsim4g-oai-enb
|
$ docker logs rfsim4g-oai-enb
|
||||||
...
|
...
|
||||||
[RRC] RRCConnectionReconfiguration Encoded 1098 bits (138 bytes)
|
7320446.555734 [RRC] I [FRAME 00000][eNB][MOD 00][RNTI bd8c] Logical Channel DL-DCCH, Generate UECapabilityEnquiry (bytes 10)
|
||||||
[RRC] [eNB 0] Frame 0, Logical Channel DL-DCCH, Generate LTE_RRCConnectionReconfiguration (bytes 138, UE id 617b)
|
7320446.555739 [RRC] I sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB
|
||||||
[RRC] sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB
|
7320446.570284 [RRC] I [FRAME 00000][eNB][MOD 00][RNTI bd8c] received ueCapabilityInformation on UL-DCCH 1 from UE
|
||||||
[PDCP] [FRAME 00000][eNB][MOD 00][RNTI 617b][SRB 02] Action ADD LCID 2 (SRB id 2) configured with SN size 5 bits and RLC AM
|
7320446.570293 [RRC] A got UE capabilities for UE bd8c
|
||||||
[PDCP] [FRAME 00000][eNB][MOD 00][RNTI 617b][DRB 01] Action ADD LCID 3 (DRB id 1) configured with SN size 12 bits and RLC AM
|
7320446.570346 [RRC] W drx_Configuration parameter is NULL, cannot configure local UE parameters or CDRX is deactivated
|
||||||
[SCTP] Successfully sent 46 bytes on stream 1 for assoc_id 676
|
7320446.570370 [RRC] I [eNB 0] frame 0: requesting A2, A3, A4, and A5 event reporting
|
||||||
[RRC] [FRAME 00000][eNB][MOD 00][RNTI 617b] UE State = RRC_RECONFIGURED (default DRB, xid 0)
|
7320446.570435 [RRC] I RRCConnectionReconfiguration Encoded 1146 bits (144 bytes)
|
||||||
[PDCP] [FRAME 00000][eNB][MOD 00][RNTI 617b][SRB 02] Action MODIFY LCID 2 RB id 2 reconfigured with SN size 5 and RLC AM
|
7320446.570440 [RRC] I [eNB 0] Frame 0, Logical Channel DL-DCCH, Generate LTE_RRCConnectionReconfiguration (bytes 144, UE id bd8c)
|
||||||
[PDCP] [FRAME 00000][eNB][MOD 00][RNTI 617b][DRB 01] Action MODIFY LCID 3 RB id 1 reconfigured with SN size 1 and RLC AM
|
7320446.570445 [RRC] I sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB
|
||||||
[RRC] [eNB 0] Frame 0 CC 0 : SRB2 is now active
|
7320446.570446 [SCTP] I Successfully sent 46 bytes on stream 1 for assoc_id 4120
|
||||||
[RRC] [eNB 0] Frame 0 : Logical Channel UL-DCCH, Received LTE_RRCConnectionReconfigurationComplete from UE rnti 617b, reconfiguring DRB 1/LCID 3
|
7320446.570449 [PDCP] I [FRAME 00000][eNB][MOD 00][RNTI bd8c][SRB 02] Action ADD LCID 2 (SRB id 2) configured with SN size 5 bits and RLC AM
|
||||||
[RRC] [eNB 0] Frame 0 : Logical Channel UL-DCCH, Received LTE_RRCConnectionReconfigurationComplete, reconfiguring DRB 1/LCID 3
|
7320446.570455 [PDCP] I [FRAME 00000][eNB][MOD 00][RNTI bd8c][DRB 01] Action ADD LCID 3 (DRB id 1) configured with SN size 12 bits and RLC AM
|
||||||
[MAC] UE 0 RNTI 617b adding LC 3 idx 2 to scheduling control (total 3)
|
7320446.583036 [RRC] I [FRAME 00000][eNB][MOD 00][RNTI bd8c] UE State = RRC_RECONFIGURED (default DRB, xid 0)
|
||||||
[MAC] Added physicalConfigDedicated 0x7f98e0004950 for 0.0
|
7320446.583056 [PDCP] I [FRAME 00000][eNB][MOD 00][RNTI bd8c][SRB 02] Action MODIFY LCID 2 RB id 2 reconfigured with SN size 5 and RLC AM
|
||||||
[S1AP] initial_ctxt_resp_p: e_rab ID 5, enb_addr 192.168.61.20, SIZE 4
|
7320446.583060 [PDCP] I [FRAME 00000][eNB][MOD 00][RNTI bd8c][DRB 01] Action MODIFY LCID 3 RB id 1 reconfigured with SN size 1 and RLC AM
|
||||||
[SCTP] Successfully sent 40 bytes on stream 1 for assoc_id 676
|
7320446.583065 [RRC] I [eNB 0] Frame 0 CC 0 : SRB2 is now active
|
||||||
[SCTP] Successfully sent 61 bytes on stream 1 for assoc_id 676
|
7320446.583067 [RRC] I [eNB 0] Frame 0 : Logical Channel UL-DCCH, Received LTE_RRCConnectionReconfigurationComplete from UE rnti bd8c, reconfiguring DRB 1/LCID 3
|
||||||
|
7320446.583070 [RRC] I [eNB 0] Frame 0 : Logical Channel UL-DCCH, Received LTE_RRCConnectionReconfigurationComplete, reconfiguring DRB 1/LCID 3
|
||||||
|
7320446.583074 [MAC] I UE 0 RNTI bd8c adding LC 3 idx 2 to scheduling control (total 3)
|
||||||
|
7320446.583077 [MAC] I Added physicalConfigDedicated 0x7fd18c46be50 for 0.0
|
||||||
|
7320446.583095 [S1AP] I initial_ctxt_resp_p: e_rab ID 5, enb_addr 192.168.61.20, SIZE 4
|
||||||
|
7320446.583150 [SCTP] I Successfully sent 40 bytes on stream 1 for assoc_id 4120
|
||||||
|
7320446.595495 [SCTP] I Successfully sent 61 bytes on stream 1 for assoc_id 4120
|
||||||
|
7320446.774197 [SCTP] I Found data for descriptor 103
|
||||||
|
7320446.774227 [SCTP] I [4120][103] Msg of length 53 received, on stream 1, PPID 18
|
||||||
|
7320446.774295 [RRC] I [eNB 0] Received S1AP_DOWNLINK_NAS: ue_initial_id 0, eNB_ue_s1ap_id 4527568
|
||||||
|
7320446.774316 [RRC] I sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
On the MME:
|
On the MME: be patient, the statistics display update is slow!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker logs rfsim4g-oai-mme
|
$ docker exec rfsim4g-magma-mme /bin/bash -c "cat /var/log/mme.log"
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0039 ======================================= STATISTICS ============================================
|
000413 Fri Feb 11 09:52:52 2022 7EFFE8BE6700 INFO GTPv2- lib/gtpv2-c/nwgtpv2c-0.11/src/Nw:2376 Stopped active timer 0x2 for info 0x0x60700001a9b0!
|
||||||
|
000414 Fri Feb 11 09:52:52 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
|
000415 Fri Feb 11 09:52:52 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_main.c :0083 MME APP ZMQ latency: 172.
|
||||||
|
000416 Fri Feb 11 09:52:52 2022 7EFFEA3E9700 INFO MME-AP tasks/mme_app/mme_app_main.c :0137 Received S11 MODIFY BEARER RESPONSE from SPGW
|
||||||
|
000417 Fri Feb 11 09:52:52 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_main.c :0150 S11 MODIFY BEARER RESPONSE local S11 teid = 1
|
||||||
|
000418 Fri Feb 11 09:52:52 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
|
000419 Fri Feb 11 09:53:28 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
|
000420 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0049 ======================================= STATISTICS ============================================
|
||||||
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0042 | Current Status| Added since last display| Removed since last display |
|
000421 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0050 | Current Status|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0048 Connected eNBs | 1 | 0 | 0 |
|
000422 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0053 Attached UEs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0054 Attached UEs | 1 | 0 | 0 |
|
000423 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0056 Connected UEs | 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0060 Connected UEs | 1 | 0 | 0 |
|
000424 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0059 Connected eNBs | 1 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0066 Default Bearers| 0 | 0 | 0 |
|
000425 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0062 Default Bearers| 0 |
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0072 S1-U Bearers | 0 | 0 | 0 |
|
000426 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0065 S1-U Bearers | 0 |
|
||||||
|
|
||||||
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0075 ======================================= STATISTICS ============================================
|
000427 Fri Feb 11 09:53:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0070 ======================================= STATISTICS ============================================
|
||||||
|
|
||||||
|
000428 Fri Feb 11 09:54:28 2022 7EFFEA3E9700 DEBUG MME-AP tasks/mme_app/mme_app_state_mana:0097 Inside get_state with read_from_db 0
|
||||||
|
000429 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0049 ======================================= STATISTICS ============================================
|
||||||
|
|
||||||
|
000430 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0050 | Current Status|
|
||||||
|
000431 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0053 Attached UEs | 1 |
|
||||||
|
000432 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0056 Connected UEs | 1 |
|
||||||
|
000433 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0059 Connected eNBs | 1 |
|
||||||
|
000434 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0062 Default Bearers| 1 |
|
||||||
|
000435 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0065 S1-U Bearers | 1 |
|
||||||
|
|
||||||
|
000436 Fri Feb 11 09:54:28 2022 7EFFEC3ED700 DEBUG SERVIC tasks/service303/service303_mme_:0070 ======================================= STATISTICS ============================================
|
||||||
```
|
```
|
||||||
|
|
||||||
On the LTE UE:
|
On the LTE UE:
|
||||||
@@ -377,16 +389,18 @@ Stopping rfsim4g-oai-lte-ue0 ... done
|
|||||||
Stopping rfsim4g-oai-enb ... done
|
Stopping rfsim4g-oai-enb ... done
|
||||||
Stopping rfsim4g-oai-spgwu-tiny ... done
|
Stopping rfsim4g-oai-spgwu-tiny ... done
|
||||||
Stopping rfsim4g-oai-spgwc ... done
|
Stopping rfsim4g-oai-spgwc ... done
|
||||||
Stopping rfsim4g-oai-mme ... done
|
Stopping rfsim4g-magma-mme ... done
|
||||||
Stopping rfsim4g-oai-hss ... done
|
Stopping rfsim4g-oai-hss ... done
|
||||||
|
Stopping rfsim4g-redis ... done
|
||||||
Stopping rfsim4g-trf-gen ... done
|
Stopping rfsim4g-trf-gen ... done
|
||||||
Stopping rfsim4g-cassandra ... done
|
Stopping rfsim4g-cassandra ... done
|
||||||
Removing rfsim4g-oai-lte-ue0 ... done
|
Removing rfsim4g-oai-lte-ue0 ... done
|
||||||
Removing rfsim4g-oai-enb ... done
|
Removing rfsim4g-oai-enb ... done
|
||||||
Removing rfsim4g-oai-spgwu-tiny ... done
|
Removing rfsim4g-oai-spgwu-tiny ... done
|
||||||
Removing rfsim4g-oai-spgwc ... done
|
Removing rfsim4g-oai-spgwc ... done
|
||||||
Removing rfsim4g-oai-mme ... done
|
Removing rfsim4g-magma-mme ... done
|
||||||
Removing rfsim4g-oai-hss ... done
|
Removing rfsim4g-oai-hss ... done
|
||||||
|
Removing rfsim4g-redis ... done
|
||||||
Removing rfsim4g-trf-gen ... done
|
Removing rfsim4g-trf-gen ... done
|
||||||
Removing rfsim4g-cassandra ... done
|
Removing rfsim4g-cassandra ... done
|
||||||
Removing network rfsim4g-oai-private-net
|
Removing network rfsim4g-oai-private-net
|
||||||
@@ -443,19 +457,23 @@ My 1st UE IMSI is an aggregation of `MCC`, `MNC`, `SHORT_IMSI`.
|
|||||||
|
|
||||||
## 5.2. PLMN and TAI ##
|
## 5.2. PLMN and TAI ##
|
||||||
|
|
||||||
in MME config:
|
in MME config, in the docker-compose there is not much besides REALM fields:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
TZ: Europe/Paris
|
||||||
REALM: openairinterface.org
|
REALM: openairinterface.org
|
||||||
..
|
PREFIX: /openair-mme/etc
|
||||||
MCC: '208'
|
HSS_HOSTNAME: hss
|
||||||
MNC: '96'
|
HSS_FQDN: hss.openairinterface.org
|
||||||
MME_GID: 32768
|
HSS_REALM: openairinterface.org
|
||||||
MME_CODE: 3
|
|
||||||
TAC_0: 1
|
|
||||||
TAC_1: 2
|
|
||||||
TAC_2: 3
|
|
||||||
MME_FQDN: mme.openairinterface.org
|
MME_FQDN: mme.openairinterface.org
|
||||||
|
FEATURES: mme_oai
|
||||||
|
```
|
||||||
|
|
||||||
|
Everything is hard-coded in the `mme.conf` that is mounted as a volume: look for instances of
|
||||||
|
|
||||||
|
```
|
||||||
|
MCC="208" ; MNC="96"; TAC = "1";
|
||||||
```
|
```
|
||||||
|
|
||||||
in SPGW-C/-U configs:
|
in SPGW-C/-U configs:
|
||||||
|
|||||||
@@ -58,57 +58,45 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
oai_mme:
|
redis:
|
||||||
image: oai-mme:latest
|
image: redis:6.0.5
|
||||||
container_name: rfsim4g-oai-mme
|
container_name: rfsim4g-redis
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_hss]
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.61.6
|
||||||
|
volumes:
|
||||||
|
- ./redis_extern.conf:/usr/local/etc/redis/redis.conf
|
||||||
|
entrypoint: /bin/bash -c "redis-server /usr/local/etc/redis/redis.conf"
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "redis-cli -h 192.168.61.6 -p 6380 ping"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
magma_mme:
|
||||||
|
image: magma-mme:latest
|
||||||
|
container_name: rfsim4g-magma-mme
|
||||||
|
hostname: mme
|
||||||
|
privileged: true
|
||||||
|
depends_on: [oai_hss, redis]
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.61.3
|
ipv4_address: 192.168.61.3
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
REALM: openairinterface.org
|
REALM: openairinterface.org
|
||||||
PREFIX: /openair-mme/etc
|
PREFIX: /openair-mme/etc
|
||||||
INSTANCE: 1
|
|
||||||
PID_DIRECTORY: /var/run
|
|
||||||
HSS_IP_ADDR: 192.168.61.2
|
|
||||||
HSS_HOSTNAME: hss
|
HSS_HOSTNAME: hss
|
||||||
HSS_FQDN: hss.openairinterface.org
|
HSS_FQDN: hss.openairinterface.org
|
||||||
HSS_REALM: openairinterface.org
|
HSS_REALM: openairinterface.org
|
||||||
MCC: '208'
|
|
||||||
MNC: '96'
|
|
||||||
MME_GID: 32768
|
|
||||||
MME_CODE: 3
|
|
||||||
TAC_0: 1
|
|
||||||
TAC_1: 2
|
|
||||||
TAC_2: 3
|
|
||||||
MME_FQDN: mme.openairinterface.org
|
MME_FQDN: mme.openairinterface.org
|
||||||
MME_S6A_IP_ADDR: 192.168.61.3
|
FEATURES: mme_oai
|
||||||
MME_INTERFACE_NAME_FOR_S1_MME: eth0
|
volumes:
|
||||||
MME_IPV4_ADDRESS_FOR_S1_MME: 192.168.61.3
|
- ./mme_fd.sprint.conf:/magma-mme/etc/mme_fd.conf.tmplt
|
||||||
MME_INTERFACE_NAME_FOR_S11: eth0
|
- ./mme.conf:/magma-mme/etc/mme.conf
|
||||||
MME_IPV4_ADDRESS_FOR_S11: 192.168.61.3
|
- ./entrypoint.sh:/magma-mme/bin/entrypoint.sh
|
||||||
MME_INTERFACE_NAME_FOR_S10: lo
|
entrypoint: /bin/bash -c "/magma-mme/bin/entrypoint.sh"
|
||||||
MME_IPV4_ADDRESS_FOR_S10: 127.0.0.10
|
|
||||||
OUTPUT: CONSOLE
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_0: 192.168.61.4
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_0: 0.0.0.0
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_1: 0.0.0.0
|
|
||||||
MCC_SGW_0: '208'
|
|
||||||
MNC3_SGW_0: '096'
|
|
||||||
TAC_LB_SGW_0: '01'
|
|
||||||
TAC_HB_SGW_0: '00'
|
|
||||||
MCC_MME_0: '208'
|
|
||||||
MNC3_MME_0: '096'
|
|
||||||
TAC_LB_MME_0: '02'
|
|
||||||
TAC_HB_MME_0: '00'
|
|
||||||
MCC_MME_1: '208'
|
|
||||||
MNC3_MME_1: '096'
|
|
||||||
TAC_LB_MME_1: '03'
|
|
||||||
TAC_HB_MME_1: '00'
|
|
||||||
TAC_LB_SGW_TEST_0: '03'
|
|
||||||
TAC_HB_SGW_TEST_0: '00'
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_TEST_0: 0.0.0.0
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep oai_mme"
|
test: /bin/bash -c "pgrep oai_mme"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -118,7 +106,7 @@ services:
|
|||||||
oai_spgwc:
|
oai_spgwc:
|
||||||
image: oai-spgwc:latest
|
image: oai-spgwc:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_mme]
|
depends_on: [magma_mme]
|
||||||
container_name: rfsim4g-oai-spgwc
|
container_name: rfsim4g-oai-spgwc
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
INSTANCE=1
|
||||||
|
PREFIX='/magma-mme/etc'
|
||||||
|
MY_REALM='openairinterface.org'
|
||||||
|
|
||||||
|
declare -A MME_CONF
|
||||||
|
|
||||||
|
pushd $PREFIX
|
||||||
|
MME_CONF[@MME_S6A_IP_ADDR@]="192.168.61.3"
|
||||||
|
MME_CONF[@INSTANCE@]=$INSTANCE
|
||||||
|
MME_CONF[@PREFIX@]=$PREFIX
|
||||||
|
MME_CONF[@REALM@]=$MY_REALM
|
||||||
|
MME_CONF[@MME_FQDN@]="mme.${MME_CONF[@REALM@]}"
|
||||||
|
MME_CONF[@HSS_HOSTNAME@]='hss'
|
||||||
|
MME_CONF[@HSS_FQDN@]="${MME_CONF[@HSS_HOSTNAME@]}.${MME_CONF[@REALM@]}"
|
||||||
|
MME_CONF[@HSS_IP_ADDR@]="192.168.61.2"
|
||||||
|
|
||||||
|
cp mme_fd.conf.tmplt $PREFIX/mme_fd.conf
|
||||||
|
|
||||||
|
for K in "${!MME_CONF[@]}"; do
|
||||||
|
egrep -lRZ "$K" $PREFIX/mme_fd.conf | xargs -0 -l sed -i -e "s|$K|${MME_CONF[$K]}|g"
|
||||||
|
ret=$?;[[ ret -ne 0 ]] && echo "Could not replace $K with ${MME_CONF[$K]}"
|
||||||
|
done
|
||||||
|
|
||||||
|
sed -i -e "s@etc/freeDiameter@etc@" /magma-mme/etc/mme_fd.conf
|
||||||
|
sed -i -e "s@bind: 127.0.0.1@bind: 192.168.61.6@" /etc/magma/redis.yml
|
||||||
|
# Generate freeDiameter certificate
|
||||||
|
popd
|
||||||
|
cd /magma-mme/scripts
|
||||||
|
./check_mme_s6a_certificate $PREFIX mme.${MME_CONF[@REALM@]}
|
||||||
|
|
||||||
|
cd /magma-mme
|
||||||
|
nohup /magma-mme/bin/sctpd > /var/log/sctpd.log 2>&1 &
|
||||||
|
sleep 5
|
||||||
|
/magma-mme/bin/oai_mme -c /magma-mme/etc/mme.conf
|
||||||
@@ -0,0 +1,134 @@
|
|||||||
|
# generated by generate_mme_config_script.py
|
||||||
|
MME :
|
||||||
|
{
|
||||||
|
REALM = "openairinterface.org"
|
||||||
|
PID_DIRECTORY = "/var/run";
|
||||||
|
MAXENB = 8; # power of 2
|
||||||
|
MAXUE = 16; # power of 2
|
||||||
|
RELATIVE_CAPACITY = 10;
|
||||||
|
|
||||||
|
EMERGENCY_ATTACH_SUPPORTED = "no";
|
||||||
|
UNAUTHENTICATED_IMSI_SUPPORTED = "no";
|
||||||
|
|
||||||
|
# EPS network feature support
|
||||||
|
EPS_NETWORK_FEATURE_SUPPORT_IMS_VOICE_OVER_PS_SESSION_IN_S1 = "no"; # DO NOT CHANGE
|
||||||
|
EPS_NETWORK_FEATURE_SUPPORT_EMERGENCY_BEARER_SERVICES_IN_S1_MODE = "no"; # DO NOT CHANGE
|
||||||
|
EPS_NETWORK_FEATURE_SUPPORT_LOCATION_SERVICES_VIA_EPC = "no"; # DO NOT CHANGE
|
||||||
|
EPS_NETWORK_FEATURE_SUPPORT_EXTENDED_SERVICE_REQUEST = "no"; # DO NOT CHANGE
|
||||||
|
|
||||||
|
# Display statistics about whole system (expressed in seconds)
|
||||||
|
MME_STATISTIC_TIMER = 10;
|
||||||
|
IP_CAPABILITY = "IPV4"; # UE PDN_TYPE
|
||||||
|
USE_STATELESS = "";
|
||||||
|
|
||||||
|
INTERTASK_INTERFACE :
|
||||||
|
{
|
||||||
|
# max queue size per task
|
||||||
|
ITTI_QUEUE_SIZE = 2000000;
|
||||||
|
};
|
||||||
|
|
||||||
|
S6A :
|
||||||
|
{
|
||||||
|
S6A_CONF = "/magma-mme/etc/mme_fd.conf"; # YOUR MME freeDiameter config file path
|
||||||
|
HSS_HOSTNAME = "hss.openairinterface.org";
|
||||||
|
HSS_REALM = "openairinterface.org";
|
||||||
|
};
|
||||||
|
|
||||||
|
# ------- SCTP definitions
|
||||||
|
SCTP :
|
||||||
|
{
|
||||||
|
# Number of streams to use in input/output
|
||||||
|
SCTP_INSTREAMS = 8;
|
||||||
|
SCTP_OUTSTREAMS = 8;
|
||||||
|
};
|
||||||
|
|
||||||
|
# ------- S1AP definitions
|
||||||
|
S1AP :
|
||||||
|
{
|
||||||
|
# outcome drop timer value (seconds)
|
||||||
|
S1AP_OUTCOME_TIMER = 10;
|
||||||
|
};
|
||||||
|
|
||||||
|
# ------- MME served GUMMEIs
|
||||||
|
GUMMEI_LIST = (
|
||||||
|
{ MCC="208" ; MNC="96"; MME_GID="32768" ; MME_CODE="3"; }
|
||||||
|
);
|
||||||
|
|
||||||
|
# ------- MME served TAIs
|
||||||
|
TAI_LIST = (
|
||||||
|
{MCC="208" ; MNC="96"; TAC = "1"; }
|
||||||
|
);
|
||||||
|
|
||||||
|
TAC_LIST = (
|
||||||
|
{MCC="208" ; MNC="96"; TAC = "1"; }
|
||||||
|
);
|
||||||
|
|
||||||
|
CSFB :
|
||||||
|
{
|
||||||
|
NON_EPS_SERVICE_CONTROL = "OFF";
|
||||||
|
CSFB_MCC = "208";
|
||||||
|
CSFB_MNC = "96";
|
||||||
|
LAC = "1";
|
||||||
|
};
|
||||||
|
NAS :
|
||||||
|
{
|
||||||
|
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "EIA2" , "EIA1" , "EIA0" ];
|
||||||
|
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "EEA0" , "EEA1" , "EEA2" ];
|
||||||
|
T3402 = 1 # in minutes (default is 12 minutes)
|
||||||
|
T3412 = 54 # in minutes (default is 54 minutes, network dependent)
|
||||||
|
T3422 = 6 # in seconds (default is 6s)
|
||||||
|
T3450 = 6 # in seconds (default is 6s)
|
||||||
|
T3460 = 6 # in seconds (default is 6s)
|
||||||
|
T3470 = 6 # in seconds (default is 6s)
|
||||||
|
T3485 = 8 # UNUSED in seconds (default is 8s)
|
||||||
|
T3486 = 8 # UNUSED in seconds (default is 8s)
|
||||||
|
T3489 = 4 # UNUSED in seconds (default is 4s)
|
||||||
|
T3495 = 8 # UNUSED in seconds (default is 8s)
|
||||||
|
};
|
||||||
|
|
||||||
|
SGS :
|
||||||
|
{
|
||||||
|
TS6_1 = 10 # in seconds (default is 10s)
|
||||||
|
TS8 = 4 # in seconds (default is 4s)
|
||||||
|
TS9 = 2 # in seconds (default is 4s)
|
||||||
|
TS10 = 4 # in seconds (default is 4s)
|
||||||
|
TS13 = 4 # in seconds (default is 4s)
|
||||||
|
};
|
||||||
|
|
||||||
|
NETWORK_INTERFACES :
|
||||||
|
{
|
||||||
|
MME_INTERFACE_NAME_FOR_S1_MME = "eth0";
|
||||||
|
MME_IPV4_ADDRESS_FOR_S1_MME = "192.168.61.3/24";
|
||||||
|
MME_INTERFACE_NAME_FOR_S11_MME = "eth0";
|
||||||
|
MME_IPV4_ADDRESS_FOR_S11_MME = "192.168.61.3/24";
|
||||||
|
MME_PORT_FOR_S11_MME = 2123;
|
||||||
|
};
|
||||||
|
|
||||||
|
LOGGING :
|
||||||
|
{
|
||||||
|
OUTPUT = "CONSOLE";
|
||||||
|
THREAD_SAFE = "no";
|
||||||
|
COLOR = "no";
|
||||||
|
|
||||||
|
SCTP_LOG_LEVEL = "ERROR";
|
||||||
|
GTPV1U_LOG_LEVEL = "INFO";
|
||||||
|
SPGW_APP_LOG_LEVEL = "INFO";
|
||||||
|
UDP_LOG_LEVEL = "INFO";
|
||||||
|
S1AP_LOG_LEVEL = "DEBUG";
|
||||||
|
NAS_LOG_LEVEL = "INFO";
|
||||||
|
MME_APP_LOG_LEVEL = "DEBUG";
|
||||||
|
GTPV2C_LOG_LEVEL = "INFO";
|
||||||
|
S11_LOG_LEVEL = "DEBUG";
|
||||||
|
S6A_LOG_LEVEL = "DEBUG";
|
||||||
|
UTIL_LOG_LEVEL = "INFO";
|
||||||
|
MSC_LOG_LEVEL = "ERROR";
|
||||||
|
ITTI_LOG_LEVEL = "ERROR";
|
||||||
|
MME_SCENARIO_PLAYER_LOG_LEVEL = "ERROR";
|
||||||
|
ASN1_VERBOSITY = "INFO";
|
||||||
|
};
|
||||||
|
|
||||||
|
S-GW :
|
||||||
|
{
|
||||||
|
SGW_IPV4_ADDRESS_FOR_S11 = "192.168.61.4";
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,169 @@
|
|||||||
|
# -------- Local ---------
|
||||||
|
|
||||||
|
# Uncomment if the framework cannot resolv it.
|
||||||
|
Identity = "@MME_FQDN@";
|
||||||
|
Realm = "@REALM@";
|
||||||
|
|
||||||
|
# TLS configuration (see previous section)
|
||||||
|
TLS_Cred = "@PREFIX@/freeDiameter/mme.cert.pem",
|
||||||
|
"@PREFIX@/freeDiameter/mme.key.pem";
|
||||||
|
TLS_CA = "@PREFIX@/freeDiameter/mme.cacert.pem";
|
||||||
|
|
||||||
|
# Disable use of TCP protocol (only listen and connect in SCTP)
|
||||||
|
# Default : TCP enabled
|
||||||
|
No_SCTP;
|
||||||
|
|
||||||
|
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||||
|
# Prefer TCP instead of SCTP for establishing new connections.
|
||||||
|
# This setting may be overwritten per peer in peer configuration blocs.
|
||||||
|
# Default : SCTP is attempted first.
|
||||||
|
Prefer_TCP;
|
||||||
|
|
||||||
|
|
||||||
|
No_IPv6;
|
||||||
|
|
||||||
|
# Overwrite the number of SCTP streams. This value should be kept low,
|
||||||
|
# especially if you are using TLS over SCTP, because it consumes a lot of
|
||||||
|
# resources in that case. See tickets 19 and 27 for some additional details on
|
||||||
|
# this.
|
||||||
|
# Limit the number of SCTP streams
|
||||||
|
SCTP_streams = 3;
|
||||||
|
|
||||||
|
|
||||||
|
# By default, freeDiameter acts as a Diameter Relay Agent by forwarding all
|
||||||
|
# messages it cannot handle locally. This parameter disables this behavior.
|
||||||
|
NoRelay;
|
||||||
|
|
||||||
|
# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA exchange is completed
|
||||||
|
# on the unsecure connection. The alternative is RFC6733 mechanism, where TLS protects also the
|
||||||
|
# CER/CEA exchange on a dedicated secure port.
|
||||||
|
# This parameter only affects outgoing connections.
|
||||||
|
# The setting can be also defined per-peer (see Peers configuration section).
|
||||||
|
# Default: use RFC6733 method with separate port for TLS.
|
||||||
|
|
||||||
|
#TLS_old_method;
|
||||||
|
|
||||||
|
AppServThreads = 4;
|
||||||
|
|
||||||
|
# Specify the addresses on which to bind the listening server. This must be
|
||||||
|
# specified if the framework is unable to auto-detect these addresses, or if the
|
||||||
|
# auto-detected values are incorrect. Note that the list of addresses is sent
|
||||||
|
# in CER or CEA message, so one should pay attention to this parameter if some
|
||||||
|
# adresses should be kept hidden.
|
||||||
|
ListenOn = "@MME_S6A_IP_ADDR@";
|
||||||
|
|
||||||
|
Port = 3870;
|
||||||
|
SecPort = 5870;
|
||||||
|
|
||||||
|
# -------- Extensions ---------
|
||||||
|
|
||||||
|
# Uncomment (and create rtd.conf) to specify routing table for this peer.
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_default.fdx" : "rtd.conf";
|
||||||
|
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/_sample.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/app_acct.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/app_diameap.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/app_radgw.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/app_redirect.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/app_sip.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dbg_interactive.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dbg_monitor.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dbg_msg_dumps.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dbg_msg_timings.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dbg_rt.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_3gpp2_avps.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_CreditControl.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_CxDx.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Gx.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_NAS.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Ro.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Rx.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_S6mS6n.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_SGd.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_SLh.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Sd.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Sh.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_T4.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_T6aT6bT7.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Tsp.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_dcca.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_dcca_3gpp.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_dcca_starent.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_draftload_avps.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_eap.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_etsi283034_avps.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_legacy_xml.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_mip6a.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_mip6i.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_nas_mipv6.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_nasreq.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4004_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4006bis_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4072_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc4590_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5447_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5580_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5777_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc5778_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc6734_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc6942_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc7155_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc7683_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_rfc7944_avps.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_sip.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29061_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29128_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29154_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29173_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29212_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29214_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29215_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29217_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29229_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29272_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29273_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29329_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29336_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29337_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29338_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29343_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29344_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29345_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29368_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts29468_avps.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_ts32299_avps.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_busypeers.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_default.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_ereg.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_ignore_dh.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_load_balance.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_randomize.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/rt_redirect.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/test_acct.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/test_app.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/test_hss.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/test_netemul.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/test_rt_any.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/test_sip.fdx";
|
||||||
|
#LoadExtension = "/usr/local/lib/freeDiameter/dict_Rf.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_S6as6d.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_S6t.fdx";
|
||||||
|
LoadExtension = "/usr/local/lib/freeDiameter/dict_S6c.fdx";
|
||||||
|
|
||||||
|
|
||||||
|
# -------- Peers ---------
|
||||||
|
|
||||||
|
# The framework will actively attempt to establish and maintain a connection
|
||||||
|
# with the peers listed here.
|
||||||
|
# For only accepting incoming connections, see the acl_wl.fx extension.
|
||||||
|
|
||||||
|
# ConnectPeer
|
||||||
|
# Declare a remote peer to which this peer must maintain a connection.
|
||||||
|
# In addition, this allows specifying non-default parameters for this peer only
|
||||||
|
# (for example disable SCTP with this peer, or use RFC3588-flavour TLS).
|
||||||
|
# Note that by default, if a peer is not listed as a ConnectPeer entry, an
|
||||||
|
# incoming connection from this peer will be rejected. If you want to accept
|
||||||
|
# incoming connections from other peers, see the acl_wl.fdx? extension which
|
||||||
|
# allows exactly this.
|
||||||
|
|
||||||
|
ConnectPeer= "@HSS_FQDN@" { ConnectTo = "@HSS_IP_ADDR@"; No_SCTP ; No_IPv6; Prefer_TCP; No_TLS; port = 3868;};
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2016-present, Facebook, Inc.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# This source code is licensed under the BSD-style license found in the
|
||||||
|
# LICENSE file in the root directory of this source tree. An additional grant
|
||||||
|
# of patent rights can be found in the PATENTS file in the same directory.
|
||||||
|
|
||||||
|
# Jinja template for Redis configuration
|
||||||
|
# See the default config file for options and explanations:
|
||||||
|
# https://github.com/antirez/redis/blob/unstable/redis.conf
|
||||||
|
|
||||||
|
# TODO: make sensible, production-aware config decisions
|
||||||
|
|
||||||
|
bind 192.168.61.6
|
||||||
|
port 6380
|
||||||
|
|
||||||
|
daemonize no
|
||||||
|
loglevel notice
|
||||||
|
|
||||||
|
timeout 0
|
||||||
|
databases 1
|
||||||
|
|
||||||
|
dbfilename redis_dump.rdb
|
||||||
|
dir /data
|
||||||
|
|
||||||
|
# Save the DB on disk
|
||||||
|
|
||||||
|
save 900 1
|
||||||
|
|
||||||
|
save 300 10
|
||||||
|
|
||||||
|
save 60 1000
|
||||||
@@ -58,57 +58,45 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
oai_mme:
|
redis:
|
||||||
image: oai-mme:latest
|
image: redis:6.0.5
|
||||||
container_name: rfsim4g-oai-mme
|
container_name: rfsim4g-redis
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_hss]
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.61.6
|
||||||
|
volumes:
|
||||||
|
- ../4g_rfsimulator_fdd_05MHz/redis_extern.conf:/usr/local/etc/redis/redis.conf
|
||||||
|
entrypoint: /bin/bash -c "redis-server /usr/local/etc/redis/redis.conf"
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "redis-cli -h 192.168.61.6 -p 6380 ping"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
magma_mme:
|
||||||
|
image: magma-mme:latest
|
||||||
|
container_name: rfsim4g-magma-mme
|
||||||
|
hostname: mme
|
||||||
|
privileged: true
|
||||||
|
depends_on: [oai_hss, redis]
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.61.3
|
ipv4_address: 192.168.61.3
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
REALM: openairinterface.org
|
REALM: openairinterface.org
|
||||||
PREFIX: /openair-mme/etc
|
PREFIX: /openair-mme/etc
|
||||||
INSTANCE: 1
|
|
||||||
PID_DIRECTORY: /var/run
|
|
||||||
HSS_IP_ADDR: 192.168.61.2
|
|
||||||
HSS_HOSTNAME: hss
|
HSS_HOSTNAME: hss
|
||||||
HSS_FQDN: hss.openairinterface.org
|
HSS_FQDN: hss.openairinterface.org
|
||||||
HSS_REALM: openairinterface.org
|
HSS_REALM: openairinterface.org
|
||||||
MCC: '208'
|
|
||||||
MNC: '96'
|
|
||||||
MME_GID: 32768
|
|
||||||
MME_CODE: 3
|
|
||||||
TAC_0: 1
|
|
||||||
TAC_1: 2
|
|
||||||
TAC_2: 3
|
|
||||||
MME_FQDN: mme.openairinterface.org
|
MME_FQDN: mme.openairinterface.org
|
||||||
MME_S6A_IP_ADDR: 192.168.61.3
|
FEATURES: mme_oai
|
||||||
MME_INTERFACE_NAME_FOR_S1_MME: eth0
|
volumes:
|
||||||
MME_IPV4_ADDRESS_FOR_S1_MME: 192.168.61.3
|
- ../4g_rfsimulator_fdd_05MHz/mme_fd.sprint.conf:/magma-mme/etc/mme_fd.conf.tmplt
|
||||||
MME_INTERFACE_NAME_FOR_S11: eth0
|
- ../4g_rfsimulator_fdd_05MHz/mme.conf:/magma-mme/etc/mme.conf
|
||||||
MME_IPV4_ADDRESS_FOR_S11: 192.168.61.3
|
- ../4g_rfsimulator_fdd_05MHz/entrypoint.sh:/magma-mme/bin/entrypoint.sh
|
||||||
MME_INTERFACE_NAME_FOR_S10: lo
|
entrypoint: /bin/bash -c "/magma-mme/bin/entrypoint.sh"
|
||||||
MME_IPV4_ADDRESS_FOR_S10: 127.0.0.10
|
|
||||||
OUTPUT: CONSOLE
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_0: 192.168.61.4
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_0: 0.0.0.0
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_1: 0.0.0.0
|
|
||||||
MCC_SGW_0: '208'
|
|
||||||
MNC3_SGW_0: '096'
|
|
||||||
TAC_LB_SGW_0: '01'
|
|
||||||
TAC_HB_SGW_0: '00'
|
|
||||||
MCC_MME_0: '208'
|
|
||||||
MNC3_MME_0: '096'
|
|
||||||
TAC_LB_MME_0: '02'
|
|
||||||
TAC_HB_MME_0: '00'
|
|
||||||
MCC_MME_1: '208'
|
|
||||||
MNC3_MME_1: '096'
|
|
||||||
TAC_LB_MME_1: '03'
|
|
||||||
TAC_HB_MME_1: '00'
|
|
||||||
TAC_LB_SGW_TEST_0: '03'
|
|
||||||
TAC_HB_SGW_TEST_0: '00'
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_TEST_0: 0.0.0.0
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep oai_mme"
|
test: /bin/bash -c "pgrep oai_mme"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -118,7 +106,7 @@ services:
|
|||||||
oai_spgwc:
|
oai_spgwc:
|
||||||
image: oai-spgwc:latest
|
image: oai-spgwc:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_mme]
|
depends_on: [magma_mme]
|
||||||
container_name: rfsim4g-oai-spgwc
|
container_name: rfsim4g-oai-spgwc
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
|
|||||||
@@ -58,57 +58,45 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
oai_mme:
|
redis:
|
||||||
image: oai-mme:latest
|
image: redis:6.0.5
|
||||||
container_name: rfsim4g-oai-mme
|
container_name: rfsim4g-redis
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_hss]
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.61.6
|
||||||
|
volumes:
|
||||||
|
- ../4g_rfsimulator_fdd_05MHz/redis_extern.conf:/usr/local/etc/redis/redis.conf
|
||||||
|
entrypoint: /bin/bash -c "redis-server /usr/local/etc/redis/redis.conf"
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "redis-cli -h 192.168.61.6 -p 6380 ping"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
magma_mme:
|
||||||
|
image: magma-mme:latest
|
||||||
|
container_name: rfsim4g-magma-mme
|
||||||
|
hostname: mme
|
||||||
|
privileged: true
|
||||||
|
depends_on: [oai_hss, redis]
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.61.3
|
ipv4_address: 192.168.61.3
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
REALM: openairinterface.org
|
REALM: openairinterface.org
|
||||||
PREFIX: /openair-mme/etc
|
PREFIX: /openair-mme/etc
|
||||||
INSTANCE: 1
|
|
||||||
PID_DIRECTORY: /var/run
|
|
||||||
HSS_IP_ADDR: 192.168.61.2
|
|
||||||
HSS_HOSTNAME: hss
|
HSS_HOSTNAME: hss
|
||||||
HSS_FQDN: hss.openairinterface.org
|
HSS_FQDN: hss.openairinterface.org
|
||||||
HSS_REALM: openairinterface.org
|
HSS_REALM: openairinterface.org
|
||||||
MCC: '208'
|
|
||||||
MNC: '96'
|
|
||||||
MME_GID: 32768
|
|
||||||
MME_CODE: 3
|
|
||||||
TAC_0: 1
|
|
||||||
TAC_1: 2
|
|
||||||
TAC_2: 3
|
|
||||||
MME_FQDN: mme.openairinterface.org
|
MME_FQDN: mme.openairinterface.org
|
||||||
MME_S6A_IP_ADDR: 192.168.61.3
|
FEATURES: mme_oai
|
||||||
MME_INTERFACE_NAME_FOR_S1_MME: eth0
|
volumes:
|
||||||
MME_IPV4_ADDRESS_FOR_S1_MME: 192.168.61.3
|
- ../4g_rfsimulator_fdd_05MHz/mme_fd.sprint.conf:/magma-mme/etc/mme_fd.conf.tmplt
|
||||||
MME_INTERFACE_NAME_FOR_S11: eth0
|
- ../4g_rfsimulator_fdd_05MHz/mme.conf:/magma-mme/etc/mme.conf
|
||||||
MME_IPV4_ADDRESS_FOR_S11: 192.168.61.3
|
- ../4g_rfsimulator_fdd_05MHz/entrypoint.sh:/magma-mme/bin/entrypoint.sh
|
||||||
MME_INTERFACE_NAME_FOR_S10: lo
|
entrypoint: /bin/bash -c "/magma-mme/bin/entrypoint.sh"
|
||||||
MME_IPV4_ADDRESS_FOR_S10: 127.0.0.10
|
|
||||||
OUTPUT: CONSOLE
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_0: 192.168.61.4
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_0: 0.0.0.0
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_1: 0.0.0.0
|
|
||||||
MCC_SGW_0: '208'
|
|
||||||
MNC3_SGW_0: '096'
|
|
||||||
TAC_LB_SGW_0: '01'
|
|
||||||
TAC_HB_SGW_0: '00'
|
|
||||||
MCC_MME_0: '208'
|
|
||||||
MNC3_MME_0: '096'
|
|
||||||
TAC_LB_MME_0: '02'
|
|
||||||
TAC_HB_MME_0: '00'
|
|
||||||
MCC_MME_1: '208'
|
|
||||||
MNC3_MME_1: '096'
|
|
||||||
TAC_LB_MME_1: '03'
|
|
||||||
TAC_HB_MME_1: '00'
|
|
||||||
TAC_LB_SGW_TEST_0: '03'
|
|
||||||
TAC_HB_SGW_TEST_0: '00'
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_TEST_0: 0.0.0.0
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep oai_mme"
|
test: /bin/bash -c "pgrep oai_mme"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -118,7 +106,7 @@ services:
|
|||||||
oai_spgwc:
|
oai_spgwc:
|
||||||
image: oai-spgwc:latest
|
image: oai-spgwc:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_mme]
|
depends_on: [magma_mme]
|
||||||
container_name: rfsim4g-oai-spgwc
|
container_name: rfsim4g-oai-spgwc
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
|
|||||||
@@ -58,57 +58,45 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
oai_mme:
|
redis:
|
||||||
image: oai-mme:latest
|
image: redis:6.0.5
|
||||||
container_name: rfsim4g-oai-mme
|
container_name: rfsim4g-redis
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_hss]
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.61.6
|
||||||
|
volumes:
|
||||||
|
- ../4g_rfsimulator_fdd_05MHz/redis_extern.conf:/usr/local/etc/redis/redis.conf
|
||||||
|
entrypoint: /bin/bash -c "redis-server /usr/local/etc/redis/redis.conf"
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "redis-cli -h 192.168.61.6 -p 6380 ping"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
magma_mme:
|
||||||
|
image: magma-mme:latest
|
||||||
|
container_name: rfsim4g-magma-mme
|
||||||
|
hostname: mme
|
||||||
|
privileged: true
|
||||||
|
depends_on: [oai_hss, redis]
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.61.3
|
ipv4_address: 192.168.61.3
|
||||||
environment:
|
environment:
|
||||||
|
TZ: Europe/Paris
|
||||||
REALM: openairinterface.org
|
REALM: openairinterface.org
|
||||||
PREFIX: /openair-mme/etc
|
PREFIX: /openair-mme/etc
|
||||||
INSTANCE: 1
|
|
||||||
PID_DIRECTORY: /var/run
|
|
||||||
HSS_IP_ADDR: 192.168.61.2
|
|
||||||
HSS_HOSTNAME: hss
|
HSS_HOSTNAME: hss
|
||||||
HSS_FQDN: hss.openairinterface.org
|
HSS_FQDN: hss.openairinterface.org
|
||||||
HSS_REALM: openairinterface.org
|
HSS_REALM: openairinterface.org
|
||||||
MCC: '208'
|
|
||||||
MNC: '96'
|
|
||||||
MME_GID: 32768
|
|
||||||
MME_CODE: 3
|
|
||||||
TAC_0: 1
|
|
||||||
TAC_1: 2
|
|
||||||
TAC_2: 3
|
|
||||||
MME_FQDN: mme.openairinterface.org
|
MME_FQDN: mme.openairinterface.org
|
||||||
MME_S6A_IP_ADDR: 192.168.61.3
|
FEATURES: mme_oai
|
||||||
MME_INTERFACE_NAME_FOR_S1_MME: eth0
|
volumes:
|
||||||
MME_IPV4_ADDRESS_FOR_S1_MME: 192.168.61.3
|
- ../4g_rfsimulator_fdd_05MHz/mme_fd.sprint.conf:/magma-mme/etc/mme_fd.conf.tmplt
|
||||||
MME_INTERFACE_NAME_FOR_S11: eth0
|
- ../4g_rfsimulator_fdd_05MHz/mme.conf:/magma-mme/etc/mme.conf
|
||||||
MME_IPV4_ADDRESS_FOR_S11: 192.168.61.3
|
- ../4g_rfsimulator_fdd_05MHz/entrypoint.sh:/magma-mme/bin/entrypoint.sh
|
||||||
MME_INTERFACE_NAME_FOR_S10: lo
|
entrypoint: /bin/bash -c "/magma-mme/bin/entrypoint.sh"
|
||||||
MME_IPV4_ADDRESS_FOR_S10: 127.0.0.10
|
|
||||||
OUTPUT: CONSOLE
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_0: 192.168.61.4
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_0: 0.0.0.0
|
|
||||||
PEER_MME_IPV4_ADDRESS_FOR_S10_1: 0.0.0.0
|
|
||||||
MCC_SGW_0: '208'
|
|
||||||
MNC3_SGW_0: '096'
|
|
||||||
TAC_LB_SGW_0: '01'
|
|
||||||
TAC_HB_SGW_0: '00'
|
|
||||||
MCC_MME_0: '208'
|
|
||||||
MNC3_MME_0: '096'
|
|
||||||
TAC_LB_MME_0: '02'
|
|
||||||
TAC_HB_MME_0: '00'
|
|
||||||
MCC_MME_1: '208'
|
|
||||||
MNC3_MME_1: '096'
|
|
||||||
TAC_LB_MME_1: '03'
|
|
||||||
TAC_HB_MME_1: '00'
|
|
||||||
TAC_LB_SGW_TEST_0: '03'
|
|
||||||
TAC_HB_SGW_TEST_0: '00'
|
|
||||||
SGW_IPV4_ADDRESS_FOR_S11_TEST_0: 0.0.0.0
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep oai_mme"
|
test: /bin/bash -c "pgrep oai_mme"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -118,7 +106,7 @@ services:
|
|||||||
oai_spgwc:
|
oai_spgwc:
|
||||||
image: oai-spgwc:latest
|
image: oai-spgwc:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
depends_on: [oai_mme]
|
depends_on: [magma_mme]
|
||||||
container_name: rfsim4g-oai-spgwc
|
container_name: rfsim4g-oai-spgwc
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
|
|||||||
@@ -241,12 +241,12 @@ services:
|
|||||||
NSSAI_SD1: 112233
|
NSSAI_SD1: 112233
|
||||||
AMF_IP_ADDRESS: 192.168.71.132
|
AMF_IP_ADDRESS: 192.168.71.132
|
||||||
GNB_NGA_IF_NAME: eth0
|
GNB_NGA_IF_NAME: eth0
|
||||||
GNB_NGA_IP_ADDRESS: 192.168.71.136
|
GNB_NGA_IP_ADDRESS: 192.168.71.140
|
||||||
GNB_NGU_IF_NAME: eth0
|
GNB_NGU_IF_NAME: eth0
|
||||||
GNB_NGU_IP_ADDRESS: 192.168.71.136
|
GNB_NGU_IP_ADDRESS: 192.168.71.140
|
||||||
F1_IF_NAME: eth0
|
F1_IF_NAME: eth0
|
||||||
F1_CU_IP_ADDRESS: 192.168.71.136
|
F1_CU_IP_ADDRESS: 192.168.71.140
|
||||||
F1_DU_IP_ADDRESS: 192.168.71.138
|
F1_DU_IP_ADDRESS: 192.168.71.142
|
||||||
F1_CU_D_PORT: 2153
|
F1_CU_D_PORT: 2153
|
||||||
F1_DU_D_PORT: 2153
|
F1_DU_D_PORT: 2153
|
||||||
USE_ADDITIONAL_OPTIONS: --sa --rfsim --log_config.global_log_options level,nocolor,time
|
USE_ADDITIONAL_OPTIONS: --sa --rfsim --log_config.global_log_options level,nocolor,time
|
||||||
@@ -254,7 +254,7 @@ services:
|
|||||||
- oai-ext-dn
|
- oai-ext-dn
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.71.136
|
ipv4_address: 192.168.71.140
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep nr-softmodem"
|
test: /bin/bash -c "pgrep nr-softmodem"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -277,12 +277,12 @@ services:
|
|||||||
NSSAI_SD1: 112233
|
NSSAI_SD1: 112233
|
||||||
AMF_IP_ADDRESS: 192.168.71.132
|
AMF_IP_ADDRESS: 192.168.71.132
|
||||||
GNB_NGA_IF_NAME: eth0
|
GNB_NGA_IF_NAME: eth0
|
||||||
GNB_NGA_IP_ADDRESS: 192.168.71.138
|
GNB_NGA_IP_ADDRESS: 192.168.71.142
|
||||||
GNB_NGU_IF_NAME: eth0
|
GNB_NGU_IF_NAME: eth0
|
||||||
GNB_NGU_IP_ADDRESS: 192.168.71.138
|
GNB_NGU_IP_ADDRESS: 192.168.71.142
|
||||||
F1_IF_NAME: eth0
|
F1_IF_NAME: eth0
|
||||||
F1_CU_IP_ADDRESS: 192.168.71.136
|
F1_CU_IP_ADDRESS: 192.168.71.140
|
||||||
F1_DU_IP_ADDRESS: 192.168.71.138
|
F1_DU_IP_ADDRESS: 192.168.71.142
|
||||||
F1_CU_D_PORT: 2153
|
F1_CU_D_PORT: 2153
|
||||||
F1_DU_D_PORT: 2153
|
F1_DU_D_PORT: 2153
|
||||||
USE_ADDITIONAL_OPTIONS: --sa --rfsim --log_config.global_log_options level,nocolor,time
|
USE_ADDITIONAL_OPTIONS: --sa --rfsim --log_config.global_log_options level,nocolor,time
|
||||||
@@ -290,7 +290,7 @@ services:
|
|||||||
- oai-cu
|
- oai-cu
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.71.138
|
ipv4_address: 192.168.71.142
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep nr-softmodem"
|
test: /bin/bash -c "pgrep nr-softmodem"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -301,7 +301,7 @@ services:
|
|||||||
privileged: true
|
privileged: true
|
||||||
container_name: rfsim5g-oai-nr-ue
|
container_name: rfsim5g-oai-nr-ue
|
||||||
environment:
|
environment:
|
||||||
RFSIMULATOR: 192.168.71.138
|
RFSIMULATOR: 192.168.71.142
|
||||||
FULL_IMSI: '208990100001100'
|
FULL_IMSI: '208990100001100'
|
||||||
FULL_KEY: 'fec86ba6eb707ed08905757b1bb44b8f'
|
FULL_KEY: 'fec86ba6eb707ed08905757b1bb44b8f'
|
||||||
OPC: 'C42449363BBAD02B66D16BC975D77CC1'
|
OPC: 'C42449363BBAD02B66D16BC975D77CC1'
|
||||||
@@ -313,7 +313,7 @@ services:
|
|||||||
- oai-du
|
- oai-du
|
||||||
networks:
|
networks:
|
||||||
public_net:
|
public_net:
|
||||||
ipv4_address: 192.168.71.137
|
ipv4_address: 192.168.71.150
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /bin/bash -c "pgrep nr-uesoftmodem"
|
test: /bin/bash -c "pgrep nr-uesoftmodem"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
STATUS=0
|
||||||
|
AMF_PORT_FOR_NGAP=38412
|
||||||
|
AMF_PORT_FOR_N11_HTTP=80
|
||||||
|
AMF_IP_NGAP_INTERFACE=$(ifconfig $AMF_INTERFACE_NAME_FOR_NGAP | grep inet | awk {'print $2'})
|
||||||
|
AMF_IP_N11_INTERFACE=$(ifconfig $AMF_INTERFACE_NAME_FOR_N11 | grep inet | awk {'print $2'})
|
||||||
|
N2_PORT_STATUS=$(netstat -Snpl | grep -o "$AMF_IP_NGAP_INTERFACE:$AMF_PORT_FOR_NGAP")
|
||||||
|
N11_PORT_STATUS=$(netstat -tnpl | grep -o "$AMF_IP_N11_INTERFACE:$AMF_PORT_FOR_N11_HTTP")
|
||||||
|
#Check if entrypoint properly configured the conf file and no parameter is unset (optional)
|
||||||
|
NB_UNREPLACED_AT=`cat /openair-amf/etc/*.conf | grep -v contact@openairinterface.org | grep -c @ || true`
|
||||||
|
|
||||||
|
if [ $NB_UNREPLACED_AT -ne 0 ]; then
|
||||||
|
STATUS=1
|
||||||
|
echo "Healthcheck error: configuration file is not configured properly"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $N2_PORT_STATUS ]]; then
|
||||||
|
STATUS=1
|
||||||
|
echo "Healthcheck error: N2 SCTP port $AMF_PORT_FOR_NGAP is not listening"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $N11_PORT_STATUS ]]; then
|
||||||
|
STATUS=1
|
||||||
|
echo "Healthcheck error: N11/SBI TCP/HTTP port $AMF_PORT_FOR_N11_HTTP is not listening"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#host="${MYSQL_SERVER}"
|
||||||
|
#user="${MYSQL_USER:-root}"
|
||||||
|
#export MYSQL_PWD="${MYSQL_PASS}"
|
||||||
|
|
||||||
|
#args=(
|
||||||
|
# -h"$host"
|
||||||
|
# -u"$user"
|
||||||
|
# --silent
|
||||||
|
#)
|
||||||
|
|
||||||
|
#if ! command -v mysql &> /dev/null; then
|
||||||
|
# echo "Installing mysql command"
|
||||||
|
# apt update
|
||||||
|
# apt-get -y install mysql-client
|
||||||
|
#else
|
||||||
|
# if select="$(echo 'SELECT 1' | mysql "${args[@]}")" && [ "$select" = '1' ]; then
|
||||||
|
# database_check=$(mysql -h$host -u$user -D oai_db --silent -e "SELECT * FROM users;")
|
||||||
|
# if [[ -z $database_check ]]; then
|
||||||
|
# echo "Healthcheck error: oai_db not populated"
|
||||||
|
# STATUS=1
|
||||||
|
# fi
|
||||||
|
# STATUS=0
|
||||||
|
# else
|
||||||
|
# echo "Healthcheck error: Mysql port inactive"
|
||||||
|
# STATUS=1
|
||||||
|
# fi
|
||||||
|
#fi
|
||||||
|
|
||||||
|
exit $STATUS
|
||||||
@@ -0,0 +1,298 @@
|
|||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
oai-nrf:
|
||||||
|
container_name: "rfsim5g-oai-nrf"
|
||||||
|
image: oai-nrf:latest
|
||||||
|
environment:
|
||||||
|
- NRF_INTERFACE_NAME_FOR_SBI=eth0
|
||||||
|
- NRF_INTERFACE_PORT_FOR_SBI=80
|
||||||
|
- NRF_INTERFACE_HTTP2_PORT_FOR_SBI=9090
|
||||||
|
- NRF_API_VERSION=v1
|
||||||
|
- INSTANCE=0
|
||||||
|
- PID_DIRECTORY=/var/run
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.130
|
||||||
|
volumes:
|
||||||
|
- ./nrf-healthcheck.sh:/openair-nrf/bin/nrf-healthcheck.sh
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "/openair-nrf/bin/nrf-healthcheck.sh"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
mysql:
|
||||||
|
container_name: "rfsim5g-mysql"
|
||||||
|
image: mysql:5.7
|
||||||
|
volumes:
|
||||||
|
- ./oai_db.sql:/docker-entrypoint-initdb.d/oai_db.sql
|
||||||
|
- ./mysql-healthcheck.sh:/tmp/mysql-healthcheck.sh
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
- MYSQL_DATABASE=oai_db
|
||||||
|
- MYSQL_USER=test
|
||||||
|
- MYSQL_PASSWORD=test
|
||||||
|
- MYSQL_ROOT_PASSWORD=linux
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "/tmp/mysql-healthcheck.sh"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.131
|
||||||
|
oai-amf:
|
||||||
|
container_name: "rfsim5g-oai-amf"
|
||||||
|
image: oai-amf:latest
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/paris
|
||||||
|
- INSTANCE=0
|
||||||
|
- PID_DIRECTORY=/var/run
|
||||||
|
- MCC=208
|
||||||
|
- MNC=99
|
||||||
|
- REGION_ID=128
|
||||||
|
- AMF_SET_ID=1
|
||||||
|
- SERVED_GUAMI_MCC_0=208
|
||||||
|
- SERVED_GUAMI_MNC_0=99
|
||||||
|
- SERVED_GUAMI_REGION_ID_0=128
|
||||||
|
- SERVED_GUAMI_AMF_SET_ID_0=1
|
||||||
|
- SERVED_GUAMI_MCC_1=460
|
||||||
|
- SERVED_GUAMI_MNC_1=11
|
||||||
|
- SERVED_GUAMI_REGION_ID_1=10
|
||||||
|
- SERVED_GUAMI_AMF_SET_ID_1=1
|
||||||
|
- PLMN_SUPPORT_MCC=208
|
||||||
|
- PLMN_SUPPORT_MNC=99
|
||||||
|
- PLMN_SUPPORT_TAC=0x0001
|
||||||
|
- SST_0=1
|
||||||
|
- SD_0=1
|
||||||
|
- SST_1=1
|
||||||
|
- SD_1=12
|
||||||
|
- AMF_INTERFACE_NAME_FOR_NGAP=eth0
|
||||||
|
- AMF_INTERFACE_NAME_FOR_N11=eth0
|
||||||
|
- SMF_INSTANCE_ID_0=1
|
||||||
|
- SMF_FQDN_0=oai-smf
|
||||||
|
- SMF_IPV4_ADDR_0=0.0.0.0
|
||||||
|
- SMF_HTTP_VERSION_0=v1
|
||||||
|
- SELECTED_0=true
|
||||||
|
- SMF_INSTANCE_ID_1=2
|
||||||
|
- SMF_FQDN_1=oai-smf
|
||||||
|
- SMF_IPV4_ADDR_1=0.0.0.0
|
||||||
|
- SMF_HTTP_VERSION_1=v1
|
||||||
|
- SELECTED_1=false
|
||||||
|
- MYSQL_SERVER=192.168.71.131
|
||||||
|
- MYSQL_USER=root
|
||||||
|
- MYSQL_PASS=linux
|
||||||
|
- MYSQL_DB=oai_db
|
||||||
|
- OPERATOR_KEY=c42449363bbad02b66d16bc975d77cc1
|
||||||
|
- NRF_IPV4_ADDRESS=192.168.71.130
|
||||||
|
- NRF_PORT=80
|
||||||
|
- NF_REGISTRATION=yes
|
||||||
|
- SMF_SELECTION=yes
|
||||||
|
- USE_FQDN_DNS=yes
|
||||||
|
- NRF_API_VERSION=v1
|
||||||
|
- NRF_FQDN=oai-nrf
|
||||||
|
- EXTERNAL_AUSF=no
|
||||||
|
- AUSF_IPV4_ADDRESS=0.0.0.0
|
||||||
|
- AUSF_PORT=80
|
||||||
|
- AUSF_API_VERSION=v1
|
||||||
|
- AUSF_FQDN=localhost
|
||||||
|
depends_on:
|
||||||
|
- oai-nrf
|
||||||
|
- mysql
|
||||||
|
volumes:
|
||||||
|
- ./amf-healthcheck.sh:/openair-amf/bin/amf-healthcheck.sh
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "/openair-amf/bin/amf-healthcheck.sh"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 15s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.132
|
||||||
|
oai-smf:
|
||||||
|
container_name: "rfsim5g-oai-smf"
|
||||||
|
image: oai-smf:latest
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
- INSTANCE=0
|
||||||
|
- PID_DIRECTORY=/var/run
|
||||||
|
- SMF_INTERFACE_NAME_FOR_N4=eth0
|
||||||
|
- SMF_INTERFACE_NAME_FOR_SBI=eth0
|
||||||
|
- SMF_INTERFACE_PORT_FOR_SBI=80
|
||||||
|
- SMF_INTERFACE_HTTP2_PORT_FOR_SBI=9090
|
||||||
|
- SMF_API_VERSION=v1
|
||||||
|
- DEFAULT_DNS_IPV4_ADDRESS=192.168.18.129
|
||||||
|
- DEFAULT_DNS_SEC_IPV4_ADDRESS=4.4.4.4
|
||||||
|
- AMF_IPV4_ADDRESS=0.0.0.0
|
||||||
|
- AMF_PORT=80
|
||||||
|
- AMF_API_VERSION=v1
|
||||||
|
- AMF_FQDN=oai-amf
|
||||||
|
- UDM_IPV4_ADDRESS=127.0.0.1
|
||||||
|
- UDM_PORT=80
|
||||||
|
- UDM_API_VERSION=v1
|
||||||
|
- UDM_FQDN=localhost
|
||||||
|
- UPF_IPV4_ADDRESS=192.168.71.134
|
||||||
|
- UPF_FQDN_0=oai-spgwu
|
||||||
|
- NRF_IPV4_ADDRESS=192.168.71.130
|
||||||
|
- NRF_PORT=80
|
||||||
|
- NRF_API_VERSION=v1
|
||||||
|
- NRF_FQDN=oai-nrf
|
||||||
|
- REGISTER_NRF=yes
|
||||||
|
- DISCOVER_UPF=yes
|
||||||
|
- USE_FQDN_DNS=yes
|
||||||
|
- DNN_NI0=oai
|
||||||
|
- DNN_NI2=oai.ipv4
|
||||||
|
depends_on:
|
||||||
|
- oai-nrf
|
||||||
|
- oai-amf
|
||||||
|
volumes:
|
||||||
|
- ./smf-healthcheck.sh:/openair-smf/bin/smf-healthcheck.sh
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "/openair-smf/bin/smf-healthcheck.sh"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.133
|
||||||
|
oai-spgwu:
|
||||||
|
container_name: "rfsim5g-oai-spgwu"
|
||||||
|
image: oai-spgwu-tiny:latest
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
- PID_DIRECTORY=/var/run
|
||||||
|
- SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP=eth0
|
||||||
|
- SGW_INTERFACE_NAME_FOR_SX=eth0
|
||||||
|
- PGW_INTERFACE_NAME_FOR_SGI=eth0
|
||||||
|
- NETWORK_UE_NAT_OPTION=yes
|
||||||
|
- NETWORK_UE_IP=12.1.1.0/24
|
||||||
|
- SPGWC0_IP_ADDRESS=192.168.71.133
|
||||||
|
- BYPASS_UL_PFCP_RULES=no
|
||||||
|
- MCC=208
|
||||||
|
- MNC=99
|
||||||
|
- MNC03=099
|
||||||
|
- TAC=1
|
||||||
|
- GTP_EXTENSION_HEADER_PRESENT=yes
|
||||||
|
- GW_ID=1
|
||||||
|
- REALM=openairinterface.org
|
||||||
|
- ENABLE_5G_FEATURES=yes
|
||||||
|
- REGISTER_NRF=yes
|
||||||
|
- USE_FQDN_NRF=yes
|
||||||
|
- UPF_FQDN_5G=oai-spgwu
|
||||||
|
- NRF_IPV4_ADDRESS=192.168.71.130
|
||||||
|
- NRF_PORT=80
|
||||||
|
- NRF_API_VERSION=v1
|
||||||
|
- NRF_FQDN=oai-nrf
|
||||||
|
- NSSAI_SST_0=1
|
||||||
|
- NSSAI_SD_0=1
|
||||||
|
- DNN_0=oai
|
||||||
|
depends_on:
|
||||||
|
- oai-nrf
|
||||||
|
- oai-smf
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_ADMIN
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- ./spgwu-healthcheck.sh:/openair-spgwu-tiny/bin/spgwu-healthcheck.sh
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "/openair-spgwu-tiny/bin/spgwu-healthcheck.sh"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.134
|
||||||
|
traffic_net:
|
||||||
|
ipv4_address: 192.168.72.134
|
||||||
|
oai-ext-dn:
|
||||||
|
image: ubuntu:bionic
|
||||||
|
privileged: true
|
||||||
|
container_name: rfsim5g-oai-ext-dn
|
||||||
|
entrypoint: /bin/bash -c \
|
||||||
|
"apt update; apt install -y procps iptables iproute2 iperf iputils-ping;"\
|
||||||
|
"iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;"\
|
||||||
|
"ip route add 12.1.1.0/24 via 192.168.72.134 dev eth0; sleep infinity"
|
||||||
|
depends_on:
|
||||||
|
- oai-spgwu
|
||||||
|
networks:
|
||||||
|
traffic_net:
|
||||||
|
ipv4_address: 192.168.72.135
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "ping -c 2 192.168.72.134"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
oai-gnb:
|
||||||
|
image: oai-gnb:develop
|
||||||
|
privileged: true
|
||||||
|
container_name: rfsim5g-oai-gnb
|
||||||
|
environment:
|
||||||
|
RFSIMULATOR: server
|
||||||
|
USE_SA_FDD_MONO: 'yes'
|
||||||
|
GNB_NAME: gnb-rfsim
|
||||||
|
TAC: 1
|
||||||
|
MCC: '208'
|
||||||
|
MNC: '99'
|
||||||
|
MNC_LENGTH: 2
|
||||||
|
NSSAI_SST: 1
|
||||||
|
NSSAI_SD0: 1
|
||||||
|
NSSAI_SD1: 112233
|
||||||
|
AMF_IP_ADDRESS: 192.168.71.132
|
||||||
|
GNB_NGA_IF_NAME: eth0
|
||||||
|
GNB_NGA_IP_ADDRESS: 192.168.71.140
|
||||||
|
GNB_NGU_IF_NAME: eth0
|
||||||
|
GNB_NGU_IP_ADDRESS: 192.168.71.140
|
||||||
|
USE_ADDITIONAL_OPTIONS: --sa -E --rfsim --log_config.global_log_options level,nocolor,time
|
||||||
|
depends_on:
|
||||||
|
- oai-ext-dn
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.140
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "pgrep nr-softmodem"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
oai-nr-ue:
|
||||||
|
image: oai-nr-ue:develop
|
||||||
|
privileged: true
|
||||||
|
container_name: rfsim5g-oai-nr-ue
|
||||||
|
environment:
|
||||||
|
RFSIMULATOR: 192.168.71.140
|
||||||
|
FULL_IMSI: '208990100001100'
|
||||||
|
FULL_KEY: 'fec86ba6eb707ed08905757b1bb44b8f'
|
||||||
|
OPC: 'C42449363BBAD02B66D16BC975D77CC1'
|
||||||
|
DNN: oai
|
||||||
|
NSSAI_SST: 1
|
||||||
|
NSSAI_SD: 1
|
||||||
|
USE_ADDITIONAL_OPTIONS: -E --sa --rfsim -r 106 --numerology 1 --band 66 -C 2169080000 --CO -400000000 -s 396 --nokrnmod --log_config.global_log_options level,nocolor,time
|
||||||
|
depends_on:
|
||||||
|
- oai-gnb
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
ipv4_address: 192.168.71.150
|
||||||
|
healthcheck:
|
||||||
|
test: /bin/bash -c "pgrep nr-uesoftmodem"
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
networks:
|
||||||
|
public_net:
|
||||||
|
driver: bridge
|
||||||
|
name: rfsim5g-oai-public-net
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 192.168.71.128/26
|
||||||
|
driver_opts:
|
||||||
|
com.docker.network.bridge.name: "rfsim5g-public"
|
||||||
|
traffic_net:
|
||||||
|
driver: bridge
|
||||||
|
name: rfsim5g-oai-traffic-net
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 192.168.72.128/26
|
||||||
|
driver_opts:
|
||||||
|
com.docker.network.bridge.name: "rfsim5g-traffic"
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
if [ "$MYSQL_ROOT_PASSWORD" ] && [ -z "$MYSQL_USER" ] && [ -z "$MYSQL_PASSWORD" ]; then
|
||||||
|
echo >&2 'Healthcheck error: cannot determine root password (and MYSQL_USER and MYSQL_PASSWORD were not set)'
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
host="$(hostname --ip-address || echo '127.0.0.1')"
|
||||||
|
user="${MYSQL_USER:-root}"
|
||||||
|
export MYSQL_PWD="${MYSQL_PASSWORD:-$MYSQL_ROOT_PASSWORD}"
|
||||||
|
|
||||||
|
args=(
|
||||||
|
# force mysql to not use the local "mysqld.sock" (test "external" connectivity)
|
||||||
|
-h"$host"
|
||||||
|
-u"$user"
|
||||||
|
--silent
|
||||||
|
)
|
||||||
|
|
||||||
|
STATUS=0
|
||||||
|
if command -v mysqladmin &> /dev/null; then
|
||||||
|
if mysqladmin "${args[@]}" ping > /dev/null; then
|
||||||
|
database_check=$(mysql -u$user -D oai_db --silent -e "SELECT * FROM users;")
|
||||||
|
if [[ -z $database_check ]]; then
|
||||||
|
echo "Healthcheck error: oai_db not populated"
|
||||||
|
STATUS=1
|
||||||
|
fi
|
||||||
|
STATUS=0
|
||||||
|
else
|
||||||
|
echo "Healthcheck error: Mysql port inactive"
|
||||||
|
STATUS=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if select="$(echo 'SELECT 1' | mysql "${args[@]}")" && [ "$select" = '1' ]; then
|
||||||
|
database_check=$(mysql -u$user -D oai_db --silent -e "SELECT * FROM users;")
|
||||||
|
if [[ -z $database_check ]]; then
|
||||||
|
echo "Healthcheck error: oai_db not populated"
|
||||||
|
STATUS=1
|
||||||
|
fi
|
||||||
|
STATUS=0
|
||||||
|
else
|
||||||
|
echo "Healthcheck error: Mysql port inactive"
|
||||||
|
STATUS=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
exit $STATUS
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
STATUS=0
|
||||||
|
NRF_IP_SBI_INTERFACE=$(ifconfig $NRF_INTERFACE_NAME_FOR_SBI | grep inet | awk {'print $2'})
|
||||||
|
NRF_SBI_PORT_STATUS=$(netstat -tnpl | grep -o "$NRF_IP_SBI_INTERFACE:$NRF_INTERFACE_PORT_FOR_SBI")
|
||||||
|
#Check if entrypoint properly configured the conf file and no parameter is unset(optional)
|
||||||
|
NB_UNREPLACED_AT=`cat /openair-nrf/etc/*.conf | grep -v contact@openairinterface.org | grep -c @ || true`
|
||||||
|
|
||||||
|
if [ $NB_UNREPLACED_AT -ne 0 ]; then
|
||||||
|
STATUS=1
|
||||||
|
echo "Healthcheck error: UNHEALTHY configuration file is not configured properly"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $NRF_SBI_PORT_STATUS ]]; then
|
||||||
|
STATUS=1
|
||||||
|
echo "Healthcheck error: UNHEALTHY SBI TCP/HTTP port $NRF_INTERFACE_PORT_FOR_SBI is not listening."
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit $STATUS
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user