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

feat: add LogicalInterface model #23

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

djothi
Copy link
Contributor

@djothi djothi commented Sep 5, 2023

Description:

Add LogicalInterface model.

@djothi djothi requested review from a team September 5, 2023 14:06
@djothi djothi force-pushed the logicalinterface branch 2 times, most recently from e795522 to 39ce07a Compare December 18, 2023 15:33
netbox_cmdb/netbox_cmdb/models/interface.py Outdated Show resolved Hide resolved
netbox_cmdb/netbox_cmdb/models/interface.py Outdated Show resolved Hide resolved
default=AssetStateChoices.STATE_STAGING,
help_text="State of this DeviceInterface",
)
monitoring_state = models.CharField(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessarily for this review, but this is more to start discussions about this:

I don't recall if it has been discussed yet, but how do we deal with the monitoring_state if the parent interface says "disabled", and the logical interface says "critical" for instance ? (and vice versa)

I guess we should implement some sort of precedence between these 2 entities. At first sight it would make sense that a parent interface put in "disabled" mode, would override/inhibit the value on the children interface (logical ones).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC we briefly talked about it, but nothing more. Let's schedule a dedicated meeting. The solution could also impact BGPSession monitoring fields

Copy link
Contributor

@kpetremann kpetremann Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it has already been discussed indeed, there was a page and a consensus :)
I'll share the page in slack

EDIT: we are actually missing details about this point in the page.

@djothi djothi requested review from a team January 4, 2024 09:34
@djothi djothi merged commit 21c3003 into criteo:main Jan 4, 2024
2 checks passed
@djothi djothi deleted the logicalinterface branch January 4, 2024 12:47
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.

3 participants