Comment 2 for bug 2048085

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/904782
Committed: https://opendev.org/starlingx/integ/commit/9fb03e0f35ba0698abe9a7277bd2b8dd033bc188
Submitter: "Zuul (22348)"
Branch: master

commit 9fb03e0f35ba0698abe9a7277bd2b8dd033bc188
Author: Andre Mauricio Zelak <email address hidden>
Date: Thu Jan 4 15:10:04 2024 -0300

    Fix PTP configuration compatibility

    Fixed the behavior when HA is disabled, one interface has been
    configured and '-a' autoconfiguration option is enabled in a
    phc2sys instance. The behavior before HA feature was to ignore
    the given interface. To keep compatibility with earlier
    configurations, interfaces in the configuration file are
    ignored if HA is disabled.

    Test Plan: non HA
    PASS: Verify behavior when HA is disabled and interface has been
    configured.
    PASS: Verify behavior when HA is ommited and interface has been
    configured.
    PASS: Verify behavior when HA is disabled and no interface has
    been configured.

    Test Plan: HA
    PASS: Verify phc2sys exit with error when HA is enabled and
    one interface has been configured.

    Test Plan: Build
    PASS: Verify patch application and package build

    Closes-bug: 2048085

    Change-Id: Ia65c157cfd63b637bd3ae3d7e370407e82371305
    Signed-off-by: Andre Mauricio Zelak <email address hidden>