Skip to content

Commit

Permalink
Merge branch 'main' into feat/configure-network
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-pierrot authored Apr 30, 2024
2 parents fdc7039 + 64a5996 commit 0158efa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vmm/src/grpc/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ impl VmmServiceTrait for VmmService {
let (tx, rx) = tokio::sync::mpsc::channel(4);

const HOST_IP: Ipv4Addr = Ipv4Addr::new(172, 29, 0, 1);
const VM_IP: Ipv4Addr = Ipv4Addr::new(172, 29, 0, 2);
const HOST_NETMASK: Ipv4Addr = Ipv4Addr::new(255, 255, 0, 0);
const GUEST_IP: Ipv4Addr = Ipv4Addr::new(172, 29, 0, 2);

Expand Down Expand Up @@ -97,7 +96,7 @@ impl VmmServiceTrait for VmmService {
tokio::time::sleep(Duration::from_secs(2)).await;
println!("Connecting to Agent service");

WorkloadClient::new(VM_IP, 50051).await
WorkloadClient::new(GUEST_IP, 50051).await
})
.await
.unwrap();
Expand Down

0 comments on commit 0158efa

Please sign in to comment.