Support for UMF Components Model Software Components#230
Draft
niranjanivivek wants to merge 2 commits into
Draft
Support for UMF Components Model Software Components#230niranjanivivek wants to merge 2 commits into
niranjanivivek wants to merge 2 commits into
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
niranjanivivek
force-pushed
the
pr_compmodel_swcomp
branch
from
July 8, 2026 09:03
a645f16 to
3e74e4d
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
niranjanivivek
force-pushed
the
pr_compmodel_swcomp
branch
from
July 14, 2026 18:10
3e74e4d to
329dbb8
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Signed-off-by: Niranjani Vivek <niranjaniv@google.com>
niranjanivivek
force-pushed
the
pr_compmodel_swcomp
branch
from
July 16, 2026 12:07
329dbb8 to
f21eb4d
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
niranjanivivek
force-pushed
the
pr_compmodel_swcomp
branch
from
July 16, 2026 12:53
f21eb4d to
6abf012
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Contributor
Author
rlucus
suggested changes
Jul 22, 2026
rlucus
left a comment
There was a problem hiding this comment.
Should also include recent changes to validSWCompName and getCompName to remove name prefix requirements.
niranjanivivek
force-pushed
the
pr_compmodel_swcomp
branch
from
July 23, 2026 08:58
6abf012 to
b21378f
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Signed-off-by: Niranjani Vivek <niranjaniv@google.com>
niranjanivivek
force-pushed
the
pr_compmodel_swcomp
branch
from
July 23, 2026 09:44
b21378f to
2707c5d
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
niranjanivivek
commented
Jul 23, 2026
| cTypes = []componentType{CompTypeNWStack, CompTypeOS} | ||
| } else if strings.HasPrefix(uri, "/openconfig-platform:components/component/state/oper-status") { | ||
| cTypes = []componentType{CompTypeNWStack, CompTypeOS} | ||
| } else if strings.HasPrefix(uri, "/openconfig-platform:components/component/google-pins-platform:boot-loader") { |
Contributor
Author
There was a problem hiding this comment.
@ndas7 @rlucus Please suggest whether google-pins-platform is allowed to use ? How is google-pins-platform.yang included for porting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support for UMF Componenets Model Components Root - Software Components
sonic-host-services - PR#413
Component Test - PR #724
UT Test Results
=== RUN TestSWGetSysCompUnknownCompTyp
--- PASS: TestSWGetSysCompUnknownCompTyp (0.00s)
=== RUN TestSWOperStatusFromString
--- PASS: TestSWOperStatusFromString (0.00s)
=== RUN TestSWGetCompTypeByName_Patterns
--- PASS: TestSWGetCompTypeByName_Patterns (0.00s)
=== RUN TestSWGetCompType_DbAndCache
--- PASS: TestSWGetCompType_DbAndCache (0.00s)
=== RUN TestSWCompTypesForSubscriptionUri
--- PASS: TestSWCompTypesForSubscriptionUri (0.00s)
=== RUN TestSWValidSWCompName
--- PASS: TestSWValidSWCompName (0.00s)
=== RUN TestSWFillSWCompInfo_Comp
--- PASS: TestSWFillSWCompInfo_Comp (0.00s)
=== RUN TestSWGetSysComponents_Subtree
--- PASS: TestSWGetSysComponents_Subtree (0.00s)
=== RUN TestSWFillSWCompInfo_SWTypes
=== RUN TestSWFillSWCompInfo_SWTypes/boot_loader0
=== RUN TestSWFillSWCompInfo_SWTypes/bios0
=== RUN TestSWFillSWCompInfo_SWTypes/network_stack0
--- PASS: TestSWFillSWCompInfo_SWTypes (0.00s)
--- PASS: TestSWFillSWCompInfo_SWTypes/boot_loader0 (0.00s)
--- PASS: TestSWFillSWCompInfo_SWTypes/bios0 (0.00s)
--- PASS: TestSWFillSWCompInfo_SWTypes/network_stack0 (0.00s)
=== RUN TestSWFillSWCompInfo_SingPath
--- PASS: TestSWFillSWCompInfo_SingPath (0.00s)
=== RUN TestSWFillSWCompInfo_ValidnErr
--- PASS: TestSWFillSWCompInfo_ValidnErr (0.00s)
=== RUN TestSWGetCompType_BL_BiosDb
=== RUN TestSWGetCompType_BL_BiosDb/boot_comp_db
=== RUN TestSWGetCompType_BL_BiosDb/bios_comp_db
--- PASS: TestSWGetCompType_BL_BiosDb (0.00s)
--- PASS: TestSWGetCompType_BL_BiosDb/boot_comp_db (0.00s)
--- PASS: TestSWGetCompType_BL_BiosDb/bios_comp_db (0.00s)
=== RUN TestSWFillSWCompInfo_StateUriType
=== RUN TestSWFillSWCompInfo_StateUriType/OS
=== RUN TestSWFillSWCompInfo_StateUriType/BootLoader
=== RUN TestSWFillSWCompInfo_StateUriType/Bios
=== RUN TestSWFillSWCompInfo_StateUriType/NWStack
=== RUN TestSWFillSWCompInfo_StateUriType/Invalid
--- PASS: TestSWFillSWCompInfo_StateUriType (0.00s)
--- PASS: TestSWFillSWCompInfo_StateUriType/OS (0.00s)
--- PASS: TestSWFillSWCompInfo_StateUriType/BootLoader (0.00s)
--- PASS: TestSWFillSWCompInfo_StateUriType/Bios (0.00s)
--- PASS: TestSWFillSWCompInfo_StateUriType/NWStack (0.00s)
--- PASS: TestSWFillSWCompInfo_StateUriType/Invalid (0.00s)
=== RUN TestSWFillSWCompInfo_NameVerErr
--- PASS: TestSWFillSWCompInfo_NameVerErr (0.00s)
=== RUN TestSWGetSysComponents_SWIC
--- PASS: TestSWGetSysComponents_SWIC (0.00s)
=== RUN TestSWGetCompType_NWStackSplCase
=== RUN TestSWGetCompType_NWStackSplCase/legacy_bootloader_in_nw_stack_table
=== RUN TestSWGetCompType_NWStackSplCase/standard_network_stack
--- PASS: TestSWGetCompType_NWStackSplCase (0.00s)
--- PASS: TestSWGetCompType_NWStackSplCase/legacy_bootloader_in_nw_stack_table (0.00s)
--- PASS: TestSWGetCompType_NWStackSplCase/standard_network_stack (0.00s)