joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

Create the ability for conch to actively pull rack,device and interface information from netbox #1088

Open bdelano opened 3 years ago

bdelano commented 3 years ago

Conch should be able to populate its tables via netbox api calls for things like racks, devices in those racks and interfaces on those devices

Please see Here for netbox api docs https://dcim.chkmyip.com/api/docs/

relevant endpoints: /dcim/racks/?tag=cosmos /dcim/devices/?tag=cosmos /dcim/interfaces/?tag=cosmos

bdelano commented 3 years ago

Also, we need to have the ability of conch to kick off a pull request based on a webhook request.. request will include specifics about devices or racks... so conch doesn't have to do a full update