Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Add a Batch of Devices to Import

Use this topic to add a batch of brownfield Juniper devices to be imported to Juniper Routing Director.

A superuser can import Juniper devices to Routing Director in bulk by using a .csv file or by creating a batch manually in Routing Director. After a device is imported, Routing Director connects with the device and onboards or adopts it and lists them on the inventory page (Inventory > Devices > Network Inventory).

To add a batch of Juniper devices to be onboarded to Routing Director:

  1. On the left-hand menu, navigate to Inventory > Devices > Device Batches.

    The Batch Imports page appears.

  2. Click + (Add) icon.

    The Create New Batch page appears.

  3. On the Create New Batch page, do one of the following:
    • To upload the batch in a .csv file:

      1. Click the Download CSV Template button to download a sample .csv file.

      2. Create a .csv file with the details of devices to be imported by using the template.

      3. Click Upload CSV File to upload the .csv file.

      4. On the Bulk Upload page that appears, browse for the .csv file that contains the list of devices and click OK. The entries in the list are populated in the Create New Batch page.

    • To create a batch manually:

      1. Click the + (Add) icon.

        The fields on the Create New Batch become editable.

      2. Enter values for each field by referring to table for details.

      3. Click Check Mark to save the entry or the Cross icon to delete the entry.

        If you click Check Mark, Routing Director validates the entered values. If validation fails, the reason for failure is displayed in the Valid column. If validation is successful, the column shows Valid.

      4. Repeat steps a through c to add as may entries as you want.

  4. (Optional) To edit an entry in the batch, select the entry and click the Edit (Pen) icon. The fields become editable. Edit the fields and click Check Mark.
  5. (Optional) To delete an entry in the batch, select the entry and click the Delete (Dustbin) icon.

    In the confirmation dialog that appears, click Yes.

  6. Click Start Import to import the devices in the batch.
    A message indicating batch import request is placed successfully appears followed by the View Batch page. On the View Batch page, you can:
    • View the status of the device import as the import progresses.

    • If a device import fails, view the reason for failure,

  7. (Optional) On the View Batch page:
    • Click Abort Batch to abort device import.

      When you abort a batch, only the devices that are in the process of being imported are aborted. Abort does not have any impact on the devices already imported.

    • Click Back to go back to the Batch Imports page.

Table 1: Fields to Add a Device Batch for Import
Field Description
Host*

Enter the IPv4 or IPv6 address of the device to be onboarded. For example 10.10.10.10.

Port*

Enter the port on which the connection to Routing Director must be established. For example, 22.

Range: 1 through 65535

Authentication* Select the type of authentication to be used by the device for the connection with Routing Director. Available options are:
  • Password—You must provide a username and password for Routing Director to connect with the device.

  • SSH-key—You must provide a valid SSH key for Routing Director to connect with the device.

  • System managed—You need not input any password or key for authentication. Authentication is managed by the device. For example, by using an external authentication server such as RADIUS.

    When System Managed authentication is selected for a device, you must configure authentication as Device Managed in Routing Director. See Device Authentication Options for details.

Username

If you select Password for Authentication, enter an username for authenticating the connection.

The username can have a maximum length of 256 characters.

Password If you select Password for Authentication, enter a password for the username.

The password can have a maximum length of 4096 characters.

Key

If you select SSH-key for Authentication, enter an SSH key for authenticating the connection.

The SSH key can have a maximum length of 4096 characters.

Site*

Enter the site where the device would be deployed.

Network Implementation Plan

Enter the network implementation plan that would be used to configure and manage the device. Entering a network implementation plan that is not configured in Routing Director results in a validation error,

Device Profiles

Enter the device profiles to be assigned to the device. The device profile must be added to the network implementation plan selected for the device. Entering a device profile that is not part of the network implementation plan results in a validation error,

Validation

Indicates whether the device details entered are valid or not. Valid indicates that the entry is valid. If you enter an invalid value, validation fails and the reason for failure is mentioned in the Valid column.