-
Notifications
You must be signed in to change notification settings - Fork 97
Implements the frontend logic for gNSI Authz #549
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
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
60e080d to
4f4134d
Compare
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
4f4134d to
003e85c
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
003e85c to
5c1c836
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 549 in repo sonic-net/sonic-gnmi |
5c1c836 to
12cdb63
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
12cdb63 to
53c2782
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@sreeiyer-1, Please review and approve. |
The changes look good |
ndas7
left a comment
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.
Could you please add more details in the description? Thanks.
Description is updated. |
53c2782 to
bfeda74
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Could you please add a link to the HLD in the description? |
rlucus
left a comment
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.
Approved pending the previous comment about include statements.
Signed-off-by: kanchanavelusamy <velusamyk@google.com>
bfeda74 to
dc0d4dc
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This commit enables support for policy-based authorization of gRPC requests in gNMI server and handles the Authz Rotate() RPC for secure policy updates.
HLD Reference : gNSI HLD
Dependency Chain for Merge
Please follow this merge order,
Backend Base PR: sonic-mgmt-common #sonic-net/sonic-mgmt-common#183 (Must be merged first)
Backend Incremental PR: sonic-mgmt-common #sonic-net/sonic-mgmt-common#200
Current PR: sonic-gnmi ##549
gNSI Authz - UT Results
=== RUN TestGnsiAuthzRotation
=== RUN TestGnsiAuthzRotation/RotateOpenClose
=== RUN TestGnsiAuthzRotation/RotatePolicyEmptyRequest
=== RUN TestGnsiAuthzRotation/RotatePolicyEmptyUploadRequest
=== RUN TestGnsiAuthzRotation/RotatePolicyWrongJSON
=== RUN TestGnsiAuthzRotation/RotatePolicyNoVersion
=== RUN TestGnsiAuthzRotation/RotatePolicySuccess
=== RUN TestGnsiAuthzRotation/RotatePolicyNoFinalize
=== RUN TestGnsiAuthzRotation/RotateTheSamePolicyTwice
=== RUN TestGnsiAuthzRotation/RotateTheSamePolicyTwiceWithForceOverwrite
=== RUN TestGnsiAuthzRotation/ParallelRotationCalls
--- PASS: TestGnsiAuthzRotation (4.55s)
--- PASS: TestGnsiAuthzRotation/RotateOpenClose (0.04s)
--- PASS: TestGnsiAuthzRotation/RotatePolicyEmptyRequest (0.03s)
--- PASS: TestGnsiAuthzRotation/RotatePolicyEmptyUploadRequest (0.03s)
--- PASS: TestGnsiAuthzRotation/RotatePolicyWrongJSON (0.03s)
--- PASS: TestGnsiAuthzRotation/RotatePolicyNoVersion (0.03s)
--- PASS: TestGnsiAuthzRotation/RotatePolicySuccess (0.03s)
--- PASS: TestGnsiAuthzRotation/RotatePolicyNoFinalize (0.03s)
--- PASS: TestGnsiAuthzRotation/RotateTheSamePolicyTwice (0.05s)
--- PASS: TestGnsiAuthzRotation/RotateTheSamePolicyTwiceWithForceOverwrite (0.05s)
--- PASS: TestGnsiAuthzRotation/ParallelRotationCalls (0.05s)
Why I did it
Why I did it
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)