Skip to content

Allow seeding carbide-api-config with VPCs#2416

Open
kensimon wants to merge 1 commit into
NVIDIA:mainfrom
kensimon:vpc-seed-data
Open

Allow seeding carbide-api-config with VPCs#2416
kensimon wants to merge 1 commit into
NVIDIA:mainfrom
kensimon:vpc-seed-data

Conversation

@kensimon

Copy link
Copy Markdown
Contributor

Description

This makes things a little easier to configure for sites where there's just one flat subnet with DPU-less hosts, by allowing you to configure VPC definitions in the config TOML, and attaching a vpc_name property to network definitions. You can now configure the necessary network topology for a working, flat, zero-dpu network in the config file.

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

This makes things a little easier to configure for sites where there's
just one flat subnet with DPU-less hosts, by allowing you to configure
VPC definitions in the config TOML, and attaching a `vpc_name` property
to network definitions. You can now configure the necessary network topology
for a working, flat, zero-dpu network in the config file.
@kensimon kensimon requested a review from a team as a code owner June 10, 2026 20:22
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 43eeb1d4-ce69-4964-83ab-1fd419c26b6c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

fn source_description(cfg: &CarbideConfig, name: &str) -> String;
}

impl SeedKind for NetworkDefinition {

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.

Thanks for doing this. As I was working on NetworkDefinition I thought, "This should be a trait, if we have to convert one more resource over to initial_objects.toml, I'm going to make a trait for this."

You beat me to it

@ianderson-nvidia

Copy link
Copy Markdown
Contributor

Other than the lint-police complaints, it LGTM

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