Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
snaselj committed May 15, 2024
1 parent 06ba3f2 commit 69bc0e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/dev/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ The initial output of the import process will resemble the following:
```
Running docker compose command "ps --services --filter status=running"
Running docker compose command "exec nautobot nautobot-server import_netbox --save-json-summary-path=generated-mappings.json --bypass-data-validation --dry-run --field-mapping --sitegroup-parent-always-region --summary --no-color https://raw.githubusercontent.com/netbox-community/netbox-demo-data/master/json/netbox-demo-v3.6.json"
Running docker compose command "exec nautobot nautobot-server import_netbox --save-json-summary-path=generated-mappings.json --bypass-data-validation --dry-run --sitegroup-parent-always-region --print-summary --no-color https://raw.githubusercontent.com/netbox-community/netbox-demo-data/master/json/netbox-demo-v3.6.json"
11:01:05.550 DEBUG nautobot.core.celery __init__.py import_jobs_as_celery_tasks() :
Importing system Jobs
11:01:05.552 DEBUG nautobot.core.celery __init__.py register_jobs() :
Expand Down
8 changes: 4 additions & 4 deletions docs/user/app_use_cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ This document describes common use-cases and scenarios for this App.
This app provides `import_netbox` management command to import data from NetBox with the following options:

```bash
nautobot-server import_netbox --help

nautobot-server help import_netbox
usage: nautobot-server import_netbox [-h] [--dry-run] [--update-paths] [--bypass-data-validation] [--sitegroup-parent-always-region] [--fix-powerfeed-locations] [--print-summary]
[--no-unrack-zero-uheight-devices] [--save-json-summary-path SAVE_JSON_SUMMARY_PATH] [--save-text-summary-path SAVE_TEXT_SUMMARY_PATH] [--version] [-v {0,1,2,3}]
[--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--force-color] [--skip-checks]
[--no-unrack-zero-uheight-devices] [--save-json-summary-path SAVE_JSON_SUMMARY_PATH] [--save-text-summary-path SAVE_TEXT_SUMMARY_PATH] [--trace-issues] [--version]
[-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--force-color] [--skip-checks]
json_file

Import a NetBox JSON data dump into Nautobot's database
Expand All @@ -38,6 +37,7 @@ options:
File path to write the JSON summary to.
--save-text-summary-path SAVE_TEXT_SUMMARY_PATH
File path to write the text summary to.
--trace-issues Show a detailed trace of issues originated from any `Exception` found during the import.
--version show program's version number and exit
-v {0,1,2,3}, --verbosity {0,1,2,3}
Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
Expand Down

0 comments on commit 69bc0e6

Please sign in to comment.