自动创建站点(用例)
观看视频演示,了解使用 Python 脚本和 API 如何在几分钟内轻松加入数十个或数百个站点。
Juniper Mist网络中的自动化使您和其他管理员能够自动进行系统更改,同时最大限度减少人为错误。它还使您能够进行根本无法从 GUI 进行大规模扩展的更改。
下面的视频显示了一个脚本示例,该脚本使用用于输入的 CSV 文件、Juniper Mist设备模板、Juniper Mist API 和 Python 在不到 5 分钟的时间内创建 500 个站点:
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.