Skip to content
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

Vport gNMI support #324

Merged
merged 11 commits into from
Jan 31, 2025
Merged

Vport gNMI support #324

merged 11 commits into from
Jan 31, 2025

Conversation

5abeel
Copy link
Collaborator

@5abeel 5abeel commented Jan 31, 2025

This PR adds virtual-port gNMI support.

This initial CL includes support for three yang leafs

  • /virtual-ports/virtual-port[global-resource-id=<id>]/state/vsi
  • /virtual-ports/virtual-port[global-resource-id=<id>]/state/oper-status
  • /virtual-ports/virtual-port[global-resource-id=<id>]/state/mac-address

The corresponding YANG model is available here: https://github.com/ipdk-io/openconfig-public/blob/master/release/models/virtual-devices/openconfig-virtual-ports.yang

Single yang tree leaf processes for all global-ids in a deviation from Stratum design. A serparate get-with-val handler was added to accomodate this.

Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
…ace to es2k_vport_mgr

Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
@5abeel 5abeel requested a review from vsureshkumarp as a code owner January 31, 2025 17:51
@5abeel 5abeel requested a review from pkaminsk January 31, 2025 17:53
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
@5abeel 5abeel merged commit 6742692 into split-arch Jan 31, 2025
5 checks passed
@5abeel 5abeel deleted the vport-support branch January 31, 2025 19:17
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.

2 participants