netbox-sync icon indicating copy to clipboard operation
netbox-sync copied to clipboard

Add OpenStack & oVirt Support

Open dupondje opened this issue 3 years ago • 10 comments

We use the netbox-sync tool here, but also wanted to import data from Openstack into Netbox. As this was not available yet, we did build it :)

This pull req adds support for openstack source and syncs clusters (availability groups) / hypervisors and vm's.

dupondje avatar Jan 10 '22 10:01 dupondje

Hi,

This is amazing, thank you.

First of all: I don't have experience in OpenStack and also no OpenStack environment to test.

In order to add and maintain this I need your help. Would you commit to support and maintain the source?

Would you do that?

bb-Ricardo avatar Jan 10 '22 11:01 bb-Ricardo

Hi,

As long as we have an OpenStack environment I can help with it :) If things break on some other openstack version or so, then its a bit harder to debug ...

But as we needed openstack sync, and we used your project as a base, it was the right thing to contribute the source plugin!

dupondje avatar Jan 13 '22 08:01 dupondje

Great, this sounds promising.

Do you think this is useful to test your import against?: https://github.com/rackerlabs/mimic

What we still need:

  • is a updated settings-example.ini
  • a description in docs/
  • a code clean up 😄

I See you copied the VMWare handler. But it seems there quite some config vars which are not used. I know it is quite a bit of work but it would help users and future developers to understand what's possible and how it works.

Then I would happily merge your PR and slowly prepare the next release 🤩

Thank you.

bb-Ricardo avatar Jan 13 '22 13:01 bb-Ricardo

Hi @dupondje, I would really like to see this source in the next release. Did you have some time to polish this PR a bit?

bb-Ricardo avatar Feb 03 '22 13:02 bb-Ricardo

@bb-Ricardo : its on my TODO list :) i'll push it when done

dupondje avatar Feb 03 '22 13:02 dupondje

@bb-Ricardo : its on my TODO list :) i'll push it when done

Awsome

bb-Ricardo avatar Feb 03 '22 13:02 bb-Ricardo

Hi @dupondje, was wondering if this is ready to merge or if you're still working on this.

bb-Ricardo avatar Jun 17 '22 21:06 bb-Ricardo

Hey @dupondje, can you please let me know about the current status of this PR?

bb-Ricardo avatar Aug 24 '22 19:08 bb-Ricardo

@dupondje do you have working code for nebox 3.3.0?

ludvik78 avatar Sep 21 '22 06:09 ludvik78

As netbox-sync received a lot of changed, I modified the sync code for OpenStack also to the latest netbox-sync version. Testing everything out atm, but seems to work fine :)

dupondje avatar Aug 23 '23 13:08 dupondje