ttcn3-cpu: Support VTY prompt used in older versions of osmo-pcu
Change-Id: I8cec3da889623915ca46b5eb1b51bc81195accf9changes/83/16483/1
parent
a66f6ebb23
commit
436ac6758d
|
@ -6,6 +6,7 @@
|
|||
|
||||
[TESTPORT_PARAMETERS]
|
||||
*.PCUVTY.CTRL_HOSTNAME := "172.18.13.101"
|
||||
*.PCUVTY.PROMPT1 := "OsmoPCU> "
|
||||
|
||||
[MODULE_PARAMETERS]
|
||||
PCU_Tests_RAW.mp_pcu_sock_path := "/data/unix/pcu_bts"
|
||||
|
@ -17,6 +18,7 @@ PCU_Tests.mp_nsconfig := {
|
|||
nsvci := 1234,
|
||||
nsei := 1234
|
||||
}
|
||||
Osmocom_VTY_Functions.mp_prompt_prefix := "OsmoPCU";
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
|
@ -13,6 +13,11 @@ network_create 172.18.13.0/24
|
|||
mkdir $VOL_BASE_DIR/pcu-tester
|
||||
mkdir $VOL_BASE_DIR/pcu-tester/unix
|
||||
cp PCU_Tests.cfg $VOL_BASE_DIR/pcu-tester/
|
||||
# Latest release of osmo-pcu (0.7.0) has prompt "Osmo-PCU", while master uses more
|
||||
# usual osmocom form "OsmoPCU". This can be removed once a new osmo-pcu version is released
|
||||
if [ "$IMAGE_SUFFIX" = "latest" ]; then
|
||||
sed "s/OsmoPCU/Osmo-PCU/g" -i $VOL_BASE_DIR/pcu-tester/PCU_Tests.cfg
|
||||
fi
|
||||
|
||||
mkdir $VOL_BASE_DIR/pcu
|
||||
mkdir $VOL_BASE_DIR/pcu/unix
|
||||
|
|
Loading…
Reference in New Issue