Giter VIP home page Giter VIP logo

ttl255-netbox-plugin-bgppeering's People

Contributors

progala avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ttl255-netbox-plugin-bgppeering's Issues

Invoke makemigrations doesn't provide a file on Windows.

Hello, I'd like to first thank you for a wonderful blog series! I am working on building a VOIP plugin for Netbox but am stuck at the point where you run "invoke makemigrations" - the command runs, no errors are found, and it finishes but it never shows or generates the directory or the migration file. I am doing my development on Windows 10 and ran into an issue with invoke earlier in the process, too. I have two questions:

  1. Would extending invoke.py with app_name solve this? Can you show how you did this?
  2. If not, any other tips for getting makemigrations to generate the necessary folder and file?

Thanks so much!

Peer Type attribute

Was happy to find this plugin, have not yet tested it. I would suggest adding a 'Peer Type' where it's one of these, at bare minimum, and perhaps configurable choices, but at bare minimum:

  • Customer
  • Peer
  • Transit

This is helpful if one were to use this to automatically create peering policy configurations, which would be impossible to do without knowing the relationship of the peer.

Think localpref as an example of one attribute one would set based on peer type, which is typically higher for customer and settlement free peers than it would be for paid transit.

Service 'netbox' failed to build

ttl255-netbox-plugin-bgppeering # invoke build
[...]
Step 7/15 : RUN pip install --upgrade pip && pip install poetry
---> Running in daa4689763b7
Requirement already satisfied: pip in /usr/local/lib/python3.8/site-packages (20.3.3)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f991867aa30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f991867a190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f991868f160>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f991868f340>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f991868f4f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pip/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3d6fdc2b20>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/poetry/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3d6fdc2d60>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/poetry/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3d6fdc2f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/poetry/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3d6faef0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/poetry/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3d6faef280>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/poetry/
ERROR: Could not find a version that satisfies the requirement poetry
ERROR: No matching distribution found for poetry
Service 'netbox' failed to build: The command '/bin/sh -c pip install --upgrade pip && pip install poetry' returned a non-zero code: 1

Add ASN and Community

Hi @progala!
Is this a tutorial only project?
I have a plugin for BGP ASN and Community documentation. I can make PR if you plan to convert project to production use.

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.