diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-09-05 23:15:56 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-09-23 13:12:34 +0200 |
commit | ca5ce0d84966c998e353b606a7054f8bc8366cae (patch) | |
tree | a95b7f8634944340bb0cfe73235e21e3d8d898f6 /src/sim/gsm_int.h | |
parent | 2c64c257c84fe31b3bfa410cd6484ce77191aaad (diff) |
ns2: nsvc: add a uptime/downtime to track the last state change
To show adminstrator the last state change of a nsvc add a timestamp and
show it on the vty
> show ns nsei 1234
NSEI 01234: UDP, DEAD since 0d 0h 1m 42s
[...]
4 NS-VC:
UNBLOCKED DYNAMIC sig_weight=1 data_weight=1 udp)[127.0.0.1]:22000<>[127.0.0.1]:23001 ALIVE since 0d 0h 0m 1s
UNBLOCKED DYNAMIC sig_weight=2 data_weight=2 udp)[127.0.0.1]:22000<>[127.0.0.1]:23000 ALIVE since 0d 0h 0m 1s
UNBLOCKED DYNAMIC sig_weight=2 data_weight=2 udp)[127.0.0.1]:22001<>[127.0.0.1]:23000 ALIVE since 0d 0h 0m 1s
UNBLOCKED DYNAMIC sig_weight=1 data_weight=1 udp)[127.0.0.1]:22001<>[127.0.0.1]:23001 ALIVE since 0d 0h 0m 1s
Related: OS#5028
Change-Id: Ie3a039a209869295afa5feda39297cee81fedf22
Diffstat (limited to 'src/sim/gsm_int.h')
0 files changed, 0 insertions, 0 deletions