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:
Andre Puschmann 2021-05-10 16:39:44 +02:00
parent e87a05624d
commit b9c9612fc1
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ class EPC(log.Origin, metaclass=ABCMeta):
elif epc_type == 'srsepc':
from .epc_srs import srsEPC
epc_class = srsEPC
elif epc_type == 'open5gsepc':
elif epc_type == 'open5gs':
from .epc_open5gs import Open5gsEPC
epc_class = Open5gsEPC
else:

View File

@ -45,7 +45,7 @@ class Open5gsEPC(epc.EPC):
REMOTE_DIR = '/osmo-gsm-tester-open5gs'
def __init__(self, testenv, run_node):
super().__init__(testenv, run_node, 'open5gs_epc')
super().__init__(testenv, run_node, 'open5gs')
self.run_dir = None
self.pcrf = None
self.upf = None
@ -57,7 +57,7 @@ class Open5gsEPC(epc.EPC):
self.subscriber_list = []
def configure(self):
values = super().configure(['open5gsepc'])
values = super().configure(['open5gs'])
db_host = values['epc']['db_host']
db_uri = 'mongodb://'+db_host+'/open5gs'
config.overlay(values, dict(epc=dict(db_uri=db_uri,