Skip to content

rConfig - Devices Documentation

5 mins V8 Pro V6 Core

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

  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:

Device Table
  1. Roles - Manage role-based access to devices - see section below.
  2. Edit - Opens modal with all device settings for editing
  3. Clone - Launches a new modal with details pre-populated similar to selected device excluding IP and Name
  4. Disable - This will disable the device from being used in any scheduled tasks or manual downloads
  5. Delete - Obviously be careful with this, but you are prompted to confirm deletion before the device is removed

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 search, filter and edit table columns in the toolbar of the device table. Note that the table is paginated. And there are specific actions available to filter for up/down device status.

Device Table

From the device main page, 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

Let’s get into some detail on the Device Add/Edit forms.

Device Form

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

FieldNotes
Device NameName field. Alphanumeric characters with underscores, dots and dashes are allowed. Spaces are not allowed - Min 3 characters
Device IPYou can specify a valid IP Address
Device PortYou can override the port as specific in the connection template manually by entering a numeric value here
VendorAs configured in the Vendor section
Command GroupAs configured in the Command Group section
ModelCan choose from existing, or just enter new string
TagsMultiselect as configured in the Tags section
RoleChoose which roles can view/manage device
SNMPAdd device to SNMP polling group
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

There is a 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 question, and change the role in the Role section.

Device RBAC

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.

The device RBAC feature is hierarchical, a role can be assigned to a device or a tag. Command Groups (previously known as Categories) do not play a part in the hierarchy, 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.

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

php artisan rconfig:update-device-roles