Cisco OnePK VM in Parallels

cisco-onepk-logoOver the last couple of weeks, I’ve been bit by the “Automation Bug”.  I want to automate everything.  Why?  Well, there are two reasons why I want to automate everything I can:

  1. Remove tedious, mundane, and repetitive tasks.  If I can do the same task over and over again, not only do I save time, but I remove any human errors from the equation.
  2. Abstract the complexities of the tasks at hand.  This is very useful when delegating the tasks to personnel who may not fully understand or know the intricacies of the steps.

This week, I’ve started to learn about Cisco’s OnePK software development kit.  I won’t go into any reviews of the kit just yet, as I’m still learning and playing with it.  There are things that I like, and things that I dislike.  The best way to learn it, is to dive in head first.  For that, you’ll need Cisco’s All-in-One VM.  This is a VM that runs Ubuntu Linux and their vIOS platform.  It is prebuilt with a 3-node network, and software needed to start developing, such as Eclipse (with OnePK libraries) for Java and Python development, links to tutorials and documentation, and a few utilities to manage the environment.

My first challenge is that I work from an Apple Mac running Parallels, but the VM download is an OVA file which Parallels doesn’t recognize.  These steps are to get the VM into Apple Parallels to run from your Mac.

  1. Download the All-in-One VM (2.7GB) from Cisco’s website.  This will be an OVA file
  2. Download the OVF Tool from VMware.1-Cisco-AllInOne-OnePK-VM
  3. Choose the Mac DMG file.  3-Cisco-AllInOne-OnePK-VM
  4. Run the installer. 4-Cisco-AllInOne-OnePK-VM
  5. After install, it will be placed in /Applications/VMware OVF Tool/.  Open Terminal and change directory to your downloads folder (or where you saved the Cisco All-in-One VM).
  6. Execute the following command.  Here, I’m running the ovftool with the –lax option.  I’m pointing it to the OVA file and calling the new VM “onepk-all-in-one.vmx”
  7. Downloads $ /Applications/VMware\ OVF\ Tool/ovftool --lax ./all-in-one-VM-1.3.0.181.ova ./onepk-all-in-one.vmx
  8. It will go through the conversion process.  It only took a few minutes for me.  Once this was done, open Parallels and choose File –> Open.  Select the VMX file that was created.
  9. Parallels will want to convert it to be more efficient.  NOTE:  It will double your VM size.  5-Cisco-AllInOne-OnePK-VM
  10. At this point, you can delete the original OVA file, and the interim VMX file.
  11. After conversion, start up the VM and login.  At the time of this writing, the VM login is cisco/cisco123.  It will ask you to change your password.
  12. Once you are logged into the desktop, I highly recommend installing the Parallels tools.  It will enhance your display, make mouse-overs easier, and better network bridging.  In Parallels, go to “Virtual Machine” –> “Install Parallels Tools”.
  13. Once the tools folder pops up (it should automatically.  If not, browse to the mounted drive).  Double-click “install-gui”.

You should now have a running OnePK VM running 3 vIOS routers running in Parallels.  Good Luck, and happy lab’ing!

Screenshot 2014-12-29 09.36.15

 

Share This Page : Share on TwitterShare on FacebookShare on GooglePlusShare on PinterestShare on Linkedin