Search

1 to 10 of 54
Sort by

Discussion Reply
RE: Help about Python script for fxp0 ip recovery.

Hi simonev, Greetings, To answer your first part, how to fetch the fxp IP you could use something like below : from jnpr.junos import Device from lxml import etree with Device ( host = 'router.example.com' , use filter = True ) as dev : sax input = '<interface-information...


Discussion Post
Help about Python script for fxp0 ip recovery.

Hi all, I wrote a script that saves the configuration of an mx960 on a remote server when an operator gives the command "op copyconf.py". I would like the script to automatically take the ip of the master fxp0 from the local configuration and then be able to use it as the scp source. I can...



Discussion Post
XPath basics

Hi Need some assistance here please: I am running an rpc against my qfx switch: results = dev.rpc.get evpn database information( mac address = '18:66:da:94:ab:23' , normalize = True ) this is returning correctly. when there is no entry the results is None. But when there is...



Blog Entry
JUNOS Hashtags

Imagine that you can tag configuration elements in JUNOS with arbitrary strings and selectively display parts of the configuration based on a tag value. Much like you use hashtags in social media networks. The hashtag can represent a customer, a service, a temporary feature, or just about...


Discussion Reply
RE: new to automation, which language to choose

If you only want to learn one: Python Reality is more than one is needed: http://blog.codeeval.com/codeevalblog/2016/2/2/most-popular-coding-languages-of-2016 #Automation #Python



Blog Entry
Expert Advice: Junos Extension Toolkit (JET)

Program Your Network with Junos OS Junos OS is the very first network operating system to be programmable from the start. We understand that our customers want an easy way to build, configure, and manage their networks. We understand that our customers would like to reduce the...


Blog Entry
Expert Advice: Understanding JavaScript Object Notation (JSON)

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C family...