Skip to content

Move more BGP types from omicron-common to nexus-types - #9921

Merged
jgallagher merged 2 commits into
john/nexus-external-common-to-typesfrom
john/nexus-external-common-to-types-2
Feb 26, 2026
Merged

jgallagher merged 2 commits into
john/nexus-external-common-to-typesfrom
john/nexus-external-common-to-types-2

Conversation

@jgallagher

Copy link
Copy Markdown
Contributor

Moves the latest versions of BgpConfig, BgpImported, and BgpExported to the nexus-types version where they were introduced. Allows us to address some lingering todos about From impls in the wrong places on older versions.

Part of #9801. Stacked on top of #9915.

@jgallagher
jgallagher merged commit 854acd7 into john/nexus-external-common-to-types Feb 26, 2026
16 checks passed
@jgallagher
jgallagher deleted the john/nexus-external-common-to-types-2 branch February 26, 2026 18:12
jgallagher added a commit that referenced this pull request Feb 27, 2026
…::early_networking::*` (#9922)

This is a part of #9801: all of these types are kept in the bootstore,
and by necessity are also part of the sled-agent API (since it writes
the bootstore!). They are also intimately involved in the rack's early
networking, hence the choice of landing spot. On #9801 we also discussed
putting them in a types crate of their own. We could still do that, but
I didn't run into any problems putting them in `sled-agent-types` so
didn't see a reason to pursue it.

There should be no functional changes here. There are some chunks of
code deletions based on using more progenitor `replace` directives and
removing some now-unnecessary, manually-duplicated types. There are no
OpenAPI spec changes; this only moves types around. Some crates grew a
new dependency on `sled-agent-types` to get at things that used to be in
`omicron-common`, but this did not affect any `ls-apis` checks (as
expected).

Staged on top of #9921.
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