Skip to content

gRPC and HTTP guest agents deployed into the rootfs used for testing fctools

License

Notifications You must be signed in to change notification settings

rust-firecracker/fctools-guest-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fctools guest agents

This repository contains two guest agent servers that serve over virtio-vsock, the first using plain HTTP/1.1 and the second using gRPC with HTTP/2.

These guest agents are used in the test suite for fctools to ensure the functionality of the HTTP-over-vsock and gRPC-over-vsock extensions.

The HTTP guest agent contains a single POST /ping route that accepts JSON and returns JSON, while the gRPC guest agent contains 4 ping-like methods: unary, client streaming, server streaming and duplex streaming.

Prebuilt binaries of both guest agents are available on the releases page and in the testdata package of fctools. Compiling them from source is easy as well, run cargo build -r in the workspace after ensuring that a stable Rust toolchain is installed alongside protoc and the x86_64-unknown-linux-musl target.

About

gRPC and HTTP guest agents deployed into the rootfs used for testing fctools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages