Skip to content

Populating chassis_serial_number to state_db DEVICE_METADATA Table - #855

Open
gauravnagesh-msft wants to merge 1 commit into
sonic-net:masterfrom
gauravnagesh-msft:populate-chassisserialnum-to-statedb-devicemetadata-table
Open

Populating chassis_serial_number to state_db DEVICE_METADATA Table#855
gauravnagesh-msft wants to merge 1 commit into
sonic-net:masterfrom
gauravnagesh-msft:populate-chassisserialnum-to-statedb-devicemetadata-table

Conversation

@gauravnagesh-msft

Copy link
Copy Markdown

Description

Populating chassis_serial_number into STATE_DB/DEVICE_METADATA/localhost/chassis_serial_number

Motivation and Context

The DEVICE_METADATA table is currently populated by snmp startup script. However, if we decide to shutdown snmp container service and rely on telemetry only, there is no way to easily fetch serial number from database. So, adding into Platform daemon in the same function where we save it in CHASSIS_INFO table.

How Has This Been Tested?

Verified changes and checked Redis to verify the data population on one of the platforms.

Additional Information (Optional)

Signed-off-by: gauravnagesh-msft <274629584+gauravnagesh-msft@users.noreply.github.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

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