Scan network and updating IP addresses in Netbox with python.

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 43

  • @mayanktripathi4214
    @mayanktripathi4214 3 роки тому +1

    It was great learning for me

  • @peterornelas4873
    @peterornelas4873 2 роки тому +1

    how do i get the script and is there instructions on how to set it up? Im using docker and the latest netbox.

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  2 роки тому

      You can use this script where you have installed python. Operation system windows, linux, mac is up to you.)

    • @peterornelas4873
      @peterornelas4873 2 роки тому

      Thanks. Is there a link? Also do you have a script that can connect to Cisco switches and pull devices, ips and Mac addresses?

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  2 роки тому

      @@peterornelas4873It's about update ip address gitlab.com/Sasha0986/netbox/-/blob/master/updateipv2.py

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  2 роки тому

      About connect to cisco I have already record video, but have to edit and publish. You will see soon. Now can recommend to watch this videos:
      ua-cam.com/video/2F_hxcL44OE/v-deo.html
      ua-cam.com/video/ZplFU8MD5Ks/v-deo.html

    • @peterornelas4873
      @peterornelas4873 2 роки тому

      Love your work!
      Can't wait to see the script.

  • @sipirock9383
    @sipirock9383 3 роки тому +1

    the result always marked as /32 ? how about delegation if the ip result /32 has been added to /29 or etc?

  • @sticky42oh
    @sticky42oh Рік тому

    Anyway to get the DNS names, also?

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  11 місяців тому +1

      Hi there! I have recorded a video that I hope you will enjoy. ua-cam.com/video/IllcawPDMYw/v-deo.html

  • @iimanov
    @iimanov 2 роки тому +1

    Hi,
    Can you share step by step guide how to enable network scan feature?

  • @atifmbaig
    @atifmbaig 3 роки тому +1

    Can you please share you script and how we can install scanner module on netbox?

  • @ammuvlogs3483
    @ammuvlogs3483 Рік тому +1

    this script create ip address doesnot work anymore. does anyone had a way to fix this

  • @Home_Ushass
    @Home_Ushass Рік тому

    ImportError: cannot import name 'NetBox' from 'netbox' - I am getting this error . Can you help. No online documents refer to this error which is strange and means I am doing something wrong.

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  Рік тому

      Hello.
      You have to install this module pypi.org/project/python-netbox/
      pip3 install python-netbox

    • @Home_Ushass
      @Home_Ushass Рік тому

      Already did - PS OneDrive - \Projects Works\Net Box> pip3 install python-netbox
      Requirement already satisfied: python-netbox in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.0.22)
      Requirement already satisfied: ipaddress in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from python-netbox) (1.0.23)
      Requirement already satisfied: requests in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from python-netbox) (2.28.2)
      Requirement already satisfied: idna=2.5 in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->python-netbox) (3.4)
      Requirement already satisfied: charset-normalizer=2 in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->python-netbox) (3.0.1)
      Requirement already satisfied: urllib3=1.21.1 in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->python-netbox) (1.26.14)
      Requirement already satisfied: certifi>=2017.4.17 in appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests->python-netbox) (2022.12.7)
      PS OneDrive - \Projects Works\Net Box>

  • @rodrigobautistagutierrez5366
    @rodrigobautistagutierrez5366 4 роки тому +1

    Ссылочку Git ? Как по локациям разбросать?

  • @atifmbaig
    @atifmbaig 3 роки тому

    I am getting this error ModuleNotFoundError: No module named 'actionlogger'

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  3 роки тому

      Hello) I did new version of script without actionlog. gitlab.com/Sasha0986/netbox/-/blob/master/updateipv2.py
      And also I made changes in last part of script. I use change status IP address from active to deprecated Instead of delete IP address.

  • @Jack-vf1cb
    @Jack-vf1cb Рік тому +1

    where can I download this script?

  • @GantzStoltz
    @GantzStoltz 3 роки тому

    ты б хоть ссылочкой на гит поделился

    • @Automationtoolsinfrastructure
      @Automationtoolsinfrastructure  3 роки тому +1

      Hello) Especially for you, because if you read comments you'll saw it. gitlab.com/Sasha0986/netbox.git

    • @GantzStoltz
      @GantzStoltz 2 роки тому

      @@Automationtoolsinfrastructure many thx)