[docker-fpm-frr] Set default value to SMARTSWITCH env variable in TSA/B/C #20413
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
Recently, as part of #19729, TSA/B/C functionality has been modified to take into account the env variable
SMARTSWITCH
. This env variable is being exposed though a newly addedplatform_utils
file in frr.The expected behavior is that
platform_utils
script to be present; instead it is missing.SMARTSWITCH
value to be eithertrue
orfalse
; instead it is" "
.As a result, "reliable TSA" feature is affected. This PR fixes this issue.
Work item tracking
How I did it
platform_utils
script have been suppressed.SMARTSWITCH
default value is set tofalse
if it has been unset or empty.How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)