sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[Marvell] platform renaming for innovium and marvell

Open krismarvell opened this issue 1 year ago • 5 comments

Why I did it

Renaming of platforms and asic types for marvell This PR has dependencies on the below submodule PRs

Repo PR title State
sonic-swss [Marvell] platform renaming for innovium Open
sonic-utilities platform renaming for innovium Open
sonic-sairedis [Marvell] platform renaming for innovium Open
sonic-mgmt Changes to support chip name change from innovium to marvell-teralynx Open
sonic-mgmt Changes to support asic name change from marvell to marvell-prestera Open

How I did it

renamed platform folder names and asic types as below platform/innovium renamed to platform/marvell-teralynx platform/marvell renamed to platform/marvell-prestera Above changes are organised into two commits for clarity.

How to verify

Verify marvell-teralynx and marvell-prestera builds going through, and verify the images in respective platform switches and verified linkup of interfaces

Work item tracking
  • Microsoft ADO (number only):

Which release branch to backport (provide reason below if selected)

  • [ ] 201811
  • [ ] 201911
  • [ ] 202006
  • [ ] 202012
  • [ ] 202106
  • [ ] 202111
  • [ ] 202205
  • [ ] 202211
  • [ ] 202305

Tested branch (Please provide the tested image version)

master

Description for the changelog

NA

Link to config_db schema for YANG module changes

NA

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

krismarvell avatar Aug 06 '24 01:08 krismarvell

/azpw run Azure.sonic-buildimage

krismarvell avatar Aug 29 '24 10:08 krismarvell

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Aug 29 '24 10:08 mssonicbld

Pull request contains merge conflicts.

azure-pipelines[bot] avatar Aug 29 '24 10:08 azure-pipelines[bot]

/azpw ms_conflict

krismarvell avatar Sep 04 '24 09:09 krismarvell

@Blueve please help with the review for this

@liushilongbuaa @xumia please help with the changes to the pipeline yml files. Specifically, are there any other changes needed for the nightly official builds?

saiarcot895 avatar Sep 10 '24 05:09 saiarcot895

@liushilongbuaa @xumia Can you pls checking if there are additional changes needed for the nightly pipeline builds with these changes ? @Blueve Can you pls help review ?

krismarvell avatar Sep 19 '24 04:09 krismarvell

checking.

liushilongbuaa avatar Sep 19 '24 09:09 liushilongbuaa

Would it be possible to keep the image name for marvell_prestera_arm64 and marvell_prestera_armhf the same as it is now? The platform string can be renamed, but if the image name is kept the same, that would be good for scripts/automation that use the existing name.

saiarcot895 avatar Oct 01 '24 05:10 saiarcot895

@saiarcot895 it will be difficult to make the image name same as before due to two below reasons.

  1. the image names are closely tied with ONE_IMAGE definition in marvell platform and hence keeping the old image names vs platform string renames in code may end up in image build errors and may require unclean fix for the same.
  2. Also, for the platform users, we would like to add prestera as reference marker for this asic for clarity. The scripts/automation using the above platform image names, is that something i can make appropriate changes so as to work with this change ? Pls let me know

krismarvell avatar Oct 16 '24 12:10 krismarvell

/azpw run Azure.sonic-buildimage

krismarvell avatar Nov 20 '24 04:11 krismarvell

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Nov 20 '24 04:11 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 20 '24 04:11 azure-pipelines[bot]

/azpw run Azure.sonic-buildimage

krismarvell avatar Nov 20 '24 15:11 krismarvell

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Nov 20 '24 15:11 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 20 '24 15:11 azure-pipelines[bot]

@saiarcot895 have done a latest rebase with a conflict resolved. Request help with the merge.

krismarvell avatar Nov 21 '24 04:11 krismarvell

/azpw run Azure.sonic-buildimage

krismarvell avatar Nov 23 '24 11:11 krismarvell

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Nov 23 '24 11:11 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 23 '24 11:11 azure-pipelines[bot]

/azpw run Azure.sonic-buildimage

krismarvell avatar Nov 24 '24 02:11 krismarvell

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Nov 24 '24 02:11 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 24 '24 02:11 azure-pipelines[bot]

@lguohan Can you pls help merge this changeset

krismarvell avatar Nov 24 '24 16:11 krismarvell