Giter Club home page Giter Club logo

Comments (3)

alvinc13 avatar alvinc13 commented on July 23, 2024 1

Hello gcotone,
Thank you for filing this request. We'll look into checkpoint management in a future update. Here are some functions that I can foresee being created:

'get_all_checkpoint'
'get_checkpoint'
'load_checkpoint'
'create_checkpoint'
'delete_checkpoint'

Can you suggest any other use cases that may be missing from this list, and further expand into your rollback request?

from pyaoscx.

gcotone avatar gcotone commented on July 23, 2024 1

Hi @alvinc13 ,

Personally, I'd like to see a function to list the available checkpoints, i.e list_checkpoint(), and also integrate the proposed get_* functions with the existing get_(all_)config:

def get_config(config_name, **kwargs):

Same for loading and creating checkpoints where copy_config could be leveraged for that purpose, using a named checkpoint as src or dst name respectively. E.g.:

  • Create checkpoint -> copy_config(running_config, checkpoint_name_1234)
  • Load Checkpoint -> copy_config(checkpoint_name_1234, running_config)

from pyaoscx.

alagoutte avatar alagoutte commented on July 23, 2024

Hello gcotone,
Thank you for filing this request. We'll look into checkpoint management in a future update. Here are some functions that I can foresee being created:

'get_all_checkpoint'
'get_checkpoint'
'load_checkpoint'
'create_checkpoint'
'delete_checkpoint'

Can you suggest any other use cases that may be missing from this list, and further expand into your rollback request?

interesting how to delete a checkpoint ;)

from pyaoscx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.