Skip to content

Statistics-- update#8

Closed
renukamanavalan wants to merge 143 commits intosyslog_telemetry_sharedfrom
statistics
Closed

Statistics-- update#8
renukamanavalan wants to merge 143 commits intosyslog_telemetry_sharedfrom
statistics

Conversation

@renukamanavalan
Copy link
Copy Markdown
Owner

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Copy link
Copy Markdown
Collaborator

@zbud-msft zbud-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we updating submodule, wpasupplicant?

Comment thread src/sonic-eventd/Makefile Outdated
// Override this to define how to set up the environment.
void SetUp() override {
// by default , init should be false
cout<<"Default : isInit = "<<SonicDBConfig::isInit()<<endl;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses SWSS_LOG instead of cout

Copy link
Copy Markdown
Owner Author

@renukamanavalan renukamanavalan Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is by design. For unit tests, we want the spew in stdout, so the build log will have it.
BTW, this is the same code from unit test of swsscommon.

}
catch (exception &e)
{
printf("Unable to get DB Connector, e=(%s)\n", e.what());
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SWSS_LOG_ERROR

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above --Not for unit tests.

Comment thread src/sonic-eventd/src/eventd.h Outdated
Comment thread src/sonic-eventd/src/eventd.cpp Outdated
Comment thread src/sonic-eventd/src/eventd.cpp Outdated
Comment thread src/sonic-eventd/src/eventd.h
Comment thread src/sonic-eventd/tests/eventd_ut.cpp Outdated
Comment thread src/sonic-eventd/src/eventd.h
@zbud-msft
Copy link
Copy Markdown
Collaborator

zbud-msft commented Aug 16, 2022

I think you can also remove sonic-swss-common submodule update, as master sonic-buildimage has update

@zbud-msft
Copy link
Copy Markdown
Collaborator

You are updating submodule wpa-supplicant and there are conflicts with swss-common submodule as well

@renukamanavalan
Copy link
Copy Markdown
Owner Author

Incorrect submodule updates in this PR could not be reverted. Hence abandoning this PR.

zbud-msft pushed a commit that referenced this pull request Aug 25, 2022
#### What I did 

[sonic-linkmgrd][master] submodule update

6c6151b Fix unstable unit tests (state change handler wasn't invoked) (#8)
2f7dc0a support code diff coverage (#5)
83f0002 Force mux state switch to standby if triggered from Cli (#6)

signed-off-by: Jing Zhang [email protected]
zbud-msft pushed a commit that referenced this pull request Aug 25, 2022
* [BFN] Updated platform APIs impl

Signed-off-by: Andriy Kokhan <[email protected]>

* Extended BFN platform SFP APIs implementation

* Update sfp.py

* [BFN] Extended SFP platform plugin implementation

Signed-off-by: Andriy Kokhan <[email protected]>

* [BFN] Extended Fans platform plugin implementation

* [BFN] divided classes Fan and  FanDrawer into 2 files

* Signed-off-by: Vadym Yashchenko <[email protected]>

What I did
	Add get_model() function
	Add get_low_critical_threshold() function
	Change __get(...) function.
How I did it
	Differnece from previous implementation of __get(...) function is return real value or -9999.9 if value is not provided by thrift API

* Add get_presence() function and revised __get() function

Signed-off-by: Vadym Yashchenko <[email protected]>

* [BFN] Updated PSU platform APIs impl

Signed-off-by: Dmytro Lytvynenko <[email protected]>

* Added BFN PSU cache (#9)

Signed-off-by: Andriy Kokhan <[email protected]>

* [BFN]  Fans and Fantray platform APIs update (#7)

* [BFN] Updated SFP platform APIs (#10)

Signed-off-by: Volodymyr Boyko <[email protected]>

* [BFN] Updated platform API for thermal (#8)

* Signed-off-by: Vadym Yashchenko <[email protected]>

* Revert "[BFN]  Fans and Fantray platform APIs update (#7)" (#11)

This reverts commit c62a733.

* Add support health monitor system (#15)

Signed-off-by: Petro Bratash <[email protected]>

* Update chassis.py

* [BFN] Updated FANs and FAN Tray platform API (#14)

* Fix fix_alignment (#17)

Signed-off-by: Petro Bratash <[email protected]>

* [BFN] Improvement show environment (#16)

* Added PSU temperature skip into platform.json (#18)

Signed-off-by: Andriy Kokhan <[email protected]>

* Do not skip psud on Newport

Signed-off-by: Andriy Kokhan <[email protected]>

* [BFN] fix fan status from Not OK to Ok (#19)

* [BFN] Updated SFP platform plugin (#13)

Signed-off-by: Volodymyr Boyko <[email protected]>

* [DPB] Fix typo for Ethernet0 2x200G[100G,40G] breakout mode (#21)

Signed-off-by: Mykola Gerasymenko <[email protected]>

* [barefoot] Tmp fix vendor_rev (#22)

Signed-off-by: Volodymyr Boyko <[email protected]>

* Fixed python issues in sonic_platform/fan_drawer.py

Signed-off-by: Andriy Kokhan <[email protected]>

* Updated fan_drawer.py

* Fixing trailing white spaces in fan_drawer.py

* [BFN] Fix thrift for SFPs API

Signed-off-by: Volodymyr Boyko <[email protected]>

* In platform.json, replaced 'false' with '0' to workaround ast.literal_eval() issue

Signed-off-by: Andriy Kokhan <[email protected]>

* [Newport] Thermal manager  (#23)

* Signed-off-by: Vadym Yashchenko <[email protected]>

* Revert "In platform.json, replaced 'false' with '0' to workaround ast.literal_eval() issue"

This reverts commit 1e73127.

* Removed 'controllable' options from platform.json to fix factory default config generation

Signed-off-by: Andriy Kokhan <[email protected]>

* Update thermal_manager.py

* Migrated SFP plugin to sonic_xcvr API (#30)

Signed-off-by: Andriy Kokhan <[email protected]>

Co-authored-by: KostiantynYarovyiBf <[email protected]>
Co-authored-by: Vadym Yashchenko <[email protected]>
Co-authored-by: Dmytro Lytvynenko <[email protected]>
Co-authored-by: Volodymyr Boiko <[email protected]>
Co-authored-by: Petro Bratash <[email protected]>
Co-authored-by: Mykola Gerasymenko <[email protected]>
renukamanavalan added a commit that referenced this pull request Sep 4, 2022
* 3beaadc (HEAD, origin/master, origin/HEAD, master) Improve unit test for gnmi (#38)
*   a12fcd8 Merge pull request #13 from renukamanavalan/statistics
* |   28b2f27 Enable unit test
* |   65e3c8f Add log for authentication and add unit test. #12
* |   1b3b838 Merge pull request #8 from ganglyu/fix_pipeline
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.

2 participants