Skip to content

BS/BR: Reduce interface state to Active/Revoked #2926

@lukedirtwalker

Description

@lukedirtwalker

In the BS we have 4 states: Inactive, Active, Expired, Revoked.
In the BR we have 3 statues: Inactive, Active, Revoked

It is not clear for what an inactive state would ever be needed so we should just drop it.
In general it is enough to have a revocation field. If there is a revocation the state is revoked otherwise we assume the state to be active.

Note that this also means that resetting interface state in the BS, will put all interfaces in the active state.

We should also drop the active field from the if_state message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/controli/breaking changePR that breaks forwards or backwards compatibilityrefactorChange that focuses around reducing tech debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions