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

add support to execute new ycable API's, add datetime field to mux_info #297

Merged
merged 6 commits into from
Sep 23, 2022

Conversation

vdahiya12
Copy link
Contributor

@vdahiya12 vdahiya12 commented Sep 23, 2022

This PR does two main things

  • It adds the capability for SONiC CLI to call few API's like operationtime, healthcheck, queue_info, reset cause for it to be displayed via CLI
  • It adds a datetime field inside MUX_CABLE_INFO helpful for tracking last update, and it removes some of the toggle synchronization logic for SONiC telemetry, since SONiC telemetry table MUX_CABLE_INFO is anyways disabled/enabled using CLI
    config muxcable telemetry enable/disable, it is redundant to have this logic embedded in ycabled and port_instance helper objects, which could be unneccessary

Description

Motivation and Context

How Has This Been Tested?

Putting the changes on Arista testbed and UT

Additional Information (Optional)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@vdahiya12 vdahiya12 changed the title Add new api x add support to execute new ycable API's, add datetime field to mux_info Sep 23, 2022
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@vdahiya12 vdahiya12 requested a review from zjswhhh September 23, 2022 17:17
@vdahiya12 vdahiya12 merged commit 143422b into sonic-net:master Sep 23, 2022
vdahiya12 added a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Sep 23, 2022
…fo (sonic-net#297)

This PR does two main things

It adds the capability for SONiC CLI to call few API's like operationtime, healthcheck, queue_info, reset cause for it to be displayed via CLI
It adds a datetime field inside MUX_CABLE_INFO helpful for tracking last update, and it removes some of the toggle synchronization logic for SONiC telemetry, since SONiC telemetry table MUX_CABLE_INFO is anyways disabled/enabled using CLI
config muxcable telemetry enable/disable, it is redundant to have this logic embedded in ycabled and port_instance helper objects, which could be unneccessary
Description
Motivation and Context
How Has This Been Tested?
Putting the changes on Arista testbed and UT
vdahiya12 added a commit that referenced this pull request Sep 23, 2022
…fo (#297) (#299)

This PR does two main things
Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com

It adds the capability for SONiC CLI to call few API's like operationtime, healthcheck, queue_info, reset cause for it to be displayed via CLI
It adds a datetime field inside MUX_CABLE_INFO helpful for tracking last update, and it removes some of the toggle synchronization logic for SONiC telemetry, since SONiC telemetry table MUX_CABLE_INFO is anyways disabled/enabled using CLI
config muxcable telemetry enable/disable, it is redundant to have this logic embedded in ycabled and port_instance helper objects, which could be unneccessary
Description
Motivation and Context
How Has This Been Tested?
Putting the changes on Arista testbed and UT

Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
yxieca pushed a commit that referenced this pull request Oct 3, 2022
…fo (#297)

This PR does two main things

It adds the capability for SONiC CLI to call few API's like operationtime, healthcheck, queue_info, reset cause for it to be displayed via CLI
It adds a datetime field inside MUX_CABLE_INFO helpful for tracking last update, and it removes some of the toggle synchronization logic for SONiC telemetry, since SONiC telemetry table MUX_CABLE_INFO is anyways disabled/enabled using CLI
config muxcable telemetry enable/disable, it is redundant to have this logic embedded in ycabled and port_instance helper objects, which could be unneccessary
Description
Motivation and Context
How Has This Been Tested?
Putting the changes on Arista testbed and UT
@liuh-80
Copy link
Contributor

liuh-80 commented Feb 2, 2023

202012c branch PR merged: #299
Submodule in sonic-buildimage still not update.

@liuh-80
Copy link
Contributor

liuh-80 commented Feb 6, 2023

@vdahiya12, this PR need a submodule update in sonic-buildimage repo, please check.

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.

5 participants