Posts

How to - Install Python and Paramiko in offline Windows environment (Optimized Method)

After using more and more Paramiko and Python for automation of endpoint testing and changed requirements for the the usage of Paramiko in newer versions my old how-to  becomes outdated. With the newest release of Python, Python 3.6 , I started to optimize the installation process to reduce complexity and make the installation process more simple. Instead of downloading manually all required files from the different homepages I use Python included functions for this work.  Step by Step overview: 1. Creation of reference system For preparation of the required files and for verification I'm using normally a test system i setup in VMware Fusion on my MacBook. For the Microsoft operating system I use the trial version from Microsoft Technet Evaluation Center for 180 days testing. After the system is finally setup based on my requirements I create a snapshot to have a valid reference point for my installation. 2. Installation of Python in reference system and downloadin

Cisco and the edge challenge - federations in Cisco collaboration solutions

Based on my actual projects I made some experiences with the needs and requirements or large enterprises around federations. In today enterprise communication requirements federations with external partners or customers becomes more and more important. While Microsoft has a clear strategy with their Microsoft Edge Servers to provide their customers a wide range of features via one kind of server. With this solution Microsoft can provide features like: Business to Business Audio and Video calls Instant Messaging Desktop Sharing Registration of clients via Internet In comparison the Cisco solution is more complex, depending on the use case a different kind of edge device is required. With the Cisco acquisition of Acano the range o possible edge devices get more possibilities but also more overlap between the different solutions. In an actual overview of edge devices in an Cisco collaboration solution we would see the following devices: Cisco Expressway Cisco ASA Ci

My first Cisco Spark project - Phase 1: Ups and Downs and the PaaS Challenge

Image
After working approximately some time on my private Cisco Spark App, which combines the Cisco Openvuln API with the Cisco Spark API, I had several ups and downs during working on the code. During the first days I focused on Openvuln API and to understand OAuth. The first versions of the program is running on my laptop and was just for verification of the functions of the Openvuln API and to get my first experiences with OAuth. I used the Client Credential Grant of OAuth for the first programs, but the final goal is to create a web application using the Authorisation Code Grant. The topic web application was also part of one of the downs I experienced. Ups: - I get the Client Grant based OAuth authentication working to send requests to the Cisco Openvuln API. Based on the fact that I had no experience with OAuth and not much experience with programming, that was a real highlight for me after I get that running - I get the get the Cisco Spark API training labs running and g

My first Cisco Spark project - The idea: Integration of OpenVuln API into Cisco Spark

Cisco Spark and its new released set of APIs  was one of the main topics during the Cisco Collaboration Summit 2015 . The easiness of usage was a highlighted point during the presentations and piqued my natural curiosity. I'm a Cisco Spark fan since more than one year and I really like the idea to merge innovative Cloud based apps and on-prem equipment to provide new services. Besides the different Cisco Spark APIs, Cisco released also the OpenVuln API , which provides API based access to Cisco Security advisories. One my responsibitilies at work is the evaluation of impact of new security advisories for Telepresence solutions, working with security advisories is part of my regular work. So I was very interested in evaluating how the OpenVuln API could make my daily life easier. During the days before Christmas I got the time to meet old friends and we talked about the good old time during school with IRC chat rooms, bots and other tools we used in the past. After some b

Cisco Customer Connection Program - Why being active brings value to your organisation

Normally the holiday season becomes the time for looking back and to recap the ups and downs of the last year. One of my personal largest highlights last year was the Cisco Customer Connection Program. The Customer Connection Program or formerly Collaboration User Group is part of the Cisco Communities and is open for everybody. If you are Cisco employee, partner or customer, it does not matter you, you can just join the community. For me the Customer Connection Programm brings five large benefits to their members: - Briefings There are regular briefings and many topics are presented before they are officially announced,  sometimes even before the partners are getting these informations. And also the kind of the briefings are making them special for me. Everybody knows the normal Cisco webinars. Normally you come to the session, the presenter go through his slides and the only change for asking question is the Q&A function of WebEx.  The briefings in Customer

How to - Install Python 3.4 and Paramiko in offline Windows environment

Image
This how to is based on Python 3.4, a how to for for newer Python releases will follow. PyCrypt is not maintained anymore and other solution are recommended to use with newer Paramiko releases. An updated version can be found here . In my last post I described how to use Python and Paramiko to delete a CTL file from a Cisco SIP phone during a migration. In the preparation phase of the migration I was confronted with the challenge to install Python on a Windows server in our management environment without direct Internet access. To install Python and Paramiko you need the following packages on your Windows machine: Python installation package  3.4.3 PyCrypt installation package  2.61 Paramiko installation package   ecdsa installation package  0.13 The required installation pacakages for Python,  PyCrypt and Paramiko are easy to find compared to the ecdsa installation package. The versions I found using Google were not compatible with Paramiko. So I used the download l

How to - Removing CTL and ITL from 7900-series phones via SSH

Image
Which Cisco UC engineer does not know the challenge when he runs a CUCM in mixed mode: How to remove a Certificate Trust List on a phone nobody has physical access to during a CUCM migration? The normal way like using the same security tokens on old and new CUCM is not possible. Sending somebody on site during the migration is also not possible. These limitations raised the need for an alternate solution. After some testing, I decided to create a small Python script. The final script connects via SSH to the phone and uses the test key functions of the Cisco SIP phone debug-mode to press the required phone buttons via command line interface. Main requirement is to enable SSH for phone on the CUCM and to configure a username and password for the SSH access. The following script is based on Python 3.4 and uses as additionally Paramiko for the possibility to connect via SSH to the Cisco IP phones. Besides Paramiko also the time class is required to implement some d