Skip to content

rConfig - Devices Documentation

5 mins V7 Pro V6 Core

There are 5 ways to add/edit a device in rConfig v7.

  1. Manually via the devices add button on the devices page.
  2. Using the Clone button to clone an existing device on the devices page.
  3. Using the REST API to add a new device. more on this in the API section.
  4. Using the import feature to import devices from a CSV file. More on this in the import section.
  5. Using an integration to add devices from a third party system. More on this in the integrations section.

On the devices table, there are a number of functions immediately available. From the dropdown menu on the right of each device row, you can perform the following actions.

  1. View Device - Opens this Devices details page - View Icon
  2. Edit Device - Opens similar modal with all device settings for editing - Edit Icon
  3. Clone Device - Launches a new modal with details pre-populated similar to selected device excluding IP and Name - Grey Copy Icon
  4. Disable Device - This will disable the device from being used in any scheduled tasks or manual downloads - Grey Disable Icon
  5. Delete Device - Obviously be careful with this, but you are prompted to confirm deletion before the device is removed - Red Delete Icon

Device prerequisites

Before adding a device, you should have the following items designed and setup in rConfig.

  • Command Groups - Command Groups are used to group devices together. For example, you may have a category for ‘Core Switches’ and another for ‘Access Switches’. You can then use these Command Groups to filter devices in the devices table. Devices belong to one category, only.
  • Commands - Commands are used to execute commands on devices. For example, you may have a command to ‘show version’ or ‘show ip interface brief’. You can then use these commands to execute commands on devices. Commands belong to one or more Command Groups.
  • Vendors - Vendors are useful but arbitrary. For example, you may have a vendor for ‘Cisco’ and another for ‘Juniper’. You can then use these vendors to filter devices in the devices table. Devices belong to one vendor, only.
  • Templates - Connection templates are used to connect to devices. For example, you may have a template for ‘Cisco SSH’ and another for ‘Juniper SSH’. You can then use these templates to connect to devices. Devices belong to one template, only.
  • Tags - Tags are used to group devices together. For example, you may have a tag for ‘Core’ and another for ‘Access’. You can then use these tags to filter devices in the devices table. Devices belong to one or more tags.

You can also search filter and edit table columns in the toolbar of the table. Note that the table is paginated. And there are specific actions available to filter for up/down device status.

Device Table

The Device main page has a simplified view from previous versions of rConfig. From here you can view configurations, initiate a download, and view device logs, clone the device and copy the debug command to the clipboard.

Device Main View

Adding or Editing a device

Go to ‘Device Management/ Devices’

Click on ‘Add New’

As soon as a device is added a download job will start immediately. Check the queue manager and activity logs for jobs status.

Device Fields

Lets get into some detail on the Device Add/ Edit forms.

Requried fields are denoted on the form with a red asterisk.

FieldNotes
Device NameName field. Alphanumeric characters with underscores and dashes are allowed - Min 3 characters
HostnameNew in V7, you can specify a hostname or valid IP Address
Default Port OverrideNew in V7, you can now override the port as specific in the connection template manually by entering a numeric value here
VendorAs configured in the Vendor section
ModelCan choose from existing, or just enter new string
CategoryAs configured in the Category section
TagsMultiselect as configured in the Tags section
UsernameType manually (option to select from set of credentials when clicking dropdown - this will immediately change the inputted credentials on the form)
PasswordType manually or auto populated when previous is selected
Enable PasswordOptional if required or auto populated when previous is selected
TemplateMust choose, please see templates help document for more information
Main PromptPreferred to be full specific prompt, but regex/ partial strings allowed. Please see the device prompts doc for more information
Enable PromptPreferred to be full specific prompt, but regex/ partial strings allowed. Please see the device prompts doc for more information

integration_host_id field

As of V7.0.8 there is a new field that can be displayed in the main devices table. The integration_host_id column, can be selected from the column selector. As of V7.0.8, there are two use cases for this fields. First is for Zabbix, or other NMS integrations device sync activies. This Field will be populated, with the upstream NMS platform HOST ID. Second, is this field can be manually updated via the rConfig RESTful API. Please review the API Documentation in the Settings section of the V7 GUI. Finally, there is a new RESTFUL API endpoint to invoke an immediate download for a give device using this column. Again review the API Documentation in the Settings section of the V7 GUI for more information on the download-now endpoint.

Role based access to Devices

As of V7.1.0 there is a new feature to allow role based access to devices. This feature is enabled by default, and the system admin role has access to all devices. This is hardcoded and cannot be changed. To add or edit roles to devices, simply edit the device in quesiton, and chnage the role in the new Roles & Security section.

When a user is restricted to a role, they will only see devices that have that role assigned to them. If a device has no role assigned to it, then the user will not see that device in the devices table. This includes related views such as Command Groups (previously known as Categories), commands, templates, and vendors.

Device RBAC Hierarchy

The device RBAC feature is hierarchical, a role can be assigned toa device or a tag. Command Groups (previously known as Categories) do not play a part in the hierarcy, as their purpose in the rConfig application is due to be rebranded. The hierarchy is as follows:

Tag - If a role is assigned to a tag, then all devices with that tag will inherit that role. Device - If a role is assigned to a device, then that device will have that role.

Troubleshooting Device RBAC

If any issues are encountered with the device RBAC feature, you can run the following command to update the device roles to Update all devices to ensure they at least have admin have roles attached to them.

php artisan rconfig:update-device-roles