diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-04 10:23:24 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-08 09:39:51 +0200 |
commit | f47f68a9d8e4421398e2369e4b18de8c52a9d396 (patch) | |
tree | eb9302e10310ee513b2f0ac1c468a98f2032272b /src/gprs_ms_storage.h | |
parent | 62e96a3535714088a5dabe3cb4a8523165b19877 (diff) |
vty: Add 'show ms all' command
This command lists the entries of the ms_store by a line per MS.
Beside TLLI and IMSI, some measurement and state information is
shown.
A ms_list() getter method is added to GprsMsStorage to obtain a list
of the MsGprs objects.
The following VTY command is added to the 'enable' node:
- show ms all
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_ms_storage.h')
-rw-r--r-- | src/gprs_ms_storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gprs_ms_storage.h b/src/gprs_ms_storage.h index 35526025..ad1e6560 100644 --- a/src/gprs_ms_storage.h +++ b/src/gprs_ms_storage.h @@ -39,6 +39,7 @@ public: GprsMs *get_ms(uint32_t tlli, uint32_t old_tlli = 0, const char *imsi = 0) const; GprsMs *create_ms(uint32_t tlli, enum gprs_rlcmac_tbf_direction dir); + const LListHead<GprsMs>& ms_list() const {return m_list;} private: BTS *m_bts; LListHead<GprsMs> m_list; |