gbproxy: Add test suite cfg and osmo-gbproxy.cfg for FR testing
Change-Id: I1faae88c82e8d54b4d4af88e9a9236877c913752
This commit is contained in:
parent
3eb9456f5a
commit
f0310fc42f
|
@ -0,0 +1,89 @@
|
|||
[ORDERED_INCLUDE]
|
||||
# Common configuration, shared between test suites
|
||||
"../Common.cfg"
|
||||
# testsuite specific configuration, not expected to change
|
||||
"./GBProxy_Tests.default"
|
||||
|
||||
# Local configuration below
|
||||
|
||||
[LOGGING]
|
||||
|
||||
[TESTPORT_PARAMETERS]
|
||||
*.GBPVTY.CTRL_HOSTNAME := "127.0.0.1"
|
||||
|
||||
[MODULE_PARAMETERS]
|
||||
GBProxy_Tests.mp_nsconfig_sgsn := {
|
||||
{
|
||||
handle_sns := false
|
||||
}
|
||||
}
|
||||
|
||||
GBProxy_Tests.mp_nsconfig_pcu := {
|
||||
{
|
||||
nsei := 1,
|
||||
role_sgsn := false,
|
||||
handle_sns := false,
|
||||
nsvc := {
|
||||
{
|
||||
provider := {
|
||||
fr := {
|
||||
netdev := "hdlc1",
|
||||
dlci := 16
|
||||
}
|
||||
},
|
||||
nsvci := 1
|
||||
}, {
|
||||
provider := {
|
||||
fr := {
|
||||
netdev := "hdlc2",
|
||||
dlci := 17
|
||||
}
|
||||
},
|
||||
nsvci := 2
|
||||
}, {
|
||||
provider := {
|
||||
fr := {
|
||||
netdev := "hdlc3",
|
||||
dlci := 18
|
||||
}
|
||||
},
|
||||
nsvci := 3
|
||||
}, {
|
||||
provider := {
|
||||
fr := {
|
||||
netdev := "hdlc4",
|
||||
dlci := 19
|
||||
}
|
||||
},
|
||||
nsvci := 4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
GBProxy_Tests.mp_gbconfigs := {
|
||||
{
|
||||
nsei := 1,
|
||||
sgsn_role := false,
|
||||
bvc := {
|
||||
{
|
||||
bvci := 196,
|
||||
cell_id := {
|
||||
ra_id := {
|
||||
lai := {
|
||||
mcc_mnc := '262F42'H,
|
||||
lac := 13135
|
||||
},
|
||||
rac := 0
|
||||
},
|
||||
cell_id := 20960
|
||||
},
|
||||
depth := BSSGP_DECODE_DEPTH_BSSGP
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
[EXECUTE]
|
||||
GBProxy_Tests.control
|
|
@ -0,0 +1,33 @@
|
|||
!
|
||||
! Osmocom Gb Proxy (0.9.0.404-6463) configuration saved from vty
|
||||
!!
|
||||
!
|
||||
log stderr
|
||||
logging level lns debug
|
||||
line vty
|
||||
no login
|
||||
!
|
||||
ns
|
||||
!nse 101 nsvci 101
|
||||
nse 101 nsvci 101 remote-role sgsn
|
||||
nse 101 nsvci 101 encapsulation udp
|
||||
nse 101 nsvci 101 remote-ip 127.0.0.1
|
||||
nse 101 nsvci 101 remote-port 7777
|
||||
timer tns-block 3
|
||||
timer tns-block-retries 3
|
||||
timer tns-reset 3
|
||||
timer tns-reset-retries 3
|
||||
timer tns-test 30
|
||||
timer tns-alive 3
|
||||
timer tns-alive-retries 10
|
||||
encapsulation udp local-ip 127.0.0.1
|
||||
encapsulation udp local-port 23000
|
||||
encapsulation framerelay-gre enabled 0
|
||||
|
||||
nse 1 nsvci 1 frnet hdlcnet1 dlci 16
|
||||
nse 1 nsvci 2 frnet hdlcnet2 dlci 17
|
||||
nse 1 nsvci 3 frnet hdlcnet3 dlci 18
|
||||
nse 1 nsvci 4 frnet hdlcnet4 dlci 19
|
||||
|
||||
gbproxy
|
||||
sgsn nsei 101
|
Loading…
Reference in New Issue