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

Exporter: always use tcp for ser2net #1428

Merged
merged 3 commits into from
Jun 21, 2024

Commits on Jun 21, 2024

  1. remote/exporter: refactor ser2net version check

    Turn the version variable into a tuple which consists of (major, minor,
    micro). Convert the exit code check to use tuples instead of strings and
    also correct the version check for the YAML configuration to use a
    tuple.
    No functional changes intended.
    
    Signed-off-by: Rouven Czerwinski <[email protected]>
    Emantor committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    7282541 View commit details
    Browse the repository at this point in the history
  2. remote/exporter: ser2net YAML config since 4.2.0

    Contrary to the code, ser2net started using the YAML configuration in
    version 4.2.0, correct the exporter version check.
    
    Signed-off-by: Rouven Czerwinski <[email protected]>
    Emantor committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    d0b08a1 View commit details
    Browse the repository at this point in the history
  3. remote/exporter: always set tcp for ser2net

    Always indicate that the network connection should use tcp. This was not
    mandatory for versions before 4.6.0, but is for versions afterwards.
    This should not impact the behavior for earlier versions, since all
    versions since the introduction of YAML configurations in 4.2.0 support
    this parameter.
    
    Fixes labgrid-project#1416
    
    Signed-off-by: Rouven Czerwinski <[email protected]>
    Emantor committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    a3dbfb5 View commit details
    Browse the repository at this point in the history