epc_open5gs: remove _epc from name
there is no open5gs_enb so having the epc in the name is redundent, also it safes typing and allows longer scenario configs without exceeding filename limit. Change-Id: Ib10bc6031ecc8de88a9c718b136d2641ce46e11d
This commit is contained in:
parent
e87a05624d
commit
b9c9612fc1
|
@ -71,7 +71,7 @@ class EPC(log.Origin, metaclass=ABCMeta):
|
||||||
elif epc_type == 'srsepc':
|
elif epc_type == 'srsepc':
|
||||||
from .epc_srs import srsEPC
|
from .epc_srs import srsEPC
|
||||||
epc_class = srsEPC
|
epc_class = srsEPC
|
||||||
elif epc_type == 'open5gsepc':
|
elif epc_type == 'open5gs':
|
||||||
from .epc_open5gs import Open5gsEPC
|
from .epc_open5gs import Open5gsEPC
|
||||||
epc_class = Open5gsEPC
|
epc_class = Open5gsEPC
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -45,7 +45,7 @@ class Open5gsEPC(epc.EPC):
|
||||||
REMOTE_DIR = '/osmo-gsm-tester-open5gs'
|
REMOTE_DIR = '/osmo-gsm-tester-open5gs'
|
||||||
|
|
||||||
def __init__(self, testenv, run_node):
|
def __init__(self, testenv, run_node):
|
||||||
super().__init__(testenv, run_node, 'open5gs_epc')
|
super().__init__(testenv, run_node, 'open5gs')
|
||||||
self.run_dir = None
|
self.run_dir = None
|
||||||
self.pcrf = None
|
self.pcrf = None
|
||||||
self.upf = None
|
self.upf = None
|
||||||
|
@ -57,7 +57,7 @@ class Open5gsEPC(epc.EPC):
|
||||||
self.subscriber_list = []
|
self.subscriber_list = []
|
||||||
|
|
||||||
def configure(self):
|
def configure(self):
|
||||||
values = super().configure(['open5gsepc'])
|
values = super().configure(['open5gs'])
|
||||||
db_host = values['epc']['db_host']
|
db_host = values['epc']['db_host']
|
||||||
db_uri = 'mongodb://'+db_host+'/open5gs'
|
db_uri = 'mongodb://'+db_host+'/open5gs'
|
||||||
config.overlay(values, dict(epc=dict(db_uri=db_uri,
|
config.overlay(values, dict(epc=dict(db_uri=db_uri,
|
||||||
|
|
Loading…
Reference in New Issue