Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SWEET-6] Restart scenario #50

Open
vvalderrv opened this issue Jan 2, 2025 · 0 comments
Open

[SWEET-6] Restart scenario #50

vvalderrv opened this issue Jan 2, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

Use VOM to handle sweetcomb restart managent.

  • VPP restart
    • sweetcomb must detect the vpp if it's down (sr_plugin_health_check_cb - already implement)
    • sweetcomb should wait to vpp until it be restart (third part should restart it, like systemd)
      • sweetcomb should print INFO message to log, the vpp is down
    • sweetcomb (VOM) should create interfaces (host, loopback, ...)
    • need create (cope from honeycomb) YANG modules for vpp interfaces
    • use VOM (OM::replay) to reconfigure VPP
    • The sweetcombshould return error message when the VPP is down and agent want configure VPP
  • Sweetcomb is restart
    • OM::populate
    • download all the configuration from VPP
    • sweetcomb store running datastore to file
    • create backup of running datastore
    • must handle possible situation when the backup is broken
      • have copy of the older version of the backup?
    • when the sweetcomb is correct stop this backup should be remove
    • backup should be create after every change
    • when the sweetcomb is restart from crash
      • it's look for the backup
        • restart sysrepo running config from backup
        • "reset" it's running config to VPP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant