MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / sample_plan

Function sample_plan

crates/openshell-driver-vm/src/lifecycle.rs:924–943  ·  view source on GitHub ↗
(backend: VmBackend)

Source from the content-addressed store, hash-verified

922 }
923
924 fn sample_plan(backend: VmBackend) -> LaunchPlan {
925 LaunchPlan {
926 backend,
927 vcpus: 2,
928 mem_mib: 2048,
929 required_backends: Vec::new(),
930 required_backend_features: Vec::new(),
931 kernel_profile: None,
932 kernel_image: None,
933 gpu_bdf: None,
934 tap_device: None,
935 guest_ip: None,
936 host_ip: None,
937 vsock_cid: None,
938 guest_mac: None,
939 gateway_port: None,
940 guest_init_dropins: Vec::new(),
941 env: Vec::new(),
942 }
943 }
944
945 fn sample_sandbox() -> Sandbox {
946 Sandbox {

Calls

no outgoing calls

Tested by

no test coverage detected