fix: Added support for listing IB interfaces#218
Conversation
1e35723 to
4c5c0ef
Compare
🔐 TruffleHog Secret Scan✅ No secrets or credentials found! Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉 🕐 Last updated: 2026-03-09 23:22:05 UTC | Commit: aa8260b |
🛡️ Vulnerability Scan🚨 Found 64 vulnerability(ies) Severity Breakdown:
📋 Top Vulnerabilities
🔗 View full details in Security tab 🕐 Last updated: 2026-03-09 20:44:54 UTC | Commit: 4c5c0ef |
09931ff to
aa8260b
Compare
0e2d51a to
078680f
Compare
89b2703 to
f9e6de9
Compare
eecbb30 to
848940c
Compare
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
Signed-off-by: Hitesh Wadekar <hwadekar@nvidia.com>
848940c to
22f5364
Compare
| - schema: | ||
| type: string | ||
| enum: | ||
| - NAME_ASC |
There was a problem hiding this comment.
InfiniBand Interfaces don't have name attribute, these 2 need to be removed.
|
|
||
| c.Request().URL.RawQuery = q.Encode() | ||
|
|
||
| delegate := NewGetAllNVLinkInterfaceHandler(ganvliih.dbSession, ganvliih.tc, ganvliih.cfg) |
There was a problem hiding this comment.
When we do this delegation and the Instance ID is non-existent or doesn't belong to Tenant, user will receive messages like Invalid Instance ID in query and be confused as to why we are saying they sent something in query.
Previously I suggested that NewGetAllNVLinkInterfaceHandler can have an explicit argument queryOverride instead of modifying the request object. Based on values int he query override, we can change message tone and skip some checks etc.
| TenantIDs: []uuid.UUID{tenant.ID}, | ||
| SiteIDs: siteIDs, | ||
| }, | ||
| cdbp.PageInput{}, |
Description
Added support for listing InfiniBand (IB) interfaces with filtering capabilities.
Type of Change
Services Affected
Related Issues (Optional)
Breaking Changes
Testing
Additional Notes