Networking-Forums.com

Professional Discussions => Programming Goodies and Software-Defined Networking => Topic started by: dipenshah on March 03, 2016, 08:01:04 PM

Title: I Wish ___________ Was Automated!
Post by: dipenshah on March 03, 2016, 08:01:04 PM
I am currently working on Python programming language for automating few basic things. I am learning Python for networking from https://www.udemy.com/python-programming-for-real-life-networking-use/learn/ (https://www.udemy.com/python-programming-for-real-life-networking-use/learn/) and PyNet by Kirk byers.

I am starting this thread to explore things which we can automate in Networking.

So here is my "I wish" thing:
I wish calculating subnet was automated.

Respond with yours :)
Title: Re: I Wish ___________ Was Automated!
Post by: Otanx on March 03, 2016, 09:05:03 PM
My Job.

How is the Kirk Byers course? I saw his post on Reddit, and signed up for his email class, but have not actually read any of the email.

-Otanx
Title: Re: I Wish ___________ Was Automated!
Post by: Reggle on March 04, 2016, 01:50:03 AM
Calculating subnet is just a short snippet of code. Sure it would be handy to have automated but it's easily included.
Title: Re: I Wish ___________ Was Automated!
Post by: dipenshah on March 04, 2016, 08:16:28 AM
Quote from: Otanx on March 03, 2016, 09:05:03 PM
My Job.

How is the Kirk Byers course? I saw his post on Reddit, and signed up for his email class, but have not actually read any of the email.

-Otanx


I would recommend Udemy course above everything! Kirk Byers course is good as well. I started reading all his emails since last weekend :)

Practice Kirk Byers exercises and then definitely go for Udemy course.

Quote from: Reggle on March 04, 2016, 01:50:03 AM
Calculating subnet is just a short snippet of code. Sure it would be handy to have automated but it's easily included.

True :) I have also started working on SSH/Telnet configuration from Udemy course. It is really great and basic subnet calculator is a stepping stone I feel for all the PyNet applications.
Title: Re: I Wish ___________ Was Automated!
Post by: routerdork on March 04, 2016, 08:27:53 AM
Quote from: Otanx on March 03, 2016, 09:05:03 PM
My Job.

How is the Kirk Byers course? I saw his post on Reddit, and signed up for his email class, but have not actually read any of the email.

-Otanx
Guilty as well.
Title: Re: I Wish ___________ Was Automated!
Post by: dlots on March 04, 2016, 08:52:33 AM
Quote from: routerdork on March 04, 2016, 08:27:53 AM
Quote from: Otanx on March 03, 2016, 09:05:03 PM
My Job.

How is the Kirk Byers course? I saw his post on Reddit, and signed up for his email class, but have not actually read any of the email.

-Otanx
Guilty as well.
Dido :-(
I'll take this once they have another $10 sale, they have alot of them.
Title: Re: I Wish ___________ Was Automated!
Post by: deanwebb on March 07, 2016, 11:54:34 AM
BACK TO WHAT YOU WISH WAS AUTOMATED.

AS IN: I WISH GETTING THREADS BACK ON TOPIC WAS AUTOMATED.

:facepalm1:

Moved the Ansible-Python-Cloudvision stuff to another thread. Then deleted it. Feel free to discuss that stuff in a new thread, but let's not trash-talk the technology, mmmmkay?
Title: Re: I Wish ___________ Was Automated!
Post by: dipenshah on June 11, 2016, 07:36:35 PM
I Wish ________ was automated in networking? Feel free to add what you do on a daily basis and wish it was automated so that you can spend more time on learning about other new things :D

P.S. I want to develop scripts that might help you :)
Title: Re: I Wish ___________ Was Automated!
Post by: wintermute000 on June 12, 2016, 05:27:05 AM
er, it kinda is...... pythonic example:

>>> from netaddr import *
>>> ip = IPNetwork('192.168.1.1/24')
>>> ip.netmask
IPAddress('255.255.255.0')
>>> ip.network
IPAddress('192.168.1.0')
>>> ip.broadcast
IPAddress('192.168.1.255')
Title: Re: I Wish ___________ Was Automated!
Post by: mlan on June 14, 2016, 02:54:30 PM
I wish the political process to receive a decision at the executive level was automated.
Title: Re: I Wish ___________ Was Automated!
Post by: Reggle on June 14, 2016, 02:58:51 PM
Quote from: mlan on June 14, 2016, 02:54:30 PM
I wish the political process to receive a decision at the executive level was automated.
Realize that and you might just win a Nobel prize.
Title: Re: I Wish ___________ Was Automated!
Post by: Otanx on June 14, 2016, 05:23:54 PM
Quote from: mlan on June 14, 2016, 02:54:30 PM
I wish the political process to receive a decision at the executive level was automated.

I find my job much less stressful when I treat it like it is. I just measure the execution time in months, put some error checking, and timeout code around it to resubmit the job if needed. I just make it a child process, and continue with the main branch of doing my job. When the function returns a value I can move forward.

I find that most of the boring parts of my job can be automated. However, it isn't just get script from internet, and stick it in a cron job. Even if the script exists on the internet it will require a lot of customization to match our environment. The time it takes to do that is why it hasn't been done. I slowly chip away at these till one day I will come to work, and not have anything to do.

-Otanx