ggsn: Allow running without VTY
Change-Id: I73339cb5481c199c3a9d63a5323ff75a8ee4f645
This commit is contained in:
parent
7fefceea71
commit
4b731de056
|
@ -46,6 +46,9 @@ module GGSN_Tests {
|
|||
charstring m_ggsn_ip_gtpc := "127.0.0.6";
|
||||
charstring m_ggsn_ip_gtpu := "127.0.0.6";
|
||||
|
||||
/* Does the GGSN support a VTY? */
|
||||
boolean m_have_vty := true;
|
||||
|
||||
/*
|
||||
* Our tests expect to see these DNS servers in 'Create PDP context responses' sent by the GGSN.
|
||||
* These addresses must therefore match 'ip[v6] dns' options configured in osmo-ggsn.conf.
|
||||
|
@ -195,10 +198,12 @@ module GGSN_Tests {
|
|||
g_c_seq_nr := f_rnd_int(65535);
|
||||
g_d_seq_nr := f_rnd_int(65535);
|
||||
|
||||
if (m_have_vty) {
|
||||
f_init_vty();
|
||||
f_vty_set_gpdu_txseq(use_gtpu_txseq);
|
||||
f_vty_enable_echo_interval(g_use_echo);
|
||||
}
|
||||
}
|
||||
|
||||
/* Altstep implementing responses to any incoming echo requests */
|
||||
altstep pingpong() runs on GT_CT {
|
||||
|
|
Loading…
Reference in New Issue