Skip to content

Comments

[202511]: Update lit mode setting logic for smartswitch testbeds#22505

Merged
vmittal-msft merged 1 commit intosonic-net:202511from
prabhataravind:paravind/202511_lit_mode
Feb 20, 2026
Merged

[202511]: Update lit mode setting logic for smartswitch testbeds#22505
vmittal-msft merged 1 commit intosonic-net:202511from
prabhataravind:paravind/202511_lit_mode

Conversation

@prabhataravind
Copy link
Contributor

@prabhataravind prabhataravind commented Feb 20, 2026

  • Instead of using a default true value, read it from the testbed file and set it accordingly.
  • If no such parameter exists in testbed file, derive lit mode status from topology

Description of PR

Cherry-pick of #22465

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

To provide the flexibility to use a testbed as lit or dark mode as defined in testbed.yaml file

How did you do it?

By setting a is_lit_mode in testbed.yaml, so that it can be passed to generate_golden_config_db script.

How did you verify/test it?

By doing add-topo and deploy-mg on lit and dark mode smartswitch testbeds

Any platform specific information?

Smartswitch specific change

Supported testbed topology if it's a new test case?

Documentation

 * Instead of using a default true value, read it from the testbed file and
   set it accordingly.
 * If no such parameter exists in testbed file, derive lit mode status from
   topology

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

@github-actions github-actions bot requested review from r12f and sdszhang February 20, 2026 16:43
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind prabhataravind changed the title Update lit mode setting logic for smartswitch testbeds [202511]: Update lit mode setting logic for smartswitch testbeds Feb 20, 2026
@prabhataravind
Copy link
Contributor Author

@vmittal-msft @prsunny please add this as well to 202511.

@vmittal-msft vmittal-msft merged commit 6c5fb9f into sonic-net:202511 Feb 20, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants