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

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

Merged
merged 6 commits into from
May 25, 2023

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
config/main.py Outdated Show resolved Hide resolved
config/main.py Outdated Show resolved Hide resolved
@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