Skip to content

[YangModel][asic_sensors] Add ASIC_SENSORS yang models#21218

Merged
wangxin merged 1 commit intosonic-net:masterfrom
mlok-nokia:asic_sensors_yang_models
Dec 19, 2024
Merged

[YangModel][asic_sensors] Add ASIC_SENSORS yang models#21218
wangxin merged 1 commit intosonic-net:masterfrom
mlok-nokia:asic_sensors_yang_models

Conversation

@mlok-nokia
Copy link
Contributor

@mlok-nokia mlok-nokia commented Dec 18, 2024

Why I did it

Add Yang Models support for ASIC_SENSORS configuration. Fixes #20633

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add Yang Models support for the following ASIC_SENSORs configuration

{
   "ASIC_SENSORS": {
        "ASIC_SENSORS_POLLER_INTERVAL": {
            "interval": "10"
        },
        "ASIC_SENSORS_POLLER_STATUS": {
            "admin_status": "enable"
        }
    }
}

How to verify it

  1. Image Build should be passed.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202405

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xwjiang-ms
Copy link
Contributor

/azpw ms_conflict

@wangxin wangxin merged commit cb2286e into sonic-net:master Dec 19, 2024
@mlok-nokia
Copy link
Contributor Author

@judyjoseph and @arlakshm This PR needs cherrypick to 202405 branch. Thanks

@judyjoseph
Copy link
Contributor

Related to : #20826

@bingwang-ms
Copy link
Contributor

@mlok-nokia Can you raise a PR to 202405 to address conflict?

mlok-nokia added a commit to mlok-nokia/sonic-buildimage that referenced this pull request Dec 31, 2024
Why I did it
Add Yang Models support for ASIC_SENSORS configuration.

Work item tracking
Microsoft ADO (number only):
How I did it
Add Yang Models support for the following ASIC_SENSORs configuration

{
   "ASIC_SENSORS": {
        "ASIC_SENSORS_POLLER_INTERVAL": {
            "interval": "10"
        },
        "ASIC_SENSORS_POLLER_STATUS": {
            "admin_status": "enable"
        }
    }
}
How to verify it
Image Build should be passed.

Signed-off-by: mlok <[email protected]>
(cherry picked from commit cb2286e)
@mlok-nokia
Copy link
Contributor Author

@mlok-nokia Can you raise a PR to 202405 to address conflict?
@bingwang-ms Here is the cherry-pick PR. Please review and merge it: PR #21308

@arlakshm
Copy link
Contributor

arlakshm commented Jan 1, 2025

@mlok-nokia Can you raise a PR to 202405 to address conflict?
@bingwang-ms Here is the cherry-pick PR. Please review and merge it: PR #21308

Thanks @mlok-nokia, can you please also create a PR for 202411 as well

mlok-nokia added a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jan 3, 2025
Why I did it
Add Yang Models support for ASIC_SENSORS configuration.

Work item tracking
Microsoft ADO (number only):
How I did it
Add Yang Models support for the following ASIC_SENSORs configuration

{
   "ASIC_SENSORS": {
        "ASIC_SENSORS_POLLER_INTERVAL": {
            "interval": "10"
        },
        "ASIC_SENSORS_POLLER_STATUS": {
            "admin_status": "enable"
        }
    }
}
How to verify it
Image Build should be passed.

Signed-off-by: mlok <[email protected]>
(cherry picked from commit cb2286e)
rlhui pushed a commit that referenced this pull request Jan 3, 2025
Add Yang Models support for the following ASIC_SENSORs configuration

{
   "ASIC_SENSORS": {
        "ASIC_SENSORS_POLLER_INTERVAL": {
            "interval": "10"
        },
        "ASIC_SENSORS_POLLER_STATUS": {
            "admin_status": "enable"
        }
    }
}
How to verify it
Image Build should be passed.

Signed-off-by: mlok <[email protected]>
(cherry picked from commit cb2286e)
@wen587
Copy link
Contributor

wen587 commented Jan 14, 2025

Hi @mlok-nokia , could you help backport to 202411?

VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
Why I did it
Add Yang Models support for ASIC_SENSORS configuration.

Work item tracking
Microsoft ADO (number only):
How I did it
Add Yang Models support for the following ASIC_SENSORs configuration

{
   "ASIC_SENSORS": {
        "ASIC_SENSORS_POLLER_INTERVAL": {
            "interval": "10"
        },
        "ASIC_SENSORS_POLLER_STATUS": {
            "admin_status": "enable"
        }
    }
}
How to verify it
Image Build should be passed.

Signed-off-by: mlok <[email protected]>
@wen587
Copy link
Contributor

wen587 commented Jan 22, 2025

Hi @mlok-nokia , reask for 202411 branch. Could you help create 202411 PR

@wen587
Copy link
Contributor

wen587 commented Jan 23, 2025

Hi @mlok-nokia can you please also create a PR for 202411 as well. This must be backport to 202411 since we enforce strict yang validaion starting 202411

@wen587
Copy link
Contributor

wen587 commented Jan 24, 2025

Hi @mlok-nokia can you please also create a PR for 202411 as well. This must be backport to 202411 since we enforce strict yang validaion starting 202411

Hi @mlok-nokia , reask on this

@wen587
Copy link
Contributor

wen587 commented Jan 27, 2025

Hi @mlok-nokia , could you help create pr for 202411?

@mlok-nokia
Copy link
Contributor Author

Hi @mlok-nokia , could you help create pr for 202411?
PR #21579 has been created to cherry-pick to branch 202411

mlok-nokia added a commit to mlok-nokia/sonic-buildimage that referenced this pull request Feb 4, 2025
Why I did it
Add Yang Models support for ASIC_SENSORS configuration.

Work item tracking
Microsoft ADO (number only):
How I did it
Add Yang Models support for the following ASIC_SENSORs configuration

{
   "ASIC_SENSORS": {
        "ASIC_SENSORS_POLLER_INTERVAL": {
            "interval": "10"
        },
        "ASIC_SENSORS_POLLER_STATUS": {
            "admin_status": "enable"
        }
    }
}
How to verify it
Image Build should be passed.

Signed-off-by: mlok <[email protected]>
(cherry picked from commit cb2286e)
kperumalbfn pushed a commit that referenced this pull request Feb 11, 2025
[YangModel][asic_sensors] Add ASIC_SENSORS yang models
@mlok-nokia mlok-nokia deleted the asic_sensors_yang_models branch March 25, 2026 20:13
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.

Need YANG model for ASIC_SENSORS

9 participants