Automatische Website-Erstellung (Anwendungsfall)
Sehen Sie sich eine Videodemo an, um zu sehen, wie einfach Sie Dutzende oder Hunderte von Websites in wenigen Minuten mit Python-Skripten und APIs erstellen können.
Die Automatisierung in einem Juniper Mist Netzwerk ermöglicht es Ihnen und anderen Administratoren, Systemänderungen automatisch vorzunehmen und gleichzeitig menschliche Fehler zu minimieren. Es ermöglicht Ihnen auch, massiv skalierbare Änderungen vorzunehmen, die einfach nicht über eine GUI vorgenommen werden können.
Das folgende Video zeigt ein Beispiel für ein Skript, das fünfhundert Websites in weniger als 5 Minuten erstellt, indem eine CSV-Datei als Eingabe, eine Juniper Mist Gerätevorlage, die Juniper Mist-API und Python verwendet werden:
Our mission is to create 500 sites in less than 5 minutes, onboard thousands of APs, and monitor all your users across all your sites on a single dashboard without any costly errors.
First, we create an org on the MIST dashboard. Log in, select your org. You may have a few. We're done with step one and now let's go set up templates. This org has RF profiles and three different WLAN configs as seen here. Now we have the templates, let's automate.
We asked the customer to provide a spreadsheet containing site names, site addresses, and any other required site info. The amount of sites could be in the thousands, but for this example, we did 500.
We will now automate the creation of 500 sites based on the information provided by the customer using a simple Python script. Note: it is a human-readable file and not very large. Now we run the script.
And create 500 sites in under 4 1/2 minutes. Mist's 100% API architecture allows you to fully automate this process, removing any chance of human error. Check the audit logs. Perfect. And now we can validate from the dashboard that all the sites were created correctly.