Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import_netbox_json instead of import_netbox #125

Open
moseisleydk opened this issue Jan 25, 2024 · 5 comments
Open

import_netbox_json instead of import_netbox #125

moseisleydk opened this issue Jan 25, 2024 · 5 comments

Comments

@moseisleydk
Copy link

moseisleydk commented Jan 25, 2024

Environment

  • Python version:
  • Nautobot version:
  • nautobot-netbox-importer version: 1.4.2

Availability of "nautobot-server import_netbox" on the command line

Only nautobot-server import_netbox_json is available (without options).

Using this nautobot-server import_netbox_json gives:

6589ea9ea190:/$ nautobot-server import_netbox_json /tmp/netbox_data.json 3.4.7
CommandError: Maximum NetBox version supported is 2.10.8
6589ea9ea190:/$

Steps to Reproduce

I have installed nautobot in docker after the docs, its clean
I have installed nautobot_netbox_importer 1.4.2 (pip install nautobot-netbox-importer in the container) and can see it in Naubot under plugins. as in https://docs.nautobot.com/projects/netbox-importer/en/latest/admin/install/#access-requirements
I have exported a json out fron an existing NetBox 3.4.7

@moseisleydk
Copy link
Author

`nautobot@6589ea9ea190:/$ nautobot-server help

Type 'nautobot-server help ' for help on a specific subcommand.

Available subcommands:

[auth]
changepassword
createsuperuser

[cacheops]
cleanfilecache
invalidate

[constance]
constance

[contenttypes]
remove_stale_contenttypes

[core]
celery
generate_secret_key
generate_test_data
post_upgrade
start
startplugin
validate_models

[dcim]
trace_paths

[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver

[django_extensions]
admin_generator
clean_pyc
clear_cache
compile_pyc
create_command
create_jobs
create_template_tags
delete_squashed_migrations
describe_form
drop_test_database
dumpscript
export_emails
find_template
generate_password
graph_models
list_model_info
list_signals
mail_debug
managestate
merge_model_instances
notes
pipchecker
print_settings
print_user_for_session
raise_test_exception
reset_db
reset_schema
runjobs
runprofileserver
runscript
runserver_plus
set_default_site
set_fake_emails
set_fake_passwords
shell_plus
show_template_tags
show_urls
sqlcreate
sqldiff
sqldsn
sync_s3
syncdata
unreferenced_files
update_permissions
validate_templates

[django_jinja]
makemessages

[django_rq]
rqenqueue
rqscheduler
rqstats

[drf_spectacular]
spectacular

[extras]
fix_custom_fields
nbshell
remove_stale_scheduled_jobs
renaturalize
rqworker
runjob
webhook_receiver

[graphene_django]
graphql_schema

[health_check]
health_check

[nautobot_netbox_importer]
import_netbox_json
import_netbox_objectchange_json

[rest_framework]
generateschema

[sessions]
clearsessions

[social_django]
clearsocial

[staticfiles]
collectstatic
findstatic
runserver

[utilities]
makemigrations
migrate
6589ea9ea190:/$
`

@chadell
Copy link
Contributor

chadell commented Jan 26, 2024

@moseisleydk This project is being completely revamped to support the new Nautobot 2.x and NetBox 3.x. The current version only supports NetBox 2.x and Nautobot 1.x.
Most of the work is already done (still in develop), and we are doing a few more enhancements before releasing the new version. It should be out in a few weeks.

@moseisleydk
Copy link
Author

@chadell - Thanks for the info. I will sit thight and wait for it !

@chadell
Copy link
Contributor

chadell commented Jan 26, 2024

you can also give it a try, and use the code from develop. It's not covering everything, but it could give some good results

@snaselj
Copy link
Contributor

snaselj commented Mar 1, 2024

Release of the new version is comming soon @moseisleydk, the latest changes are merged to the develop branch, if you want to give it a try.

To get dev environment running, you can follow instructions here:

https://github.com/nautobot/nautobot-app-netbox-importer/blob/develop/docs/dev/demo.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants