Skip to content

Commit

Permalink
Adding i6pn to sandboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumFractal committed Sep 5, 2024
1 parent 7fcb063 commit ef9a090
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions modal/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ async def _load(self: _Sandbox, resolver: Resolver, _existing_object_id: Optiona
pty_info=pty_info,
scheduler_placement=scheduler_placement.proto if scheduler_placement else None,
worker_id=config.get("worker_id"),
i6pn_enabled=config.get("i6pn_enabled"),
)

# Note - `resolver.app_id` will be `None` for app-less sandboxes
Expand Down
2 changes: 2 additions & 0 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1777,6 +1777,8 @@ message Sandbox {
oneof open_ports_oneof {
PortSpecs open_ports = 20;
}

bool i6pn_enabled = 21;
}

message SandboxCreateRequest {
Expand Down

0 comments on commit ef9a090

Please sign in to comment.