[Swan-dev] magic RC codes in log lines and test output

Andrew Cagney andrew.cagney at gmail.com
Fri Nov 30 18:34:14 UTC 2018


My personal preference would be to just drop the three digit numeric
prefixes, however ...

The internal state numbers are exposed on a public interface vis:

  104 "westnet-eastnet" #1: STATE_MAIN_I1: initiate

I think two things should change:

- drop the internal state name from the output vis:
  104 "westnet-eastnet" #1: initiate

- sanitize away the internal state number in test output vis:
  1.. "westnet-eastnet" #1:  initiate

Once that is done any changes to state names / numbers should be
straight forward?

Andrew


More information about the Swan-dev mailing list