Giter VIP home page Giter VIP logo

netbox-device-scripts's People

Contributors

falz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aopdal jhinckley

netbox-device-scripts's Issues

Add Feature to update only interface status

Due to the "dynamic" nature of for example, a switch, would be useful to have the following:

  1. if device exists go in update mode
  2. in update mode just update the status of the interfaces (eg: description, up/down)

Thx

Device to Netbox, issue create netbox device platform.id, object has no attribute 'id

Hello @falz device to netbox python i get this issue .....

Password for user "user" to log in to "X.x.x.x":
Connection summary:

    user:   Netbox
    device: X,x,x,x
    model:  cisco
    os:     ios
    role:   router
    site:   eid1
    tenant: tname

Netbox sanity checks: Done
Connecting to Xx.x.x.: Done
Getting info: Facts Interfaces IPs BGP Done

Creating netbox device: Traceback (most recent call last):
File "c:\Users\abdik\Documents\Visual Code\Netbox\Device_Scripts\device-to-netbpx.py", line 514, in
device_result = create_netbox_device(config, nb, args, device_dict, sanitydata)
File "c:\Users\abdik\Documents\Visual Code\Netbox\Device_Scripts\device-to-netbpx.py", line 240, in create_netbox_device
platform = platform.id,

AttributeError: 'NoneType' object has no attribute 'id'

Please help to resolve this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.