pespin has uploaded this change for review.

View Change

vty: Drop SS7 route info in 'show cnlink'

Route information is nowadays a complex topic which is mostly handled by
libosmo-sigtran, and it can be configured and better queried using VTY
commands also provided by libosmo-sigtran.
This SS7 route information here is not relevant and moreover the API it
uses is deprecated. Drop it.

Change-Id: I2b029e99da45408f9fed41f9f280d19eb646d548
---
M src/osmo-hnbgw/hnbgw_vty.c
1 file changed, 0 insertions(+), 3 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/51/41451/1
diff --git a/src/osmo-hnbgw/hnbgw_vty.c b/src/osmo-hnbgw/hnbgw_vty.c
index f463522..f1b128c 100644
--- a/src/osmo-hnbgw/hnbgw_vty.c
+++ b/src/osmo-hnbgw/hnbgw_vty.c
@@ -125,7 +125,6 @@

static void _show_cnlink(struct vty *vty, struct hnbgw_cnlink *cnlink)
{
- struct osmo_ss7_route *rt;
struct osmo_ss7_instance *ss7;

if (!cnlink) {
@@ -158,8 +157,6 @@
hnbgw_cnlink_sccp_addr_to_str(cnlink, &cnlink->remote_addr),
VTY_NEWLINE);

- rt = osmo_ss7_route_lookup(ss7, cnlink->remote_addr.pc);
- vty_out(vty, " SS7 route: %s%s", osmo_ss7_route_name(rt, true), VTY_NEWLINE);
vty_out(vty, " RANAP state: %s%s", osmo_fsm_inst_state_name(cnlink->fi), VTY_NEWLINE);
}


To view, visit change 41451. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I2b029e99da45408f9fed41f9f280d19eb646d548
Gerrit-Change-Number: 41451
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>