Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-151

Add a register-nodes command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: RAZOR 0.15.0
    • Component/s: QA, Server
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      3
    • Sprint:
      April 23

      Description

      One way to make brownfield deployments of Razor easier is to allow users to register nodes explicitly. The register-nodes call would take an array of node-like objects and add them as known nodes to the Razor database. Each node object would minimally look something like

      {
      'facts':

      { ... facts about the node ... }

      ,
      'installed': true|false
      }

      The facts do not need to be complete, but have to contain enough information so that the node can be identified when it boots; most commonly, this means that the facts will have to contain at least one MAC address for the node. The 'installed' flag indicates whether the node contains something the user wishes to preserve or whether it's eligible for going through the policy table.

      The response should contain, for each created node, a link to the node object. The behavior when an existing node is mentioned in register-nodes is TBD.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phong Phong Ly
              Reporter:
              lutter David Lutterkort
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support