Scripts python API ARV » Historique » Version 11
Fabrice Barconnière, 16/01/2015 09:29
| 1 | 5 | Fabrice Barconnière | h1. Quelques scripts Python utiles pour ARV |
|---|---|---|---|
| 2 | 1 | Fabrice Barconnière | |
| 3 | 10 | Fabrice Barconnière | ATTENTION, ces scripts ne sont pas tous vérifiés et exécutables tels quels. Ils sont parfois écrits pour fonctionner dans des conditions propres à une académie. Il peut être nécessaire de les adapter. |
| 4 | 9 | Fabrice Barconnière | |
| 5 | 8 | Fabrice Barconnière | h2. Forcer la mise à jour des infos Zéphir de tous les serveurs dans la base ARV |
| 6 | 1 | Fabrice Barconnière | |
| 7 | 1 | Fabrice Barconnière | Les champs *id_zephir* et *eole_version* ne sont pas forcément tous renseignés dans la base *ARV* car ils n'existaient pas à la création du projet. Voici un script (merci Karim) qui permet d'alimenter la base automatiquement sur tous les serveurs : |
| 8 | 8 | Fabrice Barconnière | * "majInfoZephir.py":https://dev-eole.ac-dijon.fr/attachments/download/1151/majInfoZephir.py |
| 9 | 2 | Fabrice Barconnière | |
| 10 | 2 | Fabrice Barconnière | h2. Contournement du problème de fragmentation IKEv2 |
| 11 | 2 | Fabrice Barconnière | |
| 12 | 2 | Fabrice Barconnière | Pour contourner le problème de fragmentation en IKEv2, il est possible de paramétrer IPsec (leftsendcert = never) pour ne pas envoyer les certificats lors de l'établissement de la connexion. Voici un script (encore merci Karim) qui permet de modifier la base *ARV* pour toutes les connexions : |
| 13 | 1 | Fabrice Barconnière | * "MajSendCert.py":https://dev-eole.ac-dijon.fr/attachments/download/1149/MajSendCert.py |
| 14 | 10 | Fabrice Barconnière | |
| 15 | 10 | Fabrice Barconnière | h2. Importation d'un serveur dans ARV et création des tunnels |
| 16 | 10 | Fabrice Barconnière | |
| 17 | 10 | Fabrice Barconnière | Ce script importe un serveur dans ARV à partir de son identifiant Zéphir et crée des tunnels adaptés à l'académie de Nantes (merci à cdeze). |
| 18 | 10 | Fabrice Barconnière | |
| 19 | 11 | Fabrice Barconnière | * "CreateARVNodeConfWithZephirId.py":https://dev-eole.ac-dijon.fr/attachments/download/1153/CreateARVNodeConfWithZephirId.py |
| 20 | 3 | Fabrice Barconnière | |
| 21 | 3 | Fabrice Barconnière | h2. à suivre |