Skip to content

test(aws): reject reachable prohibited storage routes#554

Draft
cdeyoung-mir wants to merge 1 commit into
NVIDIA:mainfrom
cdeyoung-mir:ncp-12-sdn08-negative-path-test
Draft

test(aws): reject reachable prohibited storage routes#554
cdeyoung-mir wants to merge 1 commit into
NVIDIA:mainfrom
cdeyoung-mir:ncp-12-sdn08-negative-path-test

Conversation

@cdeyoung-mir

Copy link
Copy Markdown

Summary

Add detector-level negative coverage for the AWS storage L3 routing check used by the NCP SDN08 validation contract.

The fixture keeps every storage-host pair reachable while installing a more-specific transit-gateway route for one cross-subnet direction. The test verifies that reachability alone does not satisfy the direct-path requirement: no_gateway_hop fails, only the truly local pairs count as direct, and the overall result is unsuccessful.

Validation

  • Targeted pytest: 2 passed (existing accepted subnet-router case plus new prohibited transit-gateway case)
  • Full uvx pre-commit run -a: passed

Related work

  • Mirantis-PS/ncp-compliance-pack#8
  • NCP-12 / SDN08 T-SDN08-01N

Signed-off-by: Chris DeYoung <cdeyoung@mirantis.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

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: f2a760b1-6031-477a-83be-673bf0d6cc42

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.

@abegnoche

Copy link
Copy Markdown
Member

/ok to test 88d4ab4

@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-07-23 18:32:14 UTC | Commit: 88d4ab4

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