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

Standardize meta data to SYSTEM META packet #426

Closed
ryanatball opened this issue Apr 21, 2017 · 0 comments
Closed

Standardize meta data to SYSTEM META packet #426

ryanatball opened this issue Apr 21, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@ryanatball
Copy link
Member

@ryanatball ryanatball commented Apr 21, 2017

From now on COSMOS will always have a standardized meta data packet defined that at a minimum will contain the current configuration name, and a flag indicating if it is a command or telemetry packet.

The packet will be under the SYSTEM target and called META.

This will have the following additional effects:

  1. All standard COSMOS log files will start with the meta data packet. meta_packet_log_writer will be eliminated and essentially become part of the default packet_log_writer.
  2. Standard Streams can be introspected to determine if they contain commands or telemetry by looking at the first packet.
  3. Logs and streams can support the configuration changing mid-file or mid-stream by injecting a new meta packet with an updated configuration name
  4. Packet log file header data will now be redundant, but will probably be left to maintain compatibility (TBD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.