-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SONiC YANG model for RADIUS. #12749
SONiC YANG model for RADIUS. #12749
Conversation
|
Would you please update doc/Configuration.md? |
Updated Configuration.md. |
@isabelmsft @praveen-li @qiluo-msft can you please help to review this PR? Thanks. |
/azp run |
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
@shdasari Looks like build is failing, can we make sure to pass the PR checker? |
Sure, let me get it resolved. Checked, and it looks like "make configure" is failing and this does not have anything to do with the YANG changes.
Not sure if this has anything to do with privileges. |
/azp run all |
Commenter does not have sufficient privileges for PR 12749 in repo sonic-net/sonic-buildimage |
@shdasari can you please help to check the build failure? Once the build passed, we can merge. |
I suspect libyang backlink issue. Take this failed test as example:
After adding this YANG model, it loses VLAN_MEMBER ref path. I am afraid GCU feature will be broken if we merge this PR. I think @li-pingmao is working to upgrade libyang to libyang2. But libyang2 is missing many APIs that sonic_yang has been using. So the work is not completed yet. @qiluo-msft for vis. |
Only armhf pipeline detects this error, does it mean libyang behavior is different on armhf platform? |
prefix lag; | ||
} | ||
|
||
import sonic-vlan { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, will upload a new set of diffs with the changes commented out.
@shdasari PR conflicts with 202205 branch |
shdasari will post a new PR for 202205 |
Why I did it
Added SONiC YANG model for RADIUS.
Fixes #12477
How I did it
Added the RADIUS and RADIUS_SERVER tables for global and per RADIUS server configuration. RADIUS statistics reside in COUNTERS_DB and are not part of the configuration. These are not a part of this PR.
How to verify it
Compiled sonic_yang_mgmt-1.0-py3-none-any.whl.
Which release branch to backport (provide reason below if selected)
Description for the changelog
SONiC YANG model for RADIUS.
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)