Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
e6fa98f
rfd-619: scaffold versions crates (Phase 0 + 1)
taspelund Apr 25, 2026
de34cfb
rfd-619 Phase 2a: migrate mg_common::net to mg-common-types-versions
taspelund Apr 25, 2026
0131893
rfd-619 Phase 2b: move Prefix family + PeerId + AddressFamily/Protoco…
taspelund Apr 25, 2026
bfcdf8d
rfd-619 Phase 2b: migrate Path/BgpPathProperties to rdb-types-versions
taspelund Apr 25, 2026
c7e4c62
rfd-619 Phase 2b: migrate ImportExportPolicy family to rdb-types-vers…
taspelund Apr 25, 2026
8a35f7f
rfd-619 Phase 2b: clean up ImportExportPolicy call sites
taspelund Apr 25, 2026
7f744d4
rfd-619 Phase 2b: migrate BgpRouterInfo, BfdPeerConfig, BgpNeighbor t…
taspelund Apr 25, 2026
c8ce414
rfd-619 Phase 2b: switch v1::bfd::BfdPeerInfo to versioned identifier
taspelund Apr 25, 2026
6acbef2
rfd-619 Phase 2c chunk 1: migrate leaf BGP wire enums to bgp-types-ve…
taspelund Apr 25, 2026
28ed5ef
rfd-619 Phase 2c chunk 2: migrate leaf BGP wire types to bgp-types-ve…
taspelund Apr 25, 2026
7f77b7f
rfd-619 Phase 2c chunk 3: migrate v4 PathAttribute family to bgp-type…
taspelund Apr 27, 2026
d89ac29
rfd-619 Phase 2c chunk 4.1: migrate MessageConvertError and MessageKi…
taspelund Apr 28, 2026
b8c1deb
rfd-619 Phase 2c chunk 4.2: migrate Capability, OptionalParameter, Er…
taspelund Apr 28, 2026
1866d2b
rfd-619 Phase 2c chunk 4.3: migrate OpenMessage, NotificationMessage,…
taspelund Apr 28, 2026
5bec147
rfd-619 Phase 2c chunk 4.4: migrate Message and UpdateMessage to bgp-…
taspelund Apr 28, 2026
6e65d3b
rfd-619 Phase 2c chunk 5: migrate session history types to bgp-types-…
taspelund Apr 28, 2026
56366f9
rfd-619 Phase 2d chunk 6a: migrate Neighbor/Apply/BgpPeerConfig/BgpPe…
taspelund Apr 28, 2026
05ad10a
rfd-619 Phase 2d chunk 6b: migrate PeerInfo/PeerTimers/DynamicTimerIn…
taspelund Apr 28, 2026
bf49103
rfd-619 Phase 2d chunk 6c: migrate unversioned-published BGP types an…
taspelund Apr 28, 2026
e38fbbd
rfd-619 Phase 4: rename mg-api endpoints to match RFD 619 latest-unsu…
taspelund Apr 28, 2026
543e2cd
rfd-619 follow-up: restore UpdateMessage::errors field via private pa…
taspelund Apr 28, 2026
cd52e6d
rfd-619 Phase 3: purge remaining floating identifiers from version mo…
taspelund Apr 28, 2026
c5f2d65
rfd-619 Phase 7: add type-organization doc and update existing docs f…
taspelund Apr 28, 2026
e49e6db
rfd-619 follow-up: reabsorb boundary helper free fns as inherent methods
taspelund Apr 28, 2026
cf4771d
rfd-619 follow-up: replace repeated fully-qualified paths with use im…
taspelund Apr 28, 2026
07cff22
rfd-619 follow-up: extract BFD types into bfd-types/bfd-types-versions
taspelund Apr 28, 2026
36d31aa
rfd-619 follow-up: include migrated types crates in test jobs
taspelund Apr 28, 2026
4ec10bc
rfd-619 follow-up: consolidate use directives and move them to file tops
taspelund Apr 28, 2026
f700c40
Merge main into trey/rfd_619_wrapup
taspelund May 8, 2026
21e9523
rename mg-types/{,versions} to mg-api-types/{,versions}
taspelund May 8, 2026
745b67d
rename ddm-types/{,versions} to ddm-api-types/{,versions}
taspelund May 8, 2026
43a09a5
absorb bfd-types-versions into mg-api-types-versions
taspelund May 8, 2026
2d1e5a7
absorb bgp-types-versions into mg-api-types-versions
taspelund May 8, 2026
34091ee
absorb rdb-types-versions into mg-api-types-versions
taspelund May 8, 2026
e630d3e
absorb mg-common-types-versions into ddm-api-types-versions
taspelund May 8, 2026
461b316
docs and CI: rewrite for the API-shape model
taspelund May 8, 2026
e5c14b4
use explicit sub-module paths instead of glob re-exports
taspelund May 8, 2026
995b744
use full destructuring at the API->runtime boundary
taspelund May 8, 2026
b64cf4d
delete UpdateMessageV1 and MessageV1 from bgp::messages
taspelund May 9, 2026
d231dda
use full destructuring at cross-version API boundaries
taspelund May 9, 2026
238e89d
retire bgp::params; route latest API forms through mg_api_types::bgp
taspelund May 9, 2026
cbe9958
tighten TimerConfig and PeerConfig comments
taspelund May 9, 2026
6e22528
expand mg-admin-client progenitor replace; route consumers through mg…
taspelund May 9, 2026
51d285b
move PeerId and ImportExportPolicy to mg_api_types::bgp; route consum…
taspelund May 9, 2026
1f2d457
drop schema-type re-exports from bfd, bgp, rdb; route consumers throu…
taspelund May 9, 2026
fcc42e1
merge main into trey/rfd_619_wrapup
taspelund May 12, 2026
564f3db
reformat latest.rs: one type per line, grouped by version
taspelund May 12, 2026
4d04561
move Rib/Rib4/Rib6 + RibExt from mg-api-types-versions to rdb
taspelund May 12, 2026
7a7861d
move bgp/{error,parse} from top-level into impls/bgp/
taspelund May 12, 2026
2cef60a
broaden one-type-per-line to all versioned use/pub-use blocks
taspelund May 12, 2026
b1a2ab9
mg-api/ddm-api trait: use latest::/vN:: paths; drop facade deps
taspelund May 12, 2026
b020d61
mg-api-types facade: replace flat rdb re-exports with pub mod rdb
taspelund May 12, 2026
c5b5267
mgd/bgp_admin: qualify ImportExportPolicy via v1:: path inline
taspelund May 12, 2026
45bf3fe
impls: prefer floating latest:: identifiers per RFD 619 guide
taspelund May 12, 2026
28d9b43
mg-api: drop latest:: from v5 prior-version endpoint signatures
taspelund May 12, 2026
cd22d3f
mg-api: explicit operation_id on every prior-version endpoint
taspelund May 13, 2026
288ae24
mg-api-types, ddm-api-types: add crate-level facade doc comments
taspelund May 13, 2026
1c14499
mg-api: drop latest:: from remaining prior-version endpoint signatures
taspelund May 13, 2026
c3ac0ab
mg-api-types: relocate PeerInfo/PeerTimers from v5 to v4
taspelund May 13, 2026
cd5023f
mg-api-types: drop submodule hoists from latest::rdb
taspelund May 14, 2026
dfdbc74
mg-api-types: move post-v4 MessageHistory shape to v4 and relocate v2…
taspelund May 14, 2026
54af214
mg-api-types: move latest::Rib->v1::Rib downgrade out of impls/ into v5
taspelund May 14, 2026
f8747ff
mg-api-types: move latest MessageHistory->v1 downgrade out of impls/ …
taspelund May 14, 2026
0c9a04c
mg-api-types: complete strict-RFD-619 alignment
taspelund May 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/test-bfd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ set -o pipefail

source .github/buildomat/test-common.sh
banner bfd
cargo nextest run -p bfd --nocapture
cargo nextest run -p bfd -p mg-api-types -p mg-api-types-versions --nocapture
4 changes: 2 additions & 2 deletions .github/buildomat/jobs/test-bgp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ set -e

source .github/buildomat/test-common.sh
pushd bgp
pfexec cargo nextest run
pfexec cargo nextest run -p bgp -p mg-api-types -p mg-api-types-versions
cp *.log /work/
popd

pushd mgd
pfexec cargo nextest run
pfexec cargo nextest run -p mgd -p mg-api-types -p mg-api-types-versions
cp *.log /work/
popd
2 changes: 1 addition & 1 deletion .github/buildomat/jobs/test-ddm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ set -o pipefail

source .github/buildomat/test-common.sh
banner ddm
cargo nextest run -p ddm --nocapture
cargo nextest run -p ddm -p ddm-api-types -p ddm-api-types-versions --nocapture
7 changes: 6 additions & 1 deletion .github/buildomat/jobs/test-rdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ set -x
set -e

source .github/buildomat/test-common.sh

pushd rdb
cargo nextest run
cargo nextest run \
-p rdb \
-p mg-api-types \
-p mg-api-types-versions
cp *.log /work/
popd
96 changes: 45 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 10 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ default-members = [
"ddmd",
"ddm-admin-client",
"ddm-api",
"ddm-types",
"ddm-types/versions",
"ddm-api-types",
"ddm-api-types/versions",
"dropshot-apis",
"bfd",
"util",
"mg-ddm-verify",
"tests",
"rdb",
"rdb-types",
"bgp",
"mg-api",
"mg-types",
"mg-types/versions",
"mg-api-types",
"mg-api-types/versions",
"mg-admin-client",
"mgadm",
"mgd",
Expand All @@ -37,8 +36,8 @@ members = [
"ddmd",
"ddm-admin-client",
"ddm-api",
"ddm-types",
"ddm-types/versions",
"ddm-api-types",
"ddm-api-types/versions",
"dropshot-apis",
"bfd",
"package",
Expand All @@ -50,7 +49,6 @@ members = [
"mg-admin-client",
"mgadm",
"rdb",
"rdb-types",
"mgd",
"mg-lower",
"mg-common",
Expand All @@ -62,19 +60,18 @@ members = [
[workspace.dependencies]
# Local
mg-api = { path = "mg-api" }
mg-types = { path = "mg-types" }
mg-types-versions = { path = "mg-types/versions" }
mg-api-types = { path = "mg-api-types" }
mg-api-types-versions = { path = "mg-api-types/versions" }
mg-common = { path = "mg-common" }
rdb-types = { path = "rdb-types" }
ndp = { path = "ndp" }
bgp = { path = "bgp" }
bfd = { path = "bfd" }
mg-admin-client = { path = "mg-admin-client" }
ddm-admin-client = { path = "ddm-admin-client" }
rdb = { path = "rdb", features = ["clap"] }
ddm-api = { path = "ddm-api" }
ddm-types = { path = "ddm-types" }
ddm-types-versions = { path = "ddm-types/versions" }
ddm-api-types = { path = "ddm-api-types" }
ddm-api-types-versions = { path = "ddm-api-types/versions" }

# External
slog = { version = "2.8.2", features = ["max_level_trace", "release_max_level_debug"] }
Expand Down
1 change: 1 addition & 0 deletions bfd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ edition = "2024"

[dependencies]
rdb = { path = "../rdb" }
mg-api-types.workspace = true
mg-common.workspace = true
slog.workspace = true
slog-bunyan.workspace = true
Expand Down
Loading