O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up and Running

  1. Download and unzip the RGraph software into the application project directory. For the purposes of this recipe, I have used the latest stable version, dated 2017-08-26, available at https://www.rgraph.net/downloads.
  2. Prepare a JSON configuration file in the application project directory listing each of the JUNOS OS devices to connect to. For my SSH-tunnelled lab environment, I use the following:
   $ more config.json    [    { "host": "127.0.0.1", "user": "auto", "privateKey":           "JUNOS_auto_id_rsa", "port": 8930 },     { "host": "127.0.0.1", "user": "auto", "privateKey":          "JUNOS_auto_id_rsa", "port": 8931 }   ]
  1. On the management server in your application project directory, you should have the following files:
Filename Description ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required