Summary 
          Load native config
          Description 
          Load native config against a device in NSO versions 5.x
          Route 
          No Northbound API Available
          Roles 
          
            admin 
          
          Parameters 
          
            Details Example Schema 
          
          
            
              
                Name 
                Type 
                Required 
                Description 
               
             
            
              
    deviceName 
    string 
    yes 
    Device Name 
   
    config 
    string 
    yes 
    Native Config as string or file path relative to NSO run directory. for example, if you want to change a device's hostname, the path will be the field name 'hostname' + the new name 'test' - 'hostname test'  
   
    options 
    object 
    yes 
    Options such as mode of loading config and request verbose 
   
             
          
          
            Copied to Clipboard 
            {
  "deviceName": "dolore",
  "config": "id fugiat eiusmod consectetur reprehenderit",
  "options": {
    "mode": "aliquip aute sint veniam adipisicing",
    "verbose": true,
    "dry-run": "mollit dolore eiusmod",
    "isFile": true
  }
}
           
          
            Copied to Clipboard 
            {
  "type": "object",
  "properties": {
    "deviceName": {
      "type": "string"
    },
    "config": {
      "type": "string"
    },
    "options": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "description": "Indicates the type of load action",
          "enums": [
            "merge",
            "replace"
          ]
        },
        "verbose": {
          "type": "boolean",
          "description": "Indicates if verbose is needed or not"
        },
        "dry-run": {
          "type": "string",
          "description": "Indicates the format to get dry run in",
          "enums": [
            "cli",
            "native",
            "xml"
          ]
        },
        "isFile": {
          "type": "boolean",
          "description": "Indicates whether the string passed is file path or config",
          "schema": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "required": [
    "deviceName",
    "config",
    "options"
  ],
  "additionalProperties": false
}
           
          Return 
          
            Details Example Schema 
          
          
            
              
                Name 
                Type 
                Description 
               
             
            
              
                result 
                object 
                Returned result of loading the native config on a device 
               
             
          
          
            Copied to Clipboard 
            {
  "status": "aliquip",
  "result": [
    {
      "name": "ut",
      "value": "enim cupidatat culpa consectetur"
    },
    {
      "name": "ut culpa in nostrud velit",
      "value": "cupidatat ullamco est commodo"
    },
    {
      "name": "ipsum nulla pariatur occaecat proident",
      "value": "Duis"
    },
    {
      "name": "sed",
      "value": "reprehenderit voluptate"
    },
    {
      "name": "enim quis dolor ex",
      "value": "eu mollit Ut deserunt cupidatat"
    }
  ]
}
           
          
            Copied to Clipboard 
            {
  "oneOf": [
    {
      "type": "object",
      "description": "Result when commit is performed",
      "properties": {
        "status": {
          "description": "Status of carrying out action",
          "type": "string",
          "example": "success"
        },
        "result": {
          "type": "array",
          "description": "Array of results",
          "items": {
            "type": "object",
            "description": "Details of changes made if verbose is requested",
            "properties": {
              "name": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        }
      },
      "required": [
        "status",
        "result"
      ]
    },
    {
      "type": "object",
      "description": "Result of dry-run if it is requested",
      "properties": {
        "device": {
          "type": "string",
          "description": "Device name",
          "enum": [
            "device1",
            "device2",
            "device3"
          ]
        },
        "dry-run": {
          "type": "string",
          "description": "Dry run changes"
        }
      },
      "required": [
        "device",
        "dry-run"
      ]
    }
  ]
}