aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_ns_vty.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-28[GPRS] NS: Frame Relay DLCI for PVC from 16-1007Harald Welte1-1/+1
0 Reserved for ANSI Annex D and CCITT Annex A link management 1 - 15 Reserved 16 - 1007 Any PVC 1008 - 1018 Reserved 1019 - 1022 Reserved for LMI multicast 1023 Reserved for LMI link management
2010-05-25Migrate VTY code to libosmovtyHarald Welte1-3/+4
2010-05-19[GPRS] NS: Better formatting of VTY outputHarald Welte1-6/+8
2010-05-19[GPRS] NS: VTY: Move all local ip/port bind values into 'ns' nodeHarald Welte1-0/+89
This removes the requirement for gb_proxy and sgsn to have duplicate vty parsing code
2010-05-19[GPRS] Add Frame Relay in GRE encapsulation for NSHarald Welte1-3/+79
2010-05-16VTY: Context-sensitive help for logging related commandsHarald Welte1-1/+1
2010-05-15[GPRS] NS: Allow filtering of log messages by NSVC / NSEIHarald Welte1-0/+34
2010-05-15[GPRS] NS: VTY: Don't nsvc_delete() on 'no nse...'Harald Welte1-3/+9
Rather than deleting the NSE from memory, we simply mark it as non-persistent. This makes sure that there are no invalid references (e.g. from gbprox_peer) to the gprs_nsvc structure, but at the same time ensures it will no longer be stored as part of writing the config file.
2010-05-15[GPRS] NS: Introduce command to display a single NSEHarald Welte1-12/+47
2010-05-14[GPRS] NS: Add 'nsvc nsei ... (block|unblock|reset)' command to VTYHarald Welte1-0/+33
2010-05-14[VTY] Introduce "end" command that works from any level in configHarald Welte1-0/+1
Using "end" you can always return to the "enable" level, and from there the "show" commands are available. So no more need for exit/exit/exit/exit/disable.
2010-05-14[VTY] Remove OpenBSC specific node-exit handling from src/vtyHarald Welte1-0/+2
The idea is to move the VTY code into libosmocore at some point, and for that we need to eliminate OpenBSC specifics from it
2010-05-13[GPRS] NS: Fix segfault when receiving message from unknown NS-VCHarald Welte1-0/+2
In the previous code we used a static fake_nsvc structure in case we needed to send a message to an unknown NSVC for which we don't have a real 'struct nsvc'. However, since we now have a rate_ctr_group hanging off the nsvc, the fake structure didn't have that. So now we keep a nsi->unknown_nsvc around to be used whenever we need a nsvc but don't have a real one. The gprs_ns_vty.c code explicitly does not list that NSVC in 'show ns'
2010-05-13[GPRS] NS: Show statistics on VTY only if requestedHarald Welte1-4/+19
2010-05-13[GPRS] NS: Start to use rate_ctr_group code from libosmocoreHarald Welte1-0/+275
Every NS-VC now has a set of counters for incoming and outgoing number of packets and bytes. We also split the VTY part of the gprs_ns.c implementation into gprs_ns_vty.c to make sure the protocol can actually be used without the VTY code being present.