Commit 8a6043d
feat(nodes): accept undocumented --enable-infiniband flag on
Surfaces the experimental InfiniBand opt-in (SYS-691) as a hidden flag,
matching the Rust sf-cli's `hide = true` treatment. When set, the CLI
passes `_preview_enable_infiniband: true` through to the node-api
create call. The field is gated server-side by the IB whitelist
(is_infiniband_whitelisted on the resolved cluster), so callers without
access get a 403 — no client-side preflight needed.
`Option.hideHelp()` keeps the flag fully functional but suppresses it
from `sf nodes create --help`, parent help, and generated man pages, so
the surface stays unadvertised while the preview field is in flux
(sfcompute/sfcompute#5694).
Generated with [Indent](https://indent.com)
Co-Authored-By: Indent <noreply@indent.com>sf nodes create
1 parent 6e5bd5e commit 8a6043d
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
138 | 147 | | |
139 | 148 | | |
140 | 149 | | |
| |||
274 | 283 | | |
275 | 284 | | |
276 | 285 | | |
| 286 | + | |
277 | 287 | | |
278 | 288 | | |
279 | 289 | | |
| |||
0 commit comments