Skip to content

Conversation

@saksarav-nokia
Copy link
Contributor

What I did
Added support to parse the media_type set in PORT_TABLE in APP_DB and set the corresponding SAI attribute in SAI
Why I did it
media_type support was not present in sonic-swss
How I verified it
Added the media_type in media_settings.json file and verified that they are passes to swss, SAI and also got programmed in the Asic. The verification was done in Nokia chassis platform.
Details if related

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

db = swsscommon.DBConnector(0, dvs.redis_sock, 0)
adb = swsscommon.DBConnector(1, dvs.redis_sock, 0)

tbl = swsscommon.Table(db, "PORT_TABLE")

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable tbl is not used.
@saksarav-nokia
Copy link
Contributor Author

@prgeor @judyjoseph @arlakshm @rlhui for viz

@saksarav-nokia
Copy link
Contributor Author

@snider-nokia for viz

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

prgeor
prgeor previously approved these changes Nov 22, 2025
@prgeor
Copy link
Contributor

prgeor commented Nov 22, 2025

@saksarav-nokia vs test is failing...please check if its related to your PR.

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saksarav-nokia saksarav-nokia force-pushed the saksarav-nokia-media-type branch from 9c32311 to cb67d7c Compare November 24, 2025 20:45
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saksarav-nokia saksarav-nokia force-pushed the saksarav-nokia-media-type branch from cb67d7c to f7c52f4 Compare November 24, 2025 21:12
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rlhui rlhui added the P0 label Nov 24, 2025
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saksarav-nokia
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

prgeor
prgeor previously approved these changes Nov 26, 2025
@saksarav-nokia
Copy link
Contributor Author

@rlhui @prgeor , do i need to create a PR for msft-202405?

@saksarav-nokia
Copy link
Contributor Author

@prgeor , the PR failures are not related to my changes and i see all PR's in sonic-swss are failing with the same failures.

@saksarav-nokia
Copy link
Contributor Author

Created Azure/sonic-swss.msft#173 for msft-202405

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saksarav-nokia saksarav-nokia force-pushed the saksarav-nokia-media-type branch from 1088eb4 to fa531cb Compare December 1, 2025 14:54
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saksarav-nokia saksarav-nokia force-pushed the saksarav-nokia-media-type branch from fa531cb to b9df981 Compare December 1, 2025 15:02
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

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

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants