bts: Add second VTY connection to BSC

Change-Id: If4b5a906a0841c0a8c3d7c4e9e5a3d1208ecf16a
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 963a38d..aa402d1 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -75,7 +75,9 @@
 	port TRXC_CODEC_PT BB_TRXC;
 	var integer g_bb_trxc_conn_id;
 
+	/* VTY connections to both BTS and BSC */
 	port TELNETasp_PT BTSVTY;
+	port TELNETasp_PT BSCVTY;
 
 	/* PCU Interface of BTS */
 	port PCUIF_CODEC_PT PCU;
@@ -248,6 +250,12 @@
 	f_vty_transceive(BTSVTY, "enable");
 }
 
+private function f_init_vty_bsc() runs on test_CT {
+	map(self:BSCVTY, system:BSCVTY);
+	f_vty_set_prompts(BSCVTY, "OsmoBSC");
+	f_vty_transceive(BSCVTY, "enable");
+}
+
 /* PCU socket may at any time receive a new INFO.ind */
 private altstep as_pcu_info_ind(PCUIF_CODEC_PT pt, integer pcu_conn_id,
 				out PCUIF_Message pcu_last_info) {