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

Function has_complete_qemu_network

crates/openshell-driver-vm/src/driver.rs:4054–4060  ·  view source on GitHub ↗
(plan: &LaunchPlan)

Source from the content-addressed store, hash-verified

4052}
4053
4054fn has_complete_qemu_network(plan: &LaunchPlan) -> bool {
4055 plan.tap_device.is_some()
4056 && plan.guest_ip.is_some()
4057 && plan.host_ip.is_some()
4058 && plan.vsock_cid.is_some()
4059 && plan.guest_mac.is_some()
4060}
4061
4062fn guest_visible_openshell_endpoint_for_tap(endpoint: &str, host_ip: &str) -> String {
4063 let Ok(mut url) = Url::parse(endpoint) else {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected