ginmi 0.1.0

An asynchrounous gNMI client to interact with and manage network devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .build_server(false)
        .compile_well_known_types(true)
        .compile(
            &["proto/gnmi/gnmi.proto",
                "proto/gnmi_ext/gnmi_ext.proto",
                "proto/target/target.proto",
                "proto/collector/collector.proto",
                "proto/google.proto"
            ],
            &["proto"]
        )?;
    Ok(())
}