/r/networkautomation
A community for sharing knowledge and engaging with a growing community of network automation specialists.
/r/networkautomation
Hi folks,
I want to ask, what are the most typical task that you automate in your company ? or you wish it's automated ?
I did some automation and it's usually:
- configure interface/subinterface
- configure subnet
- get IP-address/mac-address from device
I'm curios, what are the tasks that you usually automate? or what things are not explained well on the internet from Python ?
I've started learning Python from the ground up, and want some advice on when to start diving into more network automaton focused learning.
I'm around half way into Python crash course, and am itching to start playing with some of the networking library's, and netmiko. For now this is simply for my own learning, as I have a few ideas on small tools to build for myself to help me with my day job. I'm currently working on ENARSI, but later would like to try to down the devnet path, or at least the associate.
Is this book (or at least the 1st half) enough of a foundation from which I can start applying it to network stuff? Basically I wanted to ensure I have a decent grounding in the basics before I go down the network automation path.
Hey guys recently had an interview with meta interviewer, it didn’t go as expected . I have 3 years of network engineer experience but I lack in network automation . Can anyone help me where to start from scratch
Hello everyone, I'm currently working on setting up an environment for alarm monitoring from several OLTs using the TL1 protocol. However, I’ve noticed that not all alarm IDs are available in TL1. Does anyone have alternative suggestions for creating a monitoring environment for this purpose? Thank you!
Hey everyone,
I’ve been wrestling with an issue that’s been bugging me for a while, and I haven’t been able to resolve it yet. Whenever I try to SSH into a Cisco CBS or SG 300 switch without the ip ssh password-auth command, Ansible fails to establish an SSH connection. I even tried using Paramiko for SSH, but no luck there either.
I also wrote a Python script using Pexpect to inject that command, but running the script with both Pexpect and the threading module led to an unintended management plane lockout — which was a headache!
Has anyone encountered a similar problem or found a workaround? Any advice would be much appreciated!
I’m a network engineer trying get into network automation. I have knowledge using push JSOn/XML files to SDNs. I also knowledge of creating some python scripts to generate config files. But I need some automation resources to learn Ansible and python. Also some example work cases that I can utilize automation for.
Hello, I have a CCNA and work a networking job at the moment, so I believe I have a good foundation in networking but wanted to look into network automation. I do not have time at the moment to go after a certification but was wondering if anyone could recommend a book to get a good overview of the different aspects of network automation. I have played around with different API's and Python with the help of AI but want to get a better overall understanding, any books good to start with for foundation?
Let's see your most useful script. Doesn't have to be directly related to networking.
Hey r/networkautomation , I wanted to share some findings from our recent research at Excentis, where we've been digging deep into low-latency technologies. We've been exploring L4S (Low Latency, Low Loss, and Scalable Throughput) alongside Wi-Fi 7 to see how they impact network performance.
Our latest case study paper, "Is L4S the Real Latency Killer?", is the result of collaboration with Nokia Bell Labs. We put their access point to the test to see how L4S performs in a Wi-Fi network environment. We built our setup in layers, starting with basic Wi-Fi 6 configurations and gradually incorporating Dual-Queue Coupled AQM (DualQ AQM) to evaluate L4S performance. We also configured latency-optimized EDCA/WMM parameters at the MAC layer for further analysis.
If you're interested in low-latency networking and want to dive into the details, feel free to check out our case study paper.
Would love to hear your thoughts or experiences with L4S or other low-latency technologies!
We are thrilled to announce the launch of our new website, networkflow.co.nz! 🎊
At NetworkFlow, we're committed to making network configuration automation easier and more efficient for you. Our site now features a powerful tool that leverages Jinja2 and flow charts to quickly generate network configuration templates. Say goodbye to manual configurations and hello to streamlined automation! 🌐
🔧 Key Features:
Explore our website today and see how we can help you simplify your network automation processes. We're excited to support you in achieving seamless and efficient network management!
🔗 Visit networkflow.co.nz to get started.
This topic seemed to gain traction, but how much ? I've never seen REAL automation on enteprises market, maybe they do it in big Cloud providers, and ISPs for very repetitive tasks. They have the need, the knowledge, the money. And of cource big software companies (Google, Meta, Microsoft), I believe they had SDN much more than marketing started talking about it.
On enteprises we can maybe see some config templating done with Fortimanager, DNAC tools. Not everybody uses them. But just to make an example, if you need to connect and gather the output of a few show commands, you still need to do it manually or write your own scripts.
Hello,
At work we are currently trying to automate switch firmware upgrades using AutoInstall on a Cisco 9200L.
The issue we're facing is at the end of the sequence no matter what mode or command we use it will not write to memory but the upgrade itself seems to work.
Does anyone here have any experience in trying to automate switch upgrades using AutoInstall and could maybe give some insight?
Thanks! :)
Hello guys,
For some context, I am currently enrolled in a network automation academy where we have been thought about computer networks from scratch by doing the first 2 CCNA modules (ITN & SRWE).
We are about to finish the second module and then start doing network automation.. Considering these experiences, I am looking towards doing a network automation project for my final undergrad thesis project. The problem is that I have to specifically choose the project topic really early, before I start the network automation part of the academy I am enrolled in, so I don't know what I could actually do.
I am thinking about creating a python application with a GUI that would allow users to automatically create and configure topologies in GNS3.
Do you guys have any suggestions? TL;DR: I want to do network automation for my final undergrad thesis, but I don't know what project to choose as I have yet to gain any experience in Network Automation
Hey gang, here is a [work in progress] landscape of the network automation tooling, projects, and products etc.
https://steinzi.com/network-automation-landscape/
Codes over on GitHub, feel free to send a pull request and add whatever!
https://github.com/steinzi/network-automation-landscape/
I've recently come across eNMS which looks like it has the potential to be a really interesting tool.
Has anyone played with it? If so, any comments?
Also; I note that activity on the public github repo has fallen off a bit of a cliff recently. Anyone have any insight on whether this is still an active project, or has the author move on?
I have a Jinja template that I use to configure 100 SRX firewalls. Now, I need to audit all 100 SRX devices to check if they are compliant with the template. I regularly use Python, pytest, Batfish, and Nornir, so I can find a solution, but I'd like to see how you would approach this problem? I want to avoid to write iper complicate test.
Hi,
I've read a few similar posts about general training on here and the r/networking sub but I haven't seen anything specifically for live/instructor-led training.
I learn best with live training, ideally in-person but that ain't gonna happen anymore (thanks, COVID). My networking and python knowledge is sound but I really don't mind going over fundamental python stuff again because there's likely something small or relevant to network automation that could be very helpful. i.e. all skill-level recommendations welcome.
What are the recommendations for live training?
I've had my eye on the Network to Code courses, particularly the Network Programming & Automation course. I've also seen recommendations for Packet Coders Network Automation with Python Bootcamp, and it looks good. It looks like they cover different topics so I'll likely plan to do both.
Thanks
Hi Guys,
While trying fetch output from the device, getting Authentication Failed : Transport Out or Saw EOF error. Any idea what is that error or how to fix that?
I have passed both Cisco DevNet certifications.
I am applying for positions such as
But all companies say I don't have the right qualifications...
What surprises me is that the Devnet certifications cover topics such as
Have I spent 1.5 years learning for nothing?!?!
I am trying to Migrate data from Netbox 3.7.4 to Nautobot 2.X using nautobot-netbox-importer. I tried the migration with the netbox-demo.3.7. data and worked fine but with the data I have I have been getting this error >
sys.exit(main())
File "/opt/nautobot/lib/python3.10/site-packages/nautobot/core/cli/__init__.py", line 293, in main
execute_from_command_line([sys.argv[0], *unparsed_args])
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/nautobot/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/opt/nautobot/lib/python3.10/site-packages/nautobot_netbox_importer/management/commands/import_netbox.py", line 89, in handle
adapter.import_to_nautobot()
File "/opt/nautobot/lib/python3.10/site-packages/nautobot_netbox_importer/diffsync/adapters/netbox.py", line 97, in import_to_nautobot
self._atomic_import()
File "/usr/lib/python3.10/contextlib.py", line 78, in inner
with self._recreate_cm():
File "/opt/nautobot/lib/python3.10/site-packages/django/db/transaction.py", line 246, in __exit__
connection.commit()
File "/opt/nautobot/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/opt/nautobot/lib/python3.10/site-packages/django/db/backends/base/base.py", line 266, in commit
self._commit()
File "/opt/nautobot/lib/python3.10/site-packages/django/db/backends/base/base.py", line 241, in _commit
with self.wrap_database_errors:
File "/opt/nautobot/lib/python3.10/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/opt/nautobot/lib/python3.10/site-packages/django/db/backends/base/base.py", line 242, in _commit
return self.connection.commit()
django.db.utils.IntegrityError: insert or update on table "dcim_device" violates foreign key constraint "dcim_device_primary_ip4_id_2ccd943a_fk_ipam_ipaddress_id"
DETAIL: Key (primary_ip4_id)=(some UUID) is not present in table "ipam_ipaddress".
I tried multiple things like 1. Dropping constraints in DB 2. Disabling Foreign key Constraints but nothing worked. Can someone please point me to correct direction?
can someone please explain networks, wifi and how to manipulate them to keep someone out of your life. or tell me where I can go to learn quickly please... thanks in advance!!!
Hello people of reddit! Me and my groupmates are planning to use the Machine Learning KNN Algorithm for Network Anomaly Detection for our CAPSTONE project but we want to find a way to integrate a 'response' feature to it. Upon further research I have found out that it is possible to add a response feature to it by integrating it to a SOAR platform.
Now here comes the tricky part, we are having a hard time finding what SOAR platform we can use that is open-source and free. And not only that, we are having a hard time finding some documentation on how to do it. so I ask of you, do you guys have any suggestions what we could use and if possible, can you provide the documentation for it?
note: we will be using python for the KNN Algorithm, hope this information helps
Does anyone know of any ansible modules for managing older 3Com switches?
E.g. Setting up NTP, checking on the state of Tacacs etc.
So far I only have my own python/expect scripts. Or what other tools are available?
Hi,
I'm pretty new at IOS-XR and Netconf and can't google it myself. How could I get the current routing table of an Cisco IOS-XR router via netconf (ncclient). I want the output from *show ip route*, but in a structured format.
I think I have to use the get method and a filter, but I could not figure out how to create the filter for that. Can someone please help me? I really don't want to parse the routing table via regex
Windows provisioning package over network no USB.
I am trying to send and use a provisioning package created by Windows Configuration Designer via network connection, that automatically runs scripts to map and use the provisioning package from drive without any human interaction.
So, a provisioning package that runs when connected to network. To setup the OOBE Out-Of-Box-Experience.
Any Solution's will be of value.