Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netbox 3.0 adjustments #128

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Netbox 3.0 adjustments #128

merged 2 commits into from
Nov 3, 2023

Conversation

swagner-de
Copy link
Contributor

With netbox 3.0, there were 2 API changes that affect us:

  1. Interfaces can now carry multiple connections, I believe is that is
    to support broken out interfaces. We do not plan to have break outs
    in the future, however we have them now. Yet we model them in the
    form that we create a new interface (which could carry individual
    VLANs and so on) and then model the connection. Hence, there is no
    need for us to support multiple connected endpoints under an
    interface. If we encounter it, we fail.

  2. Sites can have multiple ASNs now, ASNs are objects, not plain ints
    anymore. This is not an issue so far as a site currently only carries
    one ASN, which we simply unpack. Yet, I can imagine that we use
    multiple ASN in a site in the future in which case we would currently
    throw an exceptions. That's fine for now. If the time comes, we
    probably need to tag the ASN we want to use for the fabric.

With netbox 3.0, there were 2 API changes that affect us:
1. Interfaces can now carry multiple connections, I believe is that is
   to support broken out interfaces. We do not plan to have break outs
   in the future, however we have them now. Yet we model them in the
   form that we create a new interface (which could carry individual
   VLANs and so on) and then model the connection. Hence, there is no
   need for us to support multiple connected endpoints under an
   interface. If we encounter it, we fail.

2. Sites can have multiple ASNs now, ASNs are objects, not plain ints
   anymore. This is not an issue so far as a site currently only carries
   one ASN, which we simply unpack. Yet, I can imagine that we use
   multiple ASN in a site in the future in which case we would currently
   throw an exceptions. That's fine for now. If the time comes, we
   probably need to tag the ASN we want to use for the fabric.
Since netbox now supports tagging of VLAN groups, we can tag these
groups and thus not have to rely on some lose convention if and when a
VLAN group should considered to be always an extra vlan.
@swagner-de swagner-de merged commit 0244d33 into stable/yoga-m3 Nov 3, 2023
3 checks passed
@swagner-de swagner-de deleted the netbox3 branch November 3, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants