NetBox Zero To Hero - Video 11 - Custom Scripts
Hello and welcome to module 11 of the NetBox 'Zero-to-Hero' course. https://zerotohero.netbox.dev/
Now it's time for the Brisbane office to 'go live', so Eric is going to use a custom script to Update the status of the Site, and all Locations, Racks, Devices, Clusters and VMs at the site from `Planned` to `Active`. Using a script to do this will be much quicker and more convenient than having to go into each section of the NetBox UI to update the status of all the objects. He can simply run the script to update everything in a couple of seconds!
Eric's boss has also just informed him that a new branch office is planned for Stockholm, Sweden and that he should plan for this also. As the company has standardized on the same network equipment for all branch office locations, Eric is going to use another Custom Script to create the planned site, as well as the network devices that he is planning to deploy there.
By the end of this module you will be able to:
- Describe what Custom Scripts are in NetBox and what kind of tasks they can be used to accomplish
- Understand the basics of writing Custom Scripts and also where to find documentation to help you develop your own scripts
- Kick start your own Custom Scripts collection, with two example scripts to get you up and running
Get Hands On
If you'd like to follow along with the examples used in this course, it's super easy to do, and you have a few options:
1. Run NetBox as a container with NetBox Docker - https://github.com/netbox-community/n... - This is the quickest way to get your own dedicated NetBox instance going and it only takes a few minutes to spin up on your laptop!
2. Follow the official documentation - https://docs.netbox.dev/en/stable/ins... and do a full installation of all the NetBox components. These instructions have been tested on Ubuntu and CentOS Linux.
3. Use the public demo instance of NetBox - https://demo.netbox.dev/
The NetBox version used in the video for this module is `v3.3.2`, and the Custom Script Examples can be found here: https://github.com/netbox-community/netbox-zero-to-hero/tree/main/custom_scripts
Join the Discussion
If you have any questions as you go through the course then pop on over to the NetBox Zero to Hero channel - https://netdev-community.slack.com/ar... on the NetDev Community Slack! If you aren't already a member then you can sign up for free at https://netdev.chat/
Useful Links
- Zero To Hero Git Repo - https://github.com/netbox-community/n...
- Official NetBox Documentation - https://docs.netbox.dev/en/stable/
- NetBox Docker - https://github.com/netbox-community/n...
- NetBox Cloud - https://www.getnetbox.io/ is a hosted solution offered by NS1
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «NetBox Zero To Hero - Video 11 - Custom Scripts», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.