Skip to content

feat: Changes to svpc/dpa to allow Spectrum X partitioning and allow …#1791

Merged
chet merged 20 commits into
NVIDIA:mainfrom
srinivasadmurthy:sdmworkv3
May 30, 2026
Merged

feat: Changes to svpc/dpa to allow Spectrum X partitioning and allow …#1791
chet merged 20 commits into
NVIDIA:mainfrom
srinivasadmurthy:sdmworkv3

Conversation

@srinivasadmurthy
Copy link
Copy Markdown
Contributor

…flexible tenant configuration

Description

Enable SPX partitions, and tenant configuration allows flexible
assignment of SPX partitions to instance interfaces.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

Tested these changes in my dev env setup using mock dpa. These changes are for the SVPC offering. Astra changes will follow.

…flexible tenant configuration

Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
@srinivasadmurthy srinivasadmurthy requested review from a team as code owners May 19, 2026 00:22
Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
…flexible tenant configuration

Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
…flexible tenant configuration

Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
Comment thread crates/admin-cli/src/instance/update_spx_config/cmd.rs
Comment thread crates/rpc/proto/forge.proto
Comment thread crates/api-db/src/spx_partition.rs Outdated
Comment thread crates/api-model/src/dpa_interface/mod.rs Outdated
Comment thread crates/api/src/dpa_monitor/mod.rs
Comment thread crates/api/src/handlers/spx_partition.rs
Comment thread crates/api-model/src/dpa_interface/mod.rs
Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
@github-actions
Copy link
Copy Markdown

🔐 TruffleHog Secret Scan

No secrets or credentials found!

Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉

🔗 View scan details

🕐 Last updated: 2026-05-26 22:35:31 UTC | Commit: dd6387f

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

🔍 Container Scan Summary

Service Total Critical High Medium Low Other
nico-flow 66 4 34 18 2 8
nico-nsm 82 2 28 43 9 0
nico-psm 67 4 35 18 2 8
nico-rest-api 100 6 53 30 3 8
nico-rest-cert-manager 65 4 34 18 1 8
nico-rest-db 66 4 34 18 2 8
nico-rest-site-agent 65 4 34 18 1 8
nico-rest-site-manager 65 4 34 18 1 8
nico-rest-workflow 67 4 35 18 2 8
TOTAL 643 36 321 199 23 64

Per-CVE detail lives in the per-service grype-* artifacts (JSON + SARIF). Severity counts only — no CVE IDs published here.

…flexible tenant configuration

Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
@srinivasadmurthy srinivasadmurthy requested a review from kensimon May 28, 2026 03:22
@@ -1,17 +1,17 @@
# NVIDIA Infra Controller (NICo) Core Metrics
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.

Changes in this file are a regression (switches back to old terms that are no longer valid) and should be removed from the PR.

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.

This file is autogenerated when you run tests. So name should be fixed here:

let mut docs = "# NCX Infra Controller (NICo) core metrics\n\n".to_string();

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.

I did not change that file. That line (line 221 in crates/api-integration-tests/tests/lib.rs) is the same in my branch as what is in the main branch.

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.

Reverted my changes to core_metrics.md

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.

Here is the fix for metrics names generation: #2017

Comment thread crates/dpa-interface-controller/src/lib.rs
@srinivasadmurthy srinivasadmurthy requested a review from Coco-Ben May 28, 2026 23:43
Comment thread crates/api-db/migrations/20260413193743_spx_partitions.sql
Comment thread crates/api-db/src/lib.rs
pub mod route_server;
pub mod site_explorer;
pub mod sku;
pub mod spx_partition;
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.

Do we need this - seems to be the only change in the file.

Comment thread crates/api/src/handlers/health.rs
Comment thread crates/api/src/handlers/mod.rs
Comment thread crates/api/src/lib.rs
mod db_init;
mod dhcp;
mod dpa;
mod dpa_monitor;
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.

needed?

Comment thread crates/uuid/src/lib.rs
Comment thread deploy/nico-base/api/config-files/nico-api-config.toml
Comment thread helm/charts/nico-api/files/carbide-api-config.toml
Comment thread crates/rpc/src/model/mod.rs
…flexible tenant configuration

Signed-off-by: Srinivasa Murthy <srmurthy@nvidia.com>
@chet chet enabled auto-merge (squash) May 30, 2026 07:12
@chet chet merged commit a02fa34 into NVIDIA:main May 30, 2026
88 checks passed
@srinivasadmurthy srinivasadmurthy deleted the sdmworkv3 branch May 31, 2026 02:10
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.

8 participants