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

Inconcistant API layout of NB APIs

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • adsal
    • None
    • Operating System: Linux
      Platform: PC

    Description

      There are some issues that are concerning when looking at the NB APIs.

      A collection endpoint is /

      {containerName}/subnet/all vs /{containerName}

      /nodes

      also there's a difference in the usage of POST vs PUT for creation of new objects.
      POST /controller/nb/v2/staticroute/

      {containerName}/route/{route}
      PUT /controller/nb/v2/flow/{containerName}

      /node/

      {nodeType}

      /

      {nodeId}

      /static-flow/

      {name}

      Attachments

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

        Activity

          People

            ppallamr@cisco.com Prasanth Pallamreddy
            endre.karlson@gmail.com Endre T. Karlson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: