17 March 2020 | Written by Nicolas Michel | Published in Cloud, Data Center, SD-WAN
Generalities There are many ways to connect your “on Premises” Data Center workloads with Microsoft Azure. I own the full meraki suite at home and have enjoyed it for the past three years. It provides all the features I need. I also have some workloads in Microsoft Azure and wanted to access them using a private and encrypted network instead of accessing them using their public IP. Meraki have the possibility to deploy a vMX 100 in Microsoft Azure. You can deploy a vMX100 either in Azure or in AWS and it will be part of your full mesh VPN as any other MX device that you own. It can support up to 500 Mbps of VPN throughput which can [Read More…]
6 February 2019 | Written by Nicolas Michel | Published in Containers, Programming
TL;DR : Code is here. Help yourself 🙂 Introduction to the Net-DevOps Container: Recently, Ethan Banks posted a very interesting blog post where he struggled a little bit to set up a Python environment. If I understood correctly, he wanted to increase his skills set in particular with NetDevOps. He fairly pointed that it could be a bit complicated to handle all the dependencies you might need. Based on the fact that you also want to start fresh between projects you want to spend the least amount of time resolving these kinds of issues and maximize your time on something that is valuable: Learn how to Automate or just Automate your network environment. A lot of people are in a [Read More…]
25 May 2018 | Written by Nicolas Michel | Published in Home
Intel Atom failures I know the title sounds a bit weird and you may ask why would you need to recover a RAID5 array when all your disks are healthy, right? To understand what is going on, my DS1515+ has an Intel Atom C2538. (source: Synology CPU / NAS Type). It recently caused a lot of issues in the IT industry. (remember the Cisco clock issue? 🙂 ) The Errata AVR54 of the C2000 Specifications update clearly states the following: “system may experience inability to boot or may cease operation”. My NAS was starting to have regular reboots and it completely crashed before I could back up the last delta of data. In the first instance, Synology denied any abnormal failure rate on this specific [Read More…]
28 February 2018 | Written by Nicolas Michel | Published in Programming
During my Python studies, I came across something that didn’t make much sense to me so I had to learn and investigate (with the help of experts). What you can usually do in Python is to modify a variable and assign the result to the same variable. Because a piece of code is usually worth much more than an explanation:
1 2 3 4 |
>>> my_variable = "I love networking" >>> my_variable = my_variable + " and Python so much !!" >>> print(my_variable) I love networking and Python so much !! |
When you want to sort a list, that behavior is a bit different: let’s pretend I have a list of ARP entries into my switch:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
['\n', 'Protocol Address Age (min) Hardware Addr Type Interface\n', 'Internet 10.220.88.37 69 0001.00ff.0001 ARPA FastEthernet4\n', 'Internet 10.220.88.1 135 0062.ec29.70fe ARPA FastEthernet4\n', 'Internet 10.220.88.29 234 5254.abbe.5b7b ARPA FastEthernet4\n', 'Internet 10.220.88.30 220 5254.ab71.e119 ARPA FastEthernet4\n', 'Internet 10.220.88.32 191 5254.abc7.26aa ARPA FastEthernet4\n', 'Internet 10.220.88.33 190 5254.ab3a.8d26 ARPA FastEthernet4\n', 'Internet 10.220.88.35 175 5254.abfb.af12 ARPA FastEthernet4\n', 'Internet 10.220.88.38 159 0002.00ff.0001 ARPA FastEthernet4\n', 'Internet 10.220.88.39 0 6464.9be8.08c8 ARPA FastEthernet4\n', 'Internet 10.220.88.40 144 001c.c4bf.826a ARPA FastEthernet4\n', 'Internet 10.220.88.41 123 001b.7873.5634 ARPA FastEthernet4\n', 'Internet 10.220.88.20 - c89c.1dea.0eb6 ARPA FastEthernet4\n', 'Internet 10.220.88.21 213 1c6a.7aaf.576c ARPA FastEthernet4\n', 'Internet 10.220.88.28 222 5254.aba8.9aea ARPA FastEthernet4\n', 'Internet 10.220.88.29 234 5254.abbe.5b7b ARPA FastEthernet4\n', 'Internet 10.111.11.11 69 abcd.efef.aaaa ARPA FastEthernet1\n'] |
If I want to sort it and reassign the value of it to the previously used variable I would use this code (Let’s pretend arp_entries is my variable that contains all these entries):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
nic@vPackets.local:/Users/nic/github/Python3-Tests git:(master) $ python3 Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pprint import pprint >>> arp_entries = open("show_arp.txt", 'r', encoding = 'utf-8') >>> arp_entries = arp_entries.readlines() >>> pprint(arp_entries) ['\n', 'Protocol Address Age (min) Hardware Addr Type Interface\n', 'Internet 10.220.88.37 69 0001.00ff.0001 ARPA FastEthernet4\n', 'Internet 10.220.88.1 135 0062.ec29.70fe ARPA FastEthernet4\n', 'Internet 10.220.88.29 234 5254.abbe.5b7b ARPA FastEthernet4\n', 'Internet 10.220.88.30 220 5254.ab71.e119 ARPA FastEthernet4\n', 'Internet 10.220.88.32 191 5254.abc7.26aa ARPA FastEthernet4\n', 'Internet 10.220.88.33 190 5254.ab3a.8d26 ARPA FastEthernet4\n', 'Internet 10.220.88.35 175 5254.abfb.af12 ARPA FastEthernet4\n', 'Internet 10.220.88.38 159 0002.00ff.0001 ARPA FastEthernet4\n', 'Internet 10.220.88.39 0 6464.9be8.08c8 ARPA FastEthernet4\n', 'Internet 10.220.88.40 144 001c.c4bf.826a ARPA FastEthernet4\n', 'Internet 10.220.88.41 123 001b.7873.5634 ARPA FastEthernet4\n', 'Internet 10.220.88.20 - c89c.1dea.0eb6 ARPA FastEthernet4\n', 'Internet 10.220.88.21 213 1c6a.7aaf.576c ARPA FastEthernet4\n', 'Internet 10.220.88.28 222 5254.aba8.9aea ARPA FastEthernet4\n', 'Internet 10.220.88.29 234 5254.abbe.5b7b ARPA FastEthernet4\n', 'Internet 10.111.11.11 69 abcd.efef.aaaa ARPA FastEthernet1\n'] >>> >>> >>> >>> arp_entries = arp_entries.sort() >>> pprint(arp_entries) None |
5 August 2017 | Written by Nicolas Michel | Published in Data Center
I recently got the chance to deploy a Cisco HyperFlex solution that is composed of 3 Cisco HX nodes in my home lab. As a result, I wanted to share my experience with that new technology (for me). If you do not really know what all this “Hyperconverged Infrastructure hype” is all about, you can read an introduction here. Cisco eased our job by releasing a pre installation spreadsheet and it is very important to read that document with great attention. It will allow you to prepare the baseline of your HC infrastructure. The installation is very straightforward once all the requirements are met. The HX infrastructure has an important peculiarity, it is very very very (did I say very) sensitive [Read More…]