Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1085

Write sequence in netconf connector does not fully conform to RFC 6241

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Helium
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 2560

    Description

      Current write sequence follows these steps(candidate supported):

      • edit(candidate)
      • commit

      But it is required to use locking and also detect concurrent edits for shared datastores (using discard changes).

      Expected canonical write for devices supporting only writable running capability:

      • lock running or fail
      • edit running (unlock on fail)
      • unlock running

      supporting only candidate:

      • lock candidate
        • if lock fails, try to discard changes
          • if discard fails, fail
          • if discard succeeds, lock candidate
            • if lock fails, fail
      • edit candidate (discard-changes + unlock on fail)
      • commit
      • unlock candidate

      supporting both writable running and candidate:

      • lock running or fail
      • SAME AS FOR CANDIDATE ONLY
      • unlock running

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmarsale@cisco.com Maros Marsalek
              mmarsale@cisco.com Maros Marsalek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: