Commit graph

40 commits

Author SHA1 Message Date
nemo e41806ae48 Check VM is stopped or not before try to create route
Sometimes the service try to create route for stopped VM (or template). This case creates a loop and avoid the script to create routes for others VMs while he failed to create route for the stopped VM/template. We met this case with a template...
2019-05-05 17:56:57 +02:00
Alarig Le Lay 78467d27ff Reinsert IPv4 in case of failure 2019-01-25 13:45:25 +01:00
Alarig Le Lay ab830f2694 Wait for the migration to finish 2019-01-25 11:15:48 +01:00
Alarig Le Lay 5dc278405f Avoid creds file overwrite 2019-01-25 09:58:21 +01:00
nemo f43fca2d37 Merge branch 'master' of https://git.grifon.fr/alarig/proxmox_routing 2019-01-24 23:15:43 +01:00
nemo ea9bc1c03c Ajout d'une condition pour ne regarder que l'ID VM sur les fichiers *.qmp 2019-01-24 23:14:48 +01:00
Alarig Le Lay 77de2871e3 Fucking debian 2019-01-24 22:24:22 +01:00
Alarig Le Lay f7dc615dd4 Add debian building rules 2019-01-24 21:14:26 +01:00
Alarig Le Lay 6f2b9b9375 Send pings only if the VM has been found, and do it in background (because python slowlyness) 2019-01-24 21:13:13 +01:00
Alarig Le Lay 8d57a2354d Errors 2019-01-24 20:39:53 +01:00
Alarig Le Lay aae14b300e Errors 2019-01-24 20:34:45 +01:00
Alarig Le Lay b3d9824e1e add DESTDIR in the makefile 2019-01-24 20:00:13 +01:00
Alarig Le Lay 640a61e8f8 correct creds path 2019-01-24 19:55:03 +01:00
Alarig Le Lay b941c57f13 Makefile 2019-01-24 19:50:18 +01:00
Alarig Le Lay 833a06ce8d Send ICMP to update ARP/NDP target’s cache 2019-01-24 18:02:59 +01:00
Alarig Le Lay 52dc461d28 logrotate configuration 2019-01-24 16:38:16 +01:00
Alarig Le Lay 8ee9bbfb26 systemd service for the previous trigger 2019-01-24 16:32:02 +01:00
Alarig Le Lay a5d52c6079 Add routes if there is activity on the pve/qemu sockets 2019-01-24 16:27:45 +01:00
Alarig Le Lay c2294c55d2 We don’t need this wrapper anymore 2019-01-24 16:20:40 +01:00
Alarig Le Lay f2ad8b19cf Only requests the IPAM API when needed 2019-01-24 15:56:16 +01:00
nemo bdfac0b931 Correction d'une coquille faite sur le commit précédent 2019-01-23 19:51:00 +01:00
nemo 6a58df95e7 Modification du chemin utilisé pour récupérer l'adresse MAC (ligne 155) 2019-01-23 19:48:07 +01:00
nemo 436382bb54 Variabilisation de l'emplacement du fichier creds et modification des chemins par défaut 2019-01-22 23:19:08 +01:00
Alarig Le Lay 94a34f110f Handle case where the VM also has a vmbr between 10 and 19 2019-01-22 21:13:20 +01:00
Alarig Le Lay 821f014799 Add missing space 2019-01-22 15:09:02 +01:00
Alarig Le Lay 2216508846 Take in account the case of ip neigh add failure 2019-01-22 14:45:41 +01:00
Alarig Le Lay 67de411db8 It will be better with the right value… 2019-01-21 19:15:42 +01:00
Alarig Le Lay 41132aa328 Proxmox disable IPv6 on a tap by default 2019-01-21 19:14:00 +01:00
Alarig Le Lay d6a735b585 Wrapper to use to add the route after the migration 2019-01-21 17:58:59 +01:00
Alarig Le Lay c64603b284 Fix variable name 2019-01-21 17:36:02 +01:00
Alarig Le Lay c5d85d7e1c Fix typo 2019-01-21 17:32:54 +01:00
Alarig Le Lay c5b043e447 Exit in case of creds failure 2019-01-21 17:26:17 +01:00
Alarig Le Lay 49028b1c95 Deleting some old comments 2019-01-21 14:40:57 +01:00
Alarig Le Lay f335ed5292 Too many modifications 2019-01-21 14:36:50 +01:00
Alarig Le Lay 754ad90003 function for the logs 2019-01-21 11:27:10 +01:00
Alarig Le Lay b8c91f737b make dirs paths relative 2019-01-21 11:10:45 +01:00
Alarig Le Lay 7701a5ffb5 chek deps 2019-01-21 11:08:57 +01:00
Alarig Le Lay 4c7d508635 Seprate the creds from the script 2019-01-21 11:02:27 +01:00
Alarig Le Lay 9c7b47ac2e Add original script 2019-01-21 10:57:10 +01:00
Alarig Le Lay 1778c17ff5 Initial commit 2019-01-21 10:55:30 +01:00