Skip to content

Conversation

@kanchanavelusamy
Copy link
Contributor

@kanchanavelusamy kanchanavelusamy commented Sep 23, 2025

This commit adds the necessary transformer code to read authorization policy counters and related state from the Redis databases.

Dependency Chain for Merge

Please follow this merge order,

  1. Base Dependency: sonic-mgmt-common #183 (Must be merged first)
  2. Current PR: sonic-mgmt-common #184
  3. Frontend: sonic-gnmi #508

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kanchanavelusamy kanchanavelusamy marked this pull request as draft September 23, 2025 20:47
@kanchanavelusamy kanchanavelusamy changed the title Implement translib backend logic for the gNSI Authz feature Implement translib backend logic for the gNSI Authz Sep 23, 2025
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kanchanavelusamy
Copy link
Contributor Author

kanchanavelusamy commented Sep 23, 2025

@ndas7, @rlucus: Could you please review the PR and share your feedback?

cc: @kishanps

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kanchanavelusamy
Copy link
Contributor Author

@ rlucus: Your comment has been addressed. Could you please review the updated PR?

cc: @ndas7, @kishanps

This PR introduces the new YANG models for gNSI Authz, Certz, Pathz and
Credentialz. And, updates the list to include the new models.
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

This commit adds the necessary transformer code to read authorization policy
counters and related state from the Redis databases.
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not clear on why redis client manager is being included in this PR? The RCM is a completely seperate feature not covered under the design document that was approved for gnsi. (removing it should also exclude the change in db_redis_opts.go)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding @rkavitha-hcl

mssonicbld added a commit to mssonicbld/sonic-mgmt-common that referenced this pull request Dec 4, 2025
This PR introduces the new YANG models for gNSI Authz, Certz, Pathz and Credentialz. And, updates the list to include the new models.

**Dependency Chain for Merge**

Please follow this merge order,
1. Current PR: sonic-mgmt-common #[183 ](sonic-net#183 be merged first)
2. Incremental PR: sonic-mgmt-common #[184](sonic-net#184)
3. Frontend: sonic-gnmi #[508](sonic-net/sonic-gnmi#508)
mssonicbld added a commit that referenced this pull request Dec 4, 2025
This PR introduces the new YANG models for gNSI Authz, Certz, Pathz and Credentialz. And, updates the list to include the new models.

**Dependency Chain for Merge**

Please follow this merge order,
1. Current PR: sonic-mgmt-common #[183 ](#183 be merged first)
2. Incremental PR: sonic-mgmt-common #[184](#184)
3. Frontend: sonic-gnmi #[508](sonic-net/sonic-gnmi#508)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants