Nautobot SSoT ServiceNow
Project description
Nautobot Single Source of Truth -- ServiceNow Data Target
A plugin for Nautobot, building atop the nautobot-ssot plugin.
This plugin provides the ability to synchronize basic data from Nautobot into ServiceNow. Currently the following data is mapped and synchronized:
- Nautobot Manufacturer table to ServiceNow Company table
- Nautobot DeviceType table to ServiceNow Hardware Product Model table
- Nautobot Region and Site tables to ServiceNow Location table
- Nautobot Device table to ServiceNow IP Switch table
- Nautobot Interface table to ServiceNow Interface table
For more information about general usage of the Nautobot SSoT plugin, refer to its documentation.
Installation and Configuration
The plugin is available as a Python package in PyPI and can be installed with pip
into an existing Nautobot installation:
pip install nautobot-ssot-servicenow
The plugin is compatible with Nautobot 1.2.0 and higher
Once installed, the plugin needs to be enabled in your nautobot_config.py
and configured appropriately:
# nautobot_config.py
PLUGINS = [
"nautobot_ssot",
"nautobot_ssot_servicenow",
]
PLUGINS_CONFIG = {
"nautobot_ssot": {
"hide_example_jobs": True,
},
"nautobot_ssot_servicenow": {
"instance": os.getenv("SERVICENOW_INSTANCE"),
"username": os.getenv("SERVICENOW_USERNAME"),
"password": os.getenv("SERVICENOW_PASSWORD"),
},
}
The plugin behavior can be controlled with the following list of settings:
instance
: The ServiceNow instance to point to (as in<instance>.servicenow.com
)username
: Username to access this instancepassword
: Password to access this instance
There is also the option of omitting these settings from PLUGINS_CONFIG
and instead defining them through the UI at /plugins/ssot-servicenow/config/
(reachable by navigating to Plugins > Installed Plugins then clicking the "gear" icon next to the Nautobot SSoT ServiceNow entry) using Nautobot's standard UI and secrets functionality.
If you configure the plugin's settings in
PLUGINS_CONFIG
, those values will take precedence over any configuration in the UI.
Depending on the amount of data involved, and the performance of your ServiceNow instance, you may need to increase the Nautobot job execution time limits (CELERY_TASK_SOFT_TIME_LIMIT
and CELERY_TASK_TIME_LIMIT
) so that the job can execute to completion without timing out.
Questions
For any questions or comments, please check the FAQ first and feel free to swing by the Network to Code slack channel (channel #networktocode). Sign up here
Usage
Once the plugin is installed and configured, from the Nautobot SSoT dashboard view (/plugins/ssot/
), ServiceNow will be shown as a Data Target. You can click the Sync button to access a form view from which you can run the Nautobot-to-ServiceNow synchronization Job. Running the job will redirect you to a Nautobot Job Result view, from which you can access the SSoT Sync Details view to see detailed information about the outcome of the sync Job.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nautobot-ssot-servicenow-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af3d909091abbdfc71343882e96779a06020105d11a6d961a28735bb80636119 |
|
MD5 | b18b773ec597b16fec8ecc9a38c6949a |
|
BLAKE2b-256 | 7b4fc185b7420ca78471e0beff5bae502dd6788e7523a3167aa5dd7231d34181 |
Hashes for nautobot_ssot_servicenow-0.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7efeedf397cf0228fd2290fe3b274bf961fa68b6019fd80f7f17cc7c3a6c2c07 |
|
MD5 | 669c6e620e2a2dd85672b0d534c51b94 |
|
BLAKE2b-256 | a05d8eb6af2b74474056e76a9558168320f60cbdcce53f814a08e76e9c2c72f3 |