mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-13 07:46:15 -08:00
use customized rpc implementation, remove Tarpc & Tonic (#348)
This patch removes Tarpc & Tonic GRPC and implements a customized rpc framework, which can be used by peer rpc and cli interface. web config server can also use this rpc framework. moreover, rewrite the public server logic, use ospf route to implement public server based networking. this make public server mesh possible.
This commit is contained in:
1 parent
0467b0a3dc
commit
1b03223537
77 files changed
+3844
-2856
No files matched your search
@@ -518,8 +518,8 @@ pub async fn foreign_network_forward_nic_data() {
|
||||
|
||||
wait_for_condition(
|
||||
|| async {
|
||||
inst1.get_peer_manager().list_routes().await.len() == 1
|
||||
&& inst2.get_peer_manager().list_routes().await.len() == 1
|
||||
inst1.get_peer_manager().list_routes().await.len() == 2
|
||||
&& inst2.get_peer_manager().list_routes().await.len() == 2
|
||||
},
|
||||
Duration::from_secs(5),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user