Skip to content

[config] Generate sysinfo as needed when override config#2836

Merged
wen587 merged 6 commits intosonic-net:masterfrom
wen587:multi_sysinfo
May 25, 2023
Merged

[config] Generate sysinfo as needed when override config#2836
wen587 merged 6 commits intosonic-net:masterfrom
wen587:multi_sysinfo

Conversation

@wen587
Copy link
Contributor

@wen587 wen587 commented May 16, 2023

ADO: 17921518

What I did

The generated Golden Config will not have knowledge of configs that are produced in run time, such as mac and platform.
Generate that info in Override Config if missing.

How I did it

Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it

Unit test

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@wen587 wen587 requested a review from qiluo-msft May 16, 2023 11:56
@wen587 wen587 marked this pull request as ready for review May 16, 2023 11:56
@wen587 wen587 requested a review from judyjoseph May 19, 2023 00:58
@wen587 wen587 requested a review from qiluo-msft May 23, 2023 05:56
@wen587 wen587 merged commit d5544b4 into sonic-net:master May 25, 2023
@wen587 wen587 deleted the multi_sysinfo branch May 25, 2023 02:54
wen587 added a commit that referenced this pull request May 31, 2023
What I did
It is a bug introduced from #2836. Need to generate sysinfo for single asic.

How I did it
Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it
Unit test
wen587 added a commit to wen587/sonic-utilities that referenced this pull request Jun 8, 2023
)

ADO: 17921518

What I did
The generated Golden Config will not have knowledge of configs that are produced in run time, such as mac and platform.
Generate that info in Override Config if missing.

How I did it
Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it
Unit test
@wen587
Copy link
Contributor Author

wen587 commented Jun 8, 2023

local test and can be clean picked to 202205.

yxieca pushed a commit that referenced this pull request Jun 15, 2023
ADO: 17921518

What I did
The generated Golden Config will not have knowledge of configs that are produced in run time, such as mac and platform.
Generate that info in Override Config if missing.

How I did it
Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it
Unit test
yxieca pushed a commit that referenced this pull request Jun 15, 2023
What I did
It is a bug introduced from #2836. Need to generate sysinfo for single asic.

How I did it
Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it
Unit test
pdhruv-marvell pushed a commit to pdhruv-marvell/sonic-utilities that referenced this pull request Aug 23, 2023
)

ADO: 17921518

What I did
The generated Golden Config will not have knowledge of configs that are produced in run time, such as mac and platform.
Generate that info in Override Config if missing.

How I did it
Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it
Unit test
pdhruv-marvell pushed a commit to pdhruv-marvell/sonic-utilities that referenced this pull request Aug 23, 2023
What I did
It is a bug introduced from sonic-net#2836. Need to generate sysinfo for single asic.

How I did it
Reuse the mac and platform in existing device runnning config and generate that if missing.

How to verify it
Unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants