Skip to content

OSAC-1449: Add fabric_manager and k8s_manager fields to NetworkClass proto#699

Merged
openshift-merge-bot[bot] merged 2 commits into
osac-project:mainfrom
danmanor:OSAC-1449-network-class-managers
Jun 15, 2026
Merged

OSAC-1449: Add fabric_manager and k8s_manager fields to NetworkClass proto#699
openshift-merge-bot[bot] merged 2 commits into
osac-project:mainfrom
danmanor:OSAC-1449-network-class-managers

Conversation

@danmanor

@danmanor danmanor commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

OSAC-1449: Add fabric_manager and k8s_manager fields to NetworkClass proto

Jira: https://redhat.atlassian.net/browse/OSAC-1449
Epic: OSAC-1438 — NetworkClass Two-Manager Model

Summary

Adds fabric_manager (string) and k8s_manager (optional string) fields to the NetworkClass
message in both public and private API proto definitions. These fields identify which managers
handle physical fabric operations and K8s-to-fabric bridging for each network class, as described
in the unified-networking enhancement proposal.

Changes

  • proto/private/osac/private/v1/network_class_type.proto — added fabric_manager (field 10) and k8s_manager (field 11) to private NetworkClass message
  • proto/public/osac/public/v1/network_class_type.proto — added matching fields to public NetworkClass message
  • internal/api/ — regenerated Go code via buf generate

Testing

  • Unit tests: no new tests — this is an additive proto schema change with no business logic. All 910 existing tests in internal/servers pass.
  • Integration tests: N/A
  • Validation: buf lint, uv run dev.py lint, ginkgo run -r internal all pass

Acceptance Criteria

  • Add fabric_manager (string) field to NetworkClass proto in both public and private APIs
  • Add k8s_manager (optional string) field to NetworkClass proto in both public and private APIs
  • Keep all existing fields unchanged
  • Generated Go code compiles successfully after buf generate
  • buf lint passes

…proto

Add fabric_manager (string) and k8s_manager (optional string) to the
NetworkClass message in both public and private API definitions. These
fields identify which managers handle physical fabric operations and
K8s-to-fabric bridging for each network class.

Assisted-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Dan Manor <dmanor@redhat.com>
@openshift-ci-robot

openshift-ci-robot commented Jun 15, 2026

Copy link
Copy Markdown

@danmanor: This pull request references OSAC-1449 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

OSAC-1449: Add fabric_manager and k8s_manager fields to NetworkClass proto

Jira: https://redhat.atlassian.net/browse/OS[AC-1](https://redhat.atlassian.net/browse/AC-1)449
Epic: OSAC-1438 — NetworkClass Two-Manager Model

Summary

Adds fabric_manager (string) and k8s_manager (optional string) fields to the NetworkClass
message in both public and private API proto definitions. These fields identify which managers
handle physical fabric operations and K8s-to-fabric bridging for each network class, as described
in the unified-networking enhancement proposal.

Changes

  • proto/private/osac/private/v1/network_class_type.proto — added fabric_manager (field 10) and k8s_manager (field 11) to private NetworkClass message
  • proto/public/osac/public/v1/network_class_type.proto — added matching fields to public NetworkClass message
  • internal/api/ — regenerated Go code via buf generate

Testing

  • Unit tests: no new tests — this is an additive proto schema change with no business logic. All 910 existing tests in internal/servers pass.
  • Integration tests: N/A
  • Validation: buf lint, uv run dev.py lint, ginkgo run -r internal all pass

Acceptance Criteria

  • AC-1: Add fabric_manager (string) field to NetworkClass proto in both public and private APIs
  • AC-2: Add k8s_manager (optional string) field to NetworkClass proto in both public and private APIs
  • AC-3: Keep all existing fields unchanged
  • AC-4: Generated Go code compiles successfully after buf generate
  • AC-5: buf lint passes

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@danmanor, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 46 minutes and 44 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: osac-project/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: dff54ecd-fbf6-4ab7-a373-043324e55227

📥 Commits

Reviewing files that changed from the base of the PR and between 79daf20 and d89c81a.

⛔ Files ignored due to path filters (2)
  • internal/api/osac/private/v1/network_class_type.pb.go is excluded by !**/*.pb.go
  • internal/api/osac/private/v1/network_class_type_protoopaque.pb.go is excluded by !**/*.pb.go
📒 Files selected for processing (1)
  • proto/private/osac/private/v1/network_class_type.proto
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

// Identifier of the K8s manager that bridges the Kubernetes overlay to the physical fabric. Only needed for regions
// that host VMs — the K8s manager creates the overlay network on hosting clusters and bridges it to the fabric
// segment. For example: "cudn_localnet". If not set, the region does not support VM workloads.
optional string k8s_manager = 11;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the user of the API going to do with these fields? I think they don't belong in the public API. Consider having them only in the private API.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You are right. Thank you @jhernand !

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed

…lass API

These are implementation details for admins, not tenant-facing fields.
Keep them only in the private API.

Assisted-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Dan Manor <dmanor@redhat.com>
@danmanor danmanor requested a review from jhernand June 15, 2026 13:23
@openshift-ci

openshift-ci Bot commented Jun 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danmanor, jhernand

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit df25fb5 into osac-project:main Jun 15, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants