Script for TLS SRL and GNMI certificates, non-interactive

This is a script for TLS SRL and GNMI certificates, non-interactive. You can run it in any linux server with openssl. #Create Certificate for Certify Authority openssl genrsa -out CAKey.pem 2048 openssl req -x509 -new -nodes -key CAKey.pem -days 1024 -out rootCA.crt -subj “/C=US/ST=Texas/L=Dallas/O=Nokia/OU=NI/CN=myCA/emailAddress=mau.rojas@nokia.com” #Create Certificate for GNMI client openssl genrsa -out client_key.pem 2048 openssl…

Install GNMI client in Centos or Red Hat Linux

I have two options: gnmi_get / gnmi_set (less preferred for me) gnmic (preferred and much easier install) gnmi_get / gnmi_set installation Some notes how to quickly Install GNMI client (gnmi_get) in Centos or Red Hat Linux. You can get more info at https://github.com/google/gnxi I ran into a couple of issues, check last section for troubleshooting…

Turn off auto indent when pasting code into vim

If you code with vi, then I also recommend to check out: Highlight ansible YAML and Jinja syntax in vim Editor When you paste code into my document from the clipboard, you get extra spaces at the start of each new line: line line line Figure: Example of issues issues with auto-indent Short answer To…

Director OSP 16.1 install short version

Red Hat have been pushing its automated installation of OpenStack with Director based on TripleO concept over the last years. Many Telcos are adopting this concept for the flexibility and agility that automation brings. This post called “Director OSP 16.1 install short version” is a sort of summary of what I did in my lab…

Containerized script to test Youtube API in node

How did I come up with a post title like this? bare with me for a few more seconds in this introduction. I am IT pro, not a Dev. Then, when I tried to test some youtube APIs to start doing some automation. Well, my first issue was. How can I test my API credentials…

ansible and python pexpect for unconventional ssh interfaces

I’ve been working a lot with ansible over the last months.  When you need to deal with some appliances using unconventional ssh interfaces. Well, It’s been quite a challenge. Then, I started to create my own python tool for those cases. The victim in this opportunity is VSC (Nuage Virtualized Services Controller), that’s a control…

Highlight ansible YAML and Jinja syntax in vim Editor

Sometimes, I’m getting a bit confused and messing up my files because I don’t have a decent format highlight. Then I thought how great would be to highlight ansible YAML and Jinja syntax in vim Editor. Also, this will helpful to have more fun over your coding. Active syntax colors in your YAML and Jinja…