Skip to content
ntwrkguru edited this page Sep 2, 2015 · 14 revisions

Overview

The purpose of this VM is to provide an environment to learn Junos Automation. All the hard work has been done. This VM is a stripped down version of Ubuntu running a very minimal LXDE and the Perl and Python tools from Juniper's github. All the dependencies for all of the libraries have been resolved. It's ready to start coding!

Features

  • Ubuntu 14.04.01 with LXDE
  • Eclipse with SLAX plugin
  • JUISE
  • JSNAP
  • Perl 5.18.2 with perl-netconf
  • Python 2.7.6 with python-netconf
  • Python Py EZ-NC
  • Python SpaceEZ
  • Local copy of Junoscriptorium
  • git
  • Virtual Machine Manager with a vMX instance pre-configured with 3 logical systems (R1, R2, R3)

Getting Started

Download

The VM is hosted on Google Drive as it exceeds the filesize limits of Github. Download it here.

Installation

View the Installation page.

Usage

Login Credentials

  • Username: automation
  • Password: automation
  • sudo pw: automation

vMX Credentials

  • Username: automation
  • Password: automation1

SLAX project in Eclipse

  1. Open Eclipse by clicking Start > Programming > Eclipse
  2. Create a new project by clicking File > New > Other (or Ctrl+N)
  3. Scroll down and expand SLAX Script Template Wizards
  4. Click SLAX Script Template and follow the prompts

JUISE

JUISE is installed and can be invoked by running the command juise.

JSNAP

Junos Snapshot Administrator is installed and accessible from the home directory bu running the command jsnap.

PyEZ

To use PyEZ, be sure to enable netconf ssh on the devices you wish to interact with:

set system services netconf ssh

Additionally, for Junos security devices, be sure you allow netconf to the zone.

SpaceEZ

See usage information https://github.com/Juniper/py-space-platform/wiki.

Junoscriptorium

A copy of the Junoscriptorium is located in the home directory. /home/automation/Junoscriptorium/ To refresh the library copy and paste this in the shell or a terminal window: cd ~.source && git pull https://github.com/Juniper/junoscriptorium.git

References

Support

Use the issues tab.