class async_interface

Defined at line 180 of file gen/src/virtualization/third_party/vm_tools/vm_guest.grpc.pb.h

Public Methods

void ConfigureNetwork (::grpc::ClientContext * context, const ::vm_tools::NetworkConfigRequest * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Set up networking inside the VM so that it can access the internet.

void ConfigureNetwork (::grpc::ClientContext * context, const ::vm_tools::NetworkConfigRequest * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void ConfigureContainerGuest (::grpc::ClientContext * context, const ::vm_tools::ConfigureContainerGuestRequest * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Set up a container guest in the VM, so that it can interface with cicerone.

void ConfigureContainerGuest (::grpc::ClientContext * context, const ::vm_tools::ConfigureContainerGuestRequest * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void ResetIPv6 (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

DEPRECATED. Use OnHostNetworkChanged instead.

Reset IPv6 in VM and restart SLAAC process to acquire a new configuration.

void ResetIPv6 (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void OnHostNetworkChanged (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Informs the guest that the host network has changed. The guest should

perform any actions necessary, such as resetting potentially stale sockets,

flushing DNS caches, and renegotiating SLAAC addresses for IPv6.

void OnHostNetworkChanged (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void Shutdown (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Initiate a shut-down of the VM.

void Shutdown (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void LaunchProcess (::grpc::ClientContext * context, const ::vm_tools::LaunchProcessRequest * request, ::vm_tools::LaunchProcessResponse * response, std::function<void (::grpc::Status)> )

Launch one process inside the VM.

void LaunchProcess (::grpc::ClientContext * context, const ::vm_tools::LaunchProcessRequest * request, ::vm_tools::LaunchProcessResponse * response, ::grpc::ClientUnaryReactor * reactor)
void Mount (::grpc::ClientContext * context, const ::vm_tools::MountRequest * request, ::vm_tools::MountResponse * response, std::function<void (::grpc::Status)> )

Mount a filesystem in the VM.

void Mount (::grpc::ClientContext * context, const ::vm_tools::MountRequest * request, ::vm_tools::MountResponse * response, ::grpc::ClientUnaryReactor * reactor)
void StartTermina (::grpc::ClientContext * context, const ::vm_tools::StartTerminaRequest * request, ::vm_tools::StartTerminaResponse * response, std::function<void (::grpc::Status)> )

Start Termina-specific system services.

void StartTermina (::grpc::ClientContext * context, const ::vm_tools::StartTerminaRequest * request, ::vm_tools::StartTerminaResponse * response, ::grpc::ClientUnaryReactor * reactor)
void SetTime (::grpc::ClientContext * context, const ::vm_tools::SetTimeRequest * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Set the VM time to a specified value.

If the new time is invalid (roughly 0), ignore it.

This RPC is to address cases where the guest loses time for some reason

(e.g. due to the host being suspended for a while).

void SetTime (::grpc::ClientContext * context, const ::vm_tools::SetTimeRequest * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void Mount9P (::grpc::ClientContext * context, const ::vm_tools::Mount9PRequest * request, ::vm_tools::MountResponse * response, std::function<void (::grpc::Status)> )

Mount a 9P server using a vsock socket. This uses the trans=fd option

when mounting the 9P server, which requires first connecting a socket

to the server. Other transports should use the normal Mount rpc instead.

void Mount9P (::grpc::ClientContext * context, const ::vm_tools::Mount9PRequest * request, ::vm_tools::MountResponse * response, ::grpc::ClientUnaryReactor * reactor)
void SetResolvConfig (::grpc::ClientContext * context, const ::vm_tools::SetResolvConfigRequest * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Sets the resolv config (nameservers, search domains, and local domain).

void SetResolvConfig (::grpc::ClientContext * context, const ::vm_tools::SetResolvConfigRequest * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void GetKernelVersion (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetKernelVersionResponse * response, std::function<void (::grpc::Status)> )

Returns the kernel release and version for enterprise reporting.

void GetKernelVersion (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetKernelVersionResponse * response, ::grpc::ClientUnaryReactor * reactor)
void ResizeFilesystem (::grpc::ClientContext * context, const ::vm_tools::ResizeFilesystemRequest * request, ::vm_tools::ResizeFilesystemResponse * response, std::function<void (::grpc::Status)> )

Resizes the stateful filesystem.

void ResizeFilesystem (::grpc::ClientContext * context, const ::vm_tools::ResizeFilesystemRequest * request, ::vm_tools::ResizeFilesystemResponse * response, ::grpc::ClientUnaryReactor * reactor)
void GetResizeStatus (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetResizeStatusResponse * response, std::function<void (::grpc::Status)> )

Queries the status of the most recent ResizeFilesystem request.

void GetResizeStatus (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetResizeStatusResponse * response, ::grpc::ClientUnaryReactor * reactor)
void GetResizeBounds (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetResizeBoundsResponse * response, std::function<void (::grpc::Status)> )

Gets information about the valid range of parameters to ResizeFilesystem.

void GetResizeBounds (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetResizeBoundsResponse * response, ::grpc::ClientUnaryReactor * reactor)
void PrepareToSuspend (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, std::function<void (::grpc::Status)> )

Prepares to suspend the VM.

void PrepareToSuspend (::grpc::ClientContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response, ::grpc::ClientUnaryReactor * reactor)
void ~async_interface ()

Defined at line 182 of file gen/src/virtualization/third_party/vm_tools/vm_guest.grpc.pb.h