6 releases

0.0.6 Feb 21, 2024
0.0.5 Feb 21, 2024

#648 in Network programming

Download history 16/week @ 2024-09-21 1/week @ 2024-09-28

86 downloads per month
Used in ovsdb-build

MIT license

93KB
2K SLoC

ovsdb

Gitlab pipeline crates.io docs.rs license issues

A Rust implementation of the OVSDB schema and wire format.

What is OVSDB?

OVSDB is the database protocol behind Open vSwitch and OVN, documented in RFC 7047. If you don't know what either of those technologies are, you're probably in the wrong place.

At the core of OVSDB are the schema and protocol. Together they describe both the structure of data in the database, and the manner in which that data can be manipulated. Both are described in detail in the RFC mentioned above (which you really should read).

Overview

ovsdb provides a Rust interface to an OVSDB server. It utilizes serde for protocol processing and tokio for asynchronous io. Its features include:

  • automated generation of Rust models via ovsdb-build
  • strongly typed interfaces to OVSDB data structures
  • automatic conversion to/from OVSDB protocol types

Project Layout

Contributing

As this crate is heavily WIP, contributions are extremely welcome. Check out the contributing guide to get involved.

License

This project is licensed under the MIT license.

Author

Dependencies

~4–13MB
~154K SLoC