Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulator level statistics to track OTA and event channel activity #48

Closed
sgalgano opened this issue Jun 14, 2016 · 0 comments
Closed

Emulator level statistics to track OTA and event channel activity #48

sgalgano opened this issue Jun 14, 2016 · 0 comments
Assignees

Comments

@sgalgano
Copy link
Member

Additional capability to have emulator level statistics and statistic tables with statistics to track the number of sent and received OTA and Event channel messages.

@sgalgano sgalgano self-assigned this Jun 14, 2016
sgalgano added a commit that referenced this issue Jun 14, 2016
Modifications were made to the emane shell command line to allow
targeting of emulator level statistics, tables and configuration.  The
target 'emulator' can be used to query emulator level items, the
target '*' now means all nems and the emulator, and a new target
'nems' means all nems:

 Get the mac config from all nems
  [emanesh (host:47000)] ## get config nems mac

 Get the stats from all nem components and the emulator:
  [emanesh (localhost:47000)] ## get stat * all

Added OTA Channel upstream (rx) and downstream (tx) statistics
counters:

 numOTAChannelUpstreamPackets
 numOTAChannelDownstreamPackets

Added OTA Channel attached event rx and tx statistic counters. It is
possible to have more than one attached event in a single OTA packet:

 numOTAChannelEventsRx
 numOTAChannelEventsTx

Added OTA Channel packet and event count statistic tables to track the
number of rx and tx packets and events per emulator instance (using
emulator UUID). The event count table tracks attached OTA events. It
is possible to have more than one attached event in a single OTA
packet:

 OTAChannelEventCountTable
 OTAChannelPacketCountTable

The number of allowed rows in the OTAChannelEventCountTable and
OTAChannelPacketCountTable are controlled by two new emulator
(platform xml) configuration items which default to 0, meaning do not
populate the tables:

 stats.ota.maxeventcountrows
 stats.ota.maxpacketcountrows

Added Event Channel event rx and tx statistic counters. It is possible
to have more than one event contained in an Event Channel message,
these counters correspond to the number of events:

 numEventChannelEventsRx
 numEventChannelEventsTx

Added an Event Channel event count statistic table to track the number
of rx and tx events per emulator/generator instance (using
emulator/generator UUID). The event count table tracks events, where
it is possible to have more than one event in a single event channel
message:

 EventChannelEventCountTable

The number of allowed rows in the EventChannelEventCountTable is
controlled by a new emulator (platform xml) configuration item which
defaults to 0, meaning do not populate the table:

 stats.event.maxeventcountrows

Added additional --help output to emaneinfo.

White space cleanup.

See #48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant