Skip to content

muff1nman/go-junos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-junos

GoDoc Travis-CI license

A Go package that interacts with Junos devices, as well as Junos Space, and allows you to do the following:

  • Run operational mode commands, such as show, request, etc..
  • Compare the active configuration to a given rollback config.
  • Rollback the configuration to a given state or a "rescue" config.
  • Configure devices by uploading a local file or from an FTP/HTTP server.
  • List files on devices.
  • [SRX] Create a security policy.
  • [SRX] Convert from a zone-based address book to a global one.
  • [SRX] Create a site-to-site IPsec VPN.

Junos Space

  • Get information from Junos Space managed devices.
  • Add/remove devices from Junos Space.
  • List all software image packages that are in Junos Space.
  • Stage and deploy software images to devices from Junos Space.
  • Add/remove address and service objects/groups.
  • Modify objects (e.g. add/remove objects from groups, and delete objects).
  • View all policies managed by Junos Space.
  • Publish policies and update devices.
  • Add/modify polymorphic (variable) objects.

Examples & Documentation

Visit the GoDoc page for package documentation and examples.

Note: This package makes all of it's calls over Netconf using the go-netconf package from Juniper Networks. Please make sure you allow Netconf communication to your devices:

set system services netconf ssh
set security zones security-zone <xxx> interfaces <xxx> host-inbound-traffic system-services netconf

About

Go package for automation of Junos (Juniper Networks) devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%