Skip to content

hgollapalli/torc_snaproute_client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torc_snaproute_client

Simple SnapRoute client written in Rust.

Build library:

cargo build

The example folder contains some sample code. To run follow steps below and replace 127.0.0.1:8080 with the connection arguments for your SnapRoute API services.

Build and run example list_port_stats:

cargo build --example list_port_stats
cargo run --example list_port_stats 127.0.0.1:8080

Build and run example list_routes:

cargo build --example list_routes
cargo run --example list_routes 127.0.0.1:8080

Build and run example modify_routes. Adjust IP addresses of the routes according to your network setup:

cargo build --example modify_routes
cargo run --example modify_routes 127.0.0.1:8080

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%