class Service
Defined at line 489 of file gen/src/virtualization/third_party/vm_tools/vm_guest.grpc.pb.h
Public Methods
void Service ()
void ~Service ()
::grpc::Status ConfigureNetwork (::grpc::ServerContext * context, const ::vm_tools::NetworkConfigRequest * request, ::vm_tools::EmptyMessage * response)
Set up networking inside the VM so that it can access the internet.
::grpc::Status ConfigureContainerGuest (::grpc::ServerContext * context, const ::vm_tools::ConfigureContainerGuestRequest * request, ::vm_tools::EmptyMessage * response)
Set up a container guest in the VM, so that it can interface with cicerone.
::grpc::Status ResetIPv6 (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response)
DEPRECATED. Use OnHostNetworkChanged instead.
Reset IPv6 in VM and restart SLAAC process to acquire a new configuration.
::grpc::Status OnHostNetworkChanged (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response)
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.
::grpc::Status Shutdown (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response)
Initiate a shut-down of the VM.
::grpc::Status LaunchProcess (::grpc::ServerContext * context, const ::vm_tools::LaunchProcessRequest * request, ::vm_tools::LaunchProcessResponse * response)
Launch one process inside the VM.
::grpc::Status Mount (::grpc::ServerContext * context, const ::vm_tools::MountRequest * request, ::vm_tools::MountResponse * response)
Mount a filesystem in the VM.
::grpc::Status StartTermina (::grpc::ServerContext * context, const ::vm_tools::StartTerminaRequest * request, ::vm_tools::StartTerminaResponse * response)
Start Termina-specific system services.
::grpc::Status SetTime (::grpc::ServerContext * context, const ::vm_tools::SetTimeRequest * request, ::vm_tools::EmptyMessage * response)
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).
::grpc::Status Mount9P (::grpc::ServerContext * context, const ::vm_tools::Mount9PRequest * request, ::vm_tools::MountResponse * response)
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.
::grpc::Status SetResolvConfig (::grpc::ServerContext * context, const ::vm_tools::SetResolvConfigRequest * request, ::vm_tools::EmptyMessage * response)
Sets the resolv config (nameservers, search domains, and local domain).
::grpc::Status GetKernelVersion (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetKernelVersionResponse * response)
Returns the kernel release and version for enterprise reporting.
::grpc::Status ResizeFilesystem (::grpc::ServerContext * context, const ::vm_tools::ResizeFilesystemRequest * request, ::vm_tools::ResizeFilesystemResponse * response)
Resizes the stateful filesystem.
::grpc::Status GetResizeStatus (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetResizeStatusResponse * response)
Queries the status of the most recent ResizeFilesystem request.
::grpc::Status GetResizeBounds (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::GetResizeBoundsResponse * response)
Gets information about the valid range of parameters to ResizeFilesystem.
::grpc::Status PrepareToSuspend (::grpc::ServerContext * context, const ::vm_tools::EmptyMessage * request, ::vm_tools::EmptyMessage * response)
Prepares to suspend the VM.