stackhpc.mlnx-neo
Mellanox NEO SDN-Controller
Diese Rolle kann verwendet werden, um einen Mellanox NEO SDN-Controller, der in einem Docker-Container läuft, zu konfigurieren.
Werkzeuge zum Erstellen eines kompatiblen Container-Images sind auf Github <https://github.com/stackhpc/docker-mlnx-neo> verfügbar.
Anforderungen
Der Host, der die Rolle ausführt, hat folgende Anforderungen:
- Docker-Engine
- Python
docker >= 2.0.0
Rollenvariablen
mlnx_neo_action: Auszuführende Aktion. Eine vonbuild,deploy,destroy,pull,reconfigure,upgrade. Standard istdeploy.mlnx_neo_enabled: Ob NEO aktiviert ist. Standard isttrue.mlnx_neo_image: Name des Docker-Images. Erforderlich.mlnx_neo_tag: Tag des Docker-Images. Standard istlatest.mlnx_neo_image_full: Vollständige Docker-Image-Spezifikation.mlnx_neo_restart_policy: Docker-Neustartpolitik für den NEO-Container. Standard istunless-stopped.mlnx_neo_restart_retries: Anzahl der Docker-Neustarts. Standard ist 10.mlnx_neo_startup_config_path: Pfad zu einer Skripttemplate auf dem localhost, das die Startkonfiguration enthält. Standard ist/etc/mlnx-neo/mlnx-neo-configure.mlnx_neo_config_path: Pfad zu einem Verzeichnis auf dem Remote-Host, um Konfigurationen zu speichern. Standard ist/etc/mlnx-neo.
Die folgenden Variablen sind nur relevant, wenn mlnx_neo_action build ist:
mlnx_neo_repo_url: URL des Git-Repos, das das Image enthält. Standard isthttps://github.com/stackhpc/docker-mlnx-neo.mlnx_neo_repo_version: Version, die für das Git-Repo mit dem Bild ausgecheckt werden soll. Standard istmaster.mlnx_neo_repo_checkout_path: Pfad zu einem Verzeichnis, in dem das Git-Repo ausgecheckt werden soll. Standard ist/tmp.mlnx_neo_tarball_url: URL des NEO-Software-Tarballs. Dies muss festgelegt werden, um das Image zu bauen.mlnx_neo_push: Ob Images nach dem Bau gepusht werden sollen. Standard istfalse.mlnx_neo_force_rebuild: Ob das Image auch dann gebaut werden soll, wenn ein Image mit demselben Namen und Tag existiert. Standard istfalse.
Abhängigkeiten
Keine
Beispiel-Playbook
Das folgende Playbook konfiguriert Mellanox NEO.
---
- hosts: mlnx-neo
roles:
- role: mlnx-neo
Autoreninformation
- Mark Goddard (mark@stackhpc.com)
Über das Projekt
Role to deploy Mellanox NEO SDN controller in a Docker container.
Installieren
ansible-galaxy install stackhpc.mlnx-neoLizenz
apache-2.0
Downloads
436
Besitzer
StackHPC develops OpenStack capabilities for research computing use cases. Through extensive experience, we understand HPC and cloud.
