Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-892

Reorganize NETCONF source code repository

    XMLWordPrintable

Details

    • Epic
    • Status: Resolved
    • Highest
    • Resolution: Duplicate
    • None
    • None
    • None
    • Reorganize netconf.git

    Description

      Current netconf.git layout and artifact naming and artifact split up is far from navigable. Reorganize the repository and artifacts to split the individual layers and interactions, so that common RESTCONF/NETCONF bits are shared and there is a clear distinction as to which layer a particular artifact belongs to.

      Overall theme here is that we have three basic layers:

      1. protocol handlers, i.e. session setup, communication and low-level logic
      2. protocol plugins, i.e. how protocols interact with MD-SAL
      3. applications, i.e. high-level components providing things like netconf-topology

      Baseline layout is something along the lines of:

      protocol/common
      protocol/netconf
      protocol/restconf
      plugin/netconf-nb
      plugin/netconf-sb
      plugin/restconf-nb
      apps/netconf-topology
      apps/openapi-nb

      This will entail renaming artifacts and moving code around to fit the architecture. On netconf side, this also means we need to take into account for the 4 layers in NETCONF,] i.e.

      1. transport (Netty, SSHD)
      2. messages (netconf.xsd and its manifestation in Java)
      3. operations (specific operations, bound to NormalizedNode)
      4. content (NormalizedNode backend)

      This split seems to be beneficial to RESTCONF as well, although the boundaries there are less clear (transport is HTTP, messages map 1:1 to operations, operations are HTTP requests).

      Attachments

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

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: