Support for UMF Integrated-circuit Component. - #225
Draft
bibhuprasad-hcl wants to merge 2 commits into
Draft
Conversation
|
/azp run |
bibhuprasad-hcl
marked this pull request as draft
June 10, 2026 10:40
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 10, 2026 10:43
fe05525 to
49ab635
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 12, 2026 13:40
49ab635 to
d655d01
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 12, 2026 13:41
d655d01 to
97d39c0
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 17, 2026 13:56
97d39c0 to
70791e0
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 17, 2026 13:58
70791e0 to
0f2590f
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 18, 2026 03:26
0f2590f to
c9a994b
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 18, 2026 03:42
c9a994b to
eac6705
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 19, 2026 12:57
eac6705 to
ebeca1e
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 19, 2026 12:58
ebeca1e to
c0abc0f
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 25, 2026 14:00
c0abc0f to
6363f9b
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
June 30, 2026 05:25
6363f9b to
f701fd7
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ndas7
approved these changes
Jul 15, 2026
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
July 15, 2026 11:53
f701fd7 to
46cda8a
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
July 17, 2026 09:28
46cda8a to
0a73d9d
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Contributor
rlucus
suggested changes
Jul 22, 2026
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
July 22, 2026 12:32
0a73d9d to
fe47975
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
August 3, 2026 13:50
fe47975 to
0d5dd79
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Signed-off-by: Niranjani Vivek <niranjaniv@google.com>
Signed-off-by: Bibhuprasad Singh <bibhuprasad@google.com>
bibhuprasad-hcl
force-pushed
the
pr_compmodel_ic
branch
from
August 4, 2026 08:35
0d5dd79 to
74bd86f
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
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 Integrated-circuit Component.
PR link for sonic-platform-node.yang file support:
Adding support for sonic-platform-node.yang to sonic-yang-models
sonic-net/sonic-buildimage#28146
PR link for Component test:
sonic-net/sonic-gnmi#699
UT Test Result:
=== RUN TestCompRoot_ComponentTypeString
--- PASS: TestCompRoot_ComponentTypeString (0.00s)
=== RUN TestCompRoot_ValidICName
=== RUN TestCompRoot_ValidICName/Fails_HasPrefix_check
=== RUN TestCompRoot_ValidICName/Fails_len(sp)<2_check(Prefix_matches_exactly,but_nothing_follows)
=== RUN TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer)
=== RUN TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer)#1
=== RUN TestCompRoot_ValidICName/Passes_all_checks_(Valid_IC_name)
--- PASS: TestCompRoot_ValidICName (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_HasPrefix_check (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_len(sp)<2_check(Prefix_matches_exactly,but_nothing_follows) (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer) (0.00s)
--- PASS: TestCompRoot_ValidICName/Fails_Atoi_check(Suffix_is_not_a_valid_integer)#1 (0.00s)
--- PASS: TestCompRoot_ValidICName/Passes_all_checks_(Valid_IC_name) (0.00s)
=== RUN TestIC_FillICInfo_Coverage
--- PASS: TestIC_FillICInfo_Coverage (0.00s)
=== RUN TestIC_FillICInfoErrorPath
--- PASS: TestIC_FillICInfoErrorPath (0.00s)
=== RUN TestIC_YangToDbInvalidComponentType
--- PASS: TestIC_YangToDbInvalidComponentType (0.00s)
=== RUN TestIC_YangToDb__MemMapCoverage
--- PASS: TestIC_YangToDb__MemMapCoverage (0.00s)
=== RUN TestCompRoot_GetCompTypeByName
--- PASS: TestCompRoot_GetCompTypeByName (0.00s)
=== RUN TestCompRoot_GetCompType_ErrorCases
--- PASS: TestCompRoot_GetCompType_ErrorCases (0.00s)
=== RUN TestCompRoot_GetPfmRootObject
--- PASS: TestCompRoot_GetPfmRootObject (0.00s)
=== RUN TestCompRoot_GetPfmRootObject_Success
--- PASS: TestCompRoot_GetPfmRootObject_Success (0.00s)
=== RUN TestCompRoot_GetSysComponentsWithUnknownComponentType
--- PASS: TestCompRoot_GetSysComponentsWithUnknownComponentType (0.00s)
=== RUN TestIC_GetSysComponentsFullCoverage
=== RUN TestIC_GetSysComponentsFullCoverage/CompLoop
=== RUN TestIC_GetSysComponentsFullCoverage/CompSpecific
=== RUN TestIC_GetSysComponentsFullCoverage/CompState
=== RUN TestIC_GetSysComponentsFullCoverage/CompCfg
=== RUN TestIC_GetSysComponentsFullCoverage/DefaultFillIC
--- PASS: TestIC_GetSysComponentsFullCoverage (0.00s)
--- PASS: TestIC_GetSysComponentsFullCoverage/CompLoop (0.00s)
--- PASS: TestIC_GetSysComponentsFullCoverage/CompSpecific (0.00s)
--- PASS: TestIC_GetSysComponentsFullCoverage/CompState (0.00s)
--- PASS: TestIC_GetSysComponentsFullCoverage/CompCfg (0.00s)
--- PASS: TestIC_GetSysComponentsFullCoverage/DefaultFillIC (0.00s)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit_-Key_is_empty(Requesting_ALL_components)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit_-Key_contains__sensor
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr (0.00s)
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit-Key_is_empty(Requesting_ALL_components) (0.00s)
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr/Early_Exit_-_Key_contains__sensor (0.00s)
=== RUN TestCompRoot_GetAllTableEntries
=== RUN TestCompRoot_GetAllTableEntries/Coverage:_Empty_table_name_exits_early
=== RUN TestCompRoot_GetAllTableEntries/Coverage:_Empty_key_exits_early
=== RUN TestCompRoot_GetAllTableEntries/Coverage:_DB_execution_failure_bubbles_up
=== RUN TestCompRoot_GetAllTableEntries/Check_valid_case
--- PASS: TestCompRoot_GetAllTableEntries (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Coverage:_Empty_table_name_exits_early (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Coverage:_Empty_key_exits_early (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Coverage:_DB_execution_failure_bubbles_up (0.00s)
--- PASS: TestCompRoot_GetAllTableEntries/Check_valid_case (0.00s)
=== RUN TestCompRoot_FillICInfo
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_exactly
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_ST_exactly
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_has_COMP_ST_prefix_but_hits_switch_default
=== RUN TestCompRoot_FillICInfo/Coverage:_Path_doesn't_match_either_condition
--- PASS: TestCompRoot_FillICInfo (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_exactly (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_matches_COMP_ST_exactly (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_has_COMP_ST_prefix_but_hits_switch_default (0.00s)
--- PASS: TestCompRoot_FillICInfo/Coverage:_Path_doesn't_match_either_condition (0.00s)
=== RUN TestCompRoot_DbToYang_pfm_components_xfmr
=== RUN TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Unsupported_request_URI_triggers_early_exit_error
=== RUN TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Successful_execution_path_calls_downstream_getSysComponents
--- PASS: TestCompRoot_DbToYang_pfm_components_xfmr (0.00s)
--- PASS: TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Unsupported_request_URI_triggers_early_exit_error (0.00s)
--- PASS: TestCompRoot_DbToYang_pfm_components_xfmr/Coverage:_Successful_execution_path_calls_downstream_getSysComponents (0.00s)
=== RUN TestCompRoot_CompTypeToFuncCall
=== RUN TestCompRoot_CompTypeToFuncCall/Invalid_Component_Type_returns_error
=== RUN TestCompRoot_CompTypeToFuncCall/Valid_CompTypeIC_path
--- PASS: TestCompRoot_CompTypeToFuncCall (0.00s)
--- PASS: TestCompRoot_CompTypeToFuncCall/Invalid_Component_Type_returns_error (0.00s)
--- PASS: TestCompRoot_CompTypeToFuncCall/Valid_CompTypeIC_path (0.00s)
=== RUN TestCompRoot_CreateCompAndFuncCall_Success
=== RUN TestCompRoot_CreateCompAndFuncCall_Success/Successful_component_creation_and_execution_for_default_type
--- PASS: TestCompRoot_CreateCompAndFuncCall_Success (0.00s)
--- PASS: TestCompRoot_CreateCompAndFuncCall_Success/Successful_component_creation_and_execution_for_default_type (0.00s)
=== RUN TestCompRoot_CreateCompAndFuncCall_Branches
=== RUN TestCompRoot_CreateCompAndFuncCall_Branches/Branch:Loop_continues_on_mismatching_type
=== RUN TestCompRoot_CreateCompAndFuncCall_Branches/Branch:Component_creation(pfComp==_nil)
=== RUN TestCompRoot_CreateCompAndFuncCall_Branches/Branch:_Error_logging_when_table_fetch_fails
--- PASS: TestCompRoot_CreateCompAndFuncCall_Branches (0.00s)
--- PASS: TestCompRoot_CreateCompAndFuncCall_Branches/Branch:Loop_continues_on_mismatching_type (0.00s)
--- PASS: TestCompRoot_CreateCompAndFuncCall_Branches/Branch:Component_creation(pfComp==_nil) (0.00s)
--- PASS: TestCompRoot_CreateCompAndFuncCall_Branches/Branch:_Error_logging_when_table_fetch_fails (0.00s)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr_TranslateExists
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr_TranslateExists (0.00s)
=== RUN TestCompRoot_Subscribe_pfm_components_xfmr_TranslateSubscribe
--- PASS: TestCompRoot_Subscribe_pfm_components_xfmr_TranslateSubscribe (0.00s)
=== RUN TestCompRoot_TranslateExistsInvalidKey
--- PASS: TestCompRoot_TranslateExistsInvalidKey (0.00s)
=== RUN TestCompRoot_TranslateExistsValidKey
--- PASS: TestCompRoot_TranslateExistsValidKey (0.00s)
=== RUN TestCompRoot_TranslateSubscribeValidKey
--- PASS: TestCompRoot_TranslateSubscribeValidKey (0.00s)
=== RUN TestCompRoot_PathType_String
--- PASS: TestCompRoot_PathType_String (0.00s)
=== RUN TestCompRoot_CompTypesForSubscriptionUri
--- PASS: TestCompRoot_CompTypesForSubscriptionUri (0.00s)
=== RUN TestCompRoot_GetICInfoFromDb
--- PASS: TestCompRoot_GetICInfoFromDb (0.00s)
=== RUN TestCompRoot_GetICInfoFromDbSuccessPath
--- PASS: TestCompRoot_GetICInfoFromDbSuccessPath (0.00s)
PASS