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

[multi-asic] Port the fix to get the PCI_id from asic.conf from 201911 --> master #7513

Merged
merged 1 commit into from May 7, 2021

Conversation

judyjoseph
Copy link
Contributor

Why I did it

Port the fix to get the pci_device ID from asic.conf file and update the "asic_id" field in DEVICE_METADATA with the pci_device_Id

How I did it

How to verify it

PR ref: #4705

eg:

admin@str2--acs-1:~$ cat /usr/share/sonic/device/x86-r0/asic.conf 
NUM_ASIC=3
DEV_ID_ASIC_0=03:00.0
DEV_ID_ASIC_1=04:00.0
DEV_ID_ASIC_2=05:00.0

In the config db.json file

    "DEVICE_METADATA": {
        "localhost": {
  ....
            "asic_id": "03:00.0",
            "bgp_asn": "65100",
            "sub_role": "FrontEnd",
            "cloudtype": "None",
            "asic_name": "asic0",
            "type": "LeafRouter",
            "deployment_id": "None"
...
        }
    },

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

  • 201811
  • 201911
  • 202006
  • [x ] 202012

Description for the changelog

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

@judyjoseph judyjoseph requested a review from lguohan as a code owner May 4, 2021 21:32
@judyjoseph judyjoseph requested a review from arlakshm May 4, 2021 21:32
@judyjoseph judyjoseph merged commit 44f21a1 into sonic-net:master May 7, 2021
@judyjoseph judyjoseph deleted the read_asic_ID branch May 7, 2021 21:28
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
…ster branch (sonic-net#7513)

Port the fix to get the pci_device ID from asic.conf file and update the "asic_id" field in DEVICE_METADATA with the pci_device_Id.

Ref: sonic-net#4705
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…ster branch (sonic-net#7513)

Port the fix to get the pci_device ID from asic.conf file and update the "asic_id" field in DEVICE_METADATA with the pci_device_Id.

Ref: sonic-net#4705
qiluo-msft pushed a commit that referenced this pull request Jan 25, 2022
…ster branch (#7513)

Port the fix to get the pci_device ID from asic.conf file and update the "asic_id" field in DEVICE_METADATA with the pci_device_Id.

Ref: #4705
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.

None yet

5 participants