-
Notifications
You must be signed in to change notification settings - Fork 672
Add accounting-method and authorization-method leaf-lists inside the /system/aaa/accounting/events/event and /system/aaa/authorization/events/event lists, respectively. #1332
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
base: master
Are you sure you want to change the base?
Conversation
Hi @LeonGWang , thanks for this PR. Please refactor to make this a non-breaking change. One way you could do this is by introducing only new containers/leaves. (ie: instead of move, simply add the |
/gcbrun |
No major YANG version changes in commit 69846c3 |
Thanks for the quick review @dplore. I've added back the original leaf-lists but marked them as deprecated. This is now a non-breaking changes. I have also changed the title, the description, and the pyang output. |
/gcbrun |
inside the accounting/events/event and authorization/events/event lists, respectively.
…af-lists but marked them as deprecated.
… openconfig-aaa-tacacs.yang
4cc96fb
to
69846c3
Compare
Updated the submodules |
Should we not be referencing at least a few other references to implementations with this granularity in this PR? Although this is not currently a non-backwards-compatible change, by marking the current approach deprecated we are signalling the intent to remove it later (and break current implementations). |
inside accounting/events/event and authorization/events/event | ||
lists, respectively."; | ||
reference "1.1.0"; | ||
} |
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.
No actual change in this file (maybe vestigal from earlier drafts?). Same with the tacacs file.
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.
This is actually only added in the latest draft to satisfy a linter check which states submodules openconfig-aaa-radius.yang
and openconfig-aaa-tacacs.yang
don't share the same version as the main openconfig-aaa.yang
module.
Thanks for the feedback @jsterne
As per company (Arista) policy, unfortunately I am unable to provide references outside of Arista. Usually @dplore is kind enough to provide additional references should that be required.
This is intended. The newly added |
/gcbrun |
1 similar comment
/gcbrun |
(M) system/openconfig-aaa.yang
Change Scope
AAA
accounting-method
andauthorization-method
should be able to be configured perevent-type
.For example
event-type=AAA_ACCOUNTING_EVENT_COMMAND
can have a differentaccounting-method
configured vs.event-type=AAA_ACCOUNTING_EVENT_LOGIN
.This change is an addition of AAA capabilities for
accounting-method
andauthorization-method
and is a non-breaking (backwards-compatible) change.Platform Implementations
Arista AAA configuration:
accounting and authorization can have different accounting-methods and authorization-methods configured (e.g.
group tacacs+
,group radius
,local
,logging
) per event type (e.g.commands
,exec
, etc.)Arista documentation for authorization
Arista documentation for accounting
Pyang output for the new model: