You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
Rather than having a blanket default site and/or device role, provide some method that allows customizing the site and/or device roles applied to devices when imported.
Use Case
As an end user using the current state of the plugin, changing device roles and device sites must be down manually after importing data in Nautobot. Allowing for customization of device role and sites would streamline the import process.
The text was updated successfully, but these errors were encountered:
qduk
changed the title
Customizing device role and site for device import
Device role and device site per device customization
Sep 26, 2021
Our initial idea for this is to allow an end user to provide a dictionary that maps substrings to site names as a plugin variables. An example would be something like the following:
PLUGINS_CONFIG = {
"nautobot_ssot_aristacv":
"site_mappings": {
"nyc": "New York City",
"atl": "Atlanta",
"sfo": "San Francisco",
"dal": "Dallas"
}
}
We could check each device to see if any of the provided substrings exists in the device hostname. We'll take the provided value create the site in Nautobot if it doesn't exists and assign the device to that site.
Environment
Proposed Functionality
Rather than having a blanket default site and/or device role, provide some method that allows customizing the site and/or device roles applied to devices when imported.
Use Case
As an end user using the current state of the plugin, changing device roles and device sites must be down manually after importing data in Nautobot. Allowing for customization of device role and sites would streamline the import process.
The text was updated successfully, but these errors were encountered: