Giter Site home page Giter Site logo

Comments (7)

cmacnevin avatar cmacnevin commented on June 25, 2024

Any large scale modern layer 3 data center relies on 4-byte ASNs, which are most often represented using asdot notation. Definitely agree this is a necessity.

from nautobot-app-bgp-models.

mzbroch avatar mzbroch commented on June 25, 2024

Any large scale modern layer 3 data center relies on 4-byte ASNs, which are most often represented using asdot notation. Definitely agree this is a necessity.

We could explore how this could be implemented in a way to keep the consistency between UI/REST/GraphQL (how to support BigIntegerField (asplain) vs Char (asdot+))

from nautobot-app-bgp-models.

rifen avatar rifen commented on June 25, 2024

Ran into this this week! 👍🏻 Would be a great addition.

from nautobot-app-bgp-models.

mzbroch avatar mzbroch commented on June 25, 2024

@mattmiller87 @glennmatthews

We could solve this by adding two new fields on the ASN model: as_dot and as_dot_plus that would be computed and checked in the model's clean() method. This should provide sufficient type consistency for UI / API displaying and filtering.

from nautobot-app-bgp-models.

glennmatthews avatar glennmatthews commented on June 25, 2024

Do these even need to be database fields or can they just be computed @property items?

from nautobot-app-bgp-models.

mzbroch avatar mzbroch commented on June 25, 2024

Do these even need to be database fields or can they just be computed @property items?

This could work too, I was concerned with filtering of computed data but this might not be an issue

from nautobot-app-bgp-models.

cmacnevin avatar cmacnevin commented on June 25, 2024

Re @mzbroch 's comment above, here's something to consider:

This isn't a request in the original ask, but it would be awesome if we could actually plan ASNs with their own view, the same way we do with prefixes. Enabling asdot notation would mean this can be hierarchical - or at least a simple two-level hierarchy - which would actually be very useful when planning data center routing space.

So what Im suggesting here is that if it's a computed field, does that make it easier or harder to do something like this?

from nautobot-app-bgp-models.

Related Issues (20)

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.