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

P11 JSON:Refactored rainier 4U system JSON. #365

Open
wants to merge 1 commit into
base: P11_Dev
Choose a base branch
from

Conversation

PriyangaRamasamy
Copy link

@PriyangaRamasamy PriyangaRamasamy commented Sep 11, 2024

This commit has rainier 4U system JSON refactored with the following modifications.

  1. Added devTree tag.
  2. Added backupRestoreConfigPath tag.
  3. Added serviceName in every parent FRU and sub FRU section.
  4. Modified pollingRequired section.
  5. Modified preAction and PostFailAction sections.
  6. Removed busType, driverType and devAddress as we have systemCmd tag
    which has command to bind.
  7. Added postAction section
  8. Modified inventoryPath value

}
},
{
"inventoryPath": "/system",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need full path under inventory path for FRUs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"serviceName": "xyz.openbmc_project.Inventory.Manager",
"pcaChipAddress": "5-0060",
"replaceableAtStandby": true,
"concurrentlyMaintainable": true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to come up with a new name for this flag. I am assuming that will be taken care as a part of defect/issue?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be taken care with this issue #349

This commit has rainier 4U system JSON refactored with the following
modifications.

1. Added devTree tag.
2. Added backupRestoreConfigPath tag.
3. Added serviceName in every parent FRU and sub FRU section.
4. Modified pollingRequired section.
5. Modified preAction and PostFailAction sections.
6. Removed busType, driverType and devAddress as we have systemCmd tag
which has command to bind.
7. Added postAction section
8. Modified inventoryPath value

Signed-off-by: PriyangaRamasamy <[email protected]>
Copy link
Collaborator

@SunnySrivastava1984 SunnySrivastava1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post action is defined for cards where it is not required.
I have pointed few of them. Please go through the complete JSON and remove it from all the places where it is not required.

}
}
},
"postAction": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why post action has been defined for this card?

}
}
},
"postAction": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Why post action needs to be defined for this card?

}
}
},
"postAction": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Why post action has been defined for this card.

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