Automation

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.

If you have a question or a use case, likely there are others who are experiencing or worked through the same thing. Don't hesitate to jump in and ask or share your knowledge!

Need additional guidance?  Check out these Juniper Resources.

Documentation Knowledge Base The Feed

Latest Discussion Posts

  • Thanks Andy. Interesting. I ran the exact same code and on my switch, it just does not stop even after setting the screen lenght to 10. (Hostname: 2S-205-Lab_EX4300 Model: ex4300-48p Junos: 21.4R3) ------------------------------ YVON LEDUC ...

  • I mean to say that my script does display ---more--- asharp@SRX-Node0> file show /var/db/scripts/op/mytest.slax version 1.0; ns junos = "http://xml.juniper.net/junos/*/junos"; ns xnm = "http://xml.juniper.net/xnm/1.1/xnm"; ns jcs = "http://xml.juniper.net/junos/commit-scripts/1.0"; import ...

  • hello Andy, In your comment you mentioned "I've never had any issue with "---(more)---" being displayed for op scripts. " does you mean the result that your script generate don't stop until everything is shown? I was hoping to find a way to show ...

  • I've never had any issue with "---(more)---" being displayed for op scripts. Although, I don't usually print to screen using <output> jcs:printf(""); My approach has always been to declare <output> just once, e.g. main <op-script-results> { ...

  • Hello all, I wrote an op script that basically show a list of all the interfaces with information. Right now, if I run the script against a stack of 5 "48 ports" switch, I get basically 250 lines non-stop. Is there a way to make the script stop every ...

  • From the error message displayed, it looks as though the data structure is not correct, since JSONLoad isn't accepting it. However, from the code snippet shown I can't see where the error is in the returned data, when using export-format state-data ...

  • Hello Andy. Thanks for your reply. Searching around your reply, I discovered that if I used the following for-each : for-each ( $results2/l2ng-l2ald-iff-interface-entry [l2ng-l2ald-iff-interface-entry[1]/l2iff-interface-name == $searched-interface] ...

Announcements

  • JNCIA-DEVOPS Exam Overview webcast

    Sign-up for the upcoming #free expert-led online webcast on Automation & DevOps #JNCIA-DEVOPS certification and gain an understanding on #automation tools and associated best practices. Get a chance to get your questions answered live by our expert Jordan Head.

    Date: Tuesday, February 13, 2024, 8 AM PST

Unanswered Posts

  • 1 person recommends this.

Top Contributors in the Community