f-74: api: disques additionnels xvdX sur la cible SCSI de même rang, sdX refusé, migration des clés disk/sdX #74

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-23 00:26:33 +02:00
commit e16edb00bf
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
7 changed files with 187 additions and 27 deletions

View file

@ -68,6 +68,11 @@ func run(confFile string) int {
return 1
}
if err := migration.MigrateVMDisks(db, log.With(slog.String("component", "migration"))); err != nil {
log.Error("vm disk migration failed", "error", err)
return 1
}
if cfg.BGP.Enabled() {
if err := applyBGPBase(cfg, frr.NewClient()); err != nil {
log.Error("failed to apply the bgp base configuration", "error", err)