Browse Source

vty/cfg: add missing write-back of inter-BSC and inter-MSC HO config

Add missing 'show running-config' test to test_neighbor_ident.vty transcript
test.

Change-Id: Ie3b084e169da9509b37f6ab91ade79440c1b36d2
changes/32/13932/2
Neels Hofmeyr 3 years ago
parent
commit
880b950862
  1. 2
      src/libmsc/msc_vty.c
  2. 20
      tests/test_neighbor_ident.vty

2
src/libmsc/msc_vty.c

@ -606,6 +606,8 @@ static int config_write_msc(struct vty *vty)
ranap_iu_vty_config_write(vty, " ");
#endif
neighbor_ident_vty_write(vty);
return CMD_SUCCESS;
}

20
tests/test_neighbor_ident.vty

@ -235,3 +235,23 @@ OsmoMSC(config-msc)# do show neighbor a lac 65535
neighbor a cgi 901 70 65535 65531 msc-ipa-name msc-901-70-2
neighbor a lac 65535 ran-pc 6.6.6
neighbor a lac-ci 65535 65533 msc-ipa-name different-msc
OsmoMSC(config-msc)# show running-config
...
msc
...
neighbor a lac 11 ran-pc 1.2.3
neighbor a lac-ci 11 12 ran-pc 1.2.3
neighbor a cgi 901 70 11 13 ran-pc 1.2.3
neighbor iu lac 11 ran-pc 2.3.4
neighbor iu lac-ci 11 22 ran-pc 2.3.4
neighbor iu cgi 901 070 11 23 ran-pc 2.3.4
neighbor a lac 65535 msc-ipa-name msc-901-70-2
neighbor a lac-ci 65535 65533 msc-ipa-name msc-901-70-2
neighbor a cgi 901 70 65535 65531 msc-ipa-name msc-901-70-2
neighbor iu lac 65529 msc-ipa-name msc-901-70-2
neighbor iu lac-ci 65529 65528 msc-ipa-name msc-901-70-2
neighbor iu cgi 901 070 65529 65527 msc-ipa-name msc-901-70-2
neighbor a lac 65535 ran-pc 6.6.6
neighbor a lac-ci 65535 65533 msc-ipa-name different-msc
...

Loading…
Cancel
Save