Automation

 View Only
last person joined: 6 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  Question on the PyEZ lock() method

     
    Posted 04-19-2023 05:10

    Hi.

     

    If my PyEZ script locks a device's configuration database via the Config.lock() method, and loses connection with the device before unlocking its database, will the configuration database be locked to all other users? How do I recover from this?

     

    Thanks,

    Deepak


    Juniper Business Use Only



  • 2.  RE: Question on the PyEZ lock() method

    Posted 05-03-2023 17:45

    Hi Deepak,

    If the lock is set as exclusive no other user can configure the device, to recover the router from this you can follow this KB:

    https://supportportal.juniper.net/s/article/Junos-Error-during-commit-error-configuration-database-locked-by?language=en_US

    Thanks,
    Adrian.



    ------------------------------
    Teodor Adrian Soroceanu
    ------------------------------