add network config

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
GnomeZworc 2025-04-23 23:38:52 +02:00
commit 0aa49e3cf6
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
2 changed files with 39 additions and 0 deletions

@ -21,5 +21,10 @@ Tout cela serait lancer depuis une api:
- stop dhcp - stop dhcp
- stop metadata - stop metadata
- remove vm specifique network - remove vm specifique network
- get-vm
- renvoie la list complete de toutes vms qui tourne sur l'host et leur status
- vm zmobie compris
## Architecture ## Architecture
- [Reseaux](./agent/Network.md)

34
agent/Network.md Normal file

@ -0,0 +1,34 @@
# Le reseaux entre les vms
```
+--------------------------------------------------------------+ +----------------------------------------------------+
| HOST A | | HOST B |
| | | |
| [ netns-1 (VPC 1) ] | | |
| | | |
| br-subnet-1 (10.0.1.1/32) ---- veth1 <----------------+ | | |
| (dans netns) | | |
| | | |
| br-subnet-2 (10.0.2.1/32) ---- veth2 <----------------+ | | |
| (dans netns) | | |
| | | |
| | | |
| [ netns-2 (VPC 2) ] | | [ netns-2 (VPC 2) ] |
| | | |
| br-subnet-3 (10.0.3.1/32) ---- veth3 <------+ | | br-subnet-3 (10.0.3.1/32) ---- veth4 <------+ |
| (dans netns) | | | (dans netns) | |
| | | | | |
+-------------------------------------------------+------------+ +-------------------+--------------------------------+
| |
| |
+----------v-----------+ +-----------v----------+
| br-vx-1 (host) | | br-vx-1 (host) |
| (infra bridge) | | (infra bridge) |
+----------------------+ +----------------------+
| |
+-----------v-----------+ +----------v------------+
| vxlan1001 | | vxlan1001 |
| (Tunnel inter-host) | | (Tunnel inter-host) |
+-----------------------+ +-----------------------+
```