Skip to content

Commit 55ec7e4

Browse files
authored
Bump OPTE to v0.40.474 (#10299)
The functional changes this brings in are: * oxidecomputer/opte@e2b70cd * oxidecomputer/opte@b60decb * oxidecomputer/opte@87ab6e1 * oxidecomputer/opte@d7fe401 * oxidecomputer/opte@bae0440 As well as dependency bumps across the board. oxidecomputer/opte@b60decb is an API change in the sense that it adds new ioctls in support of multicast but does not change any of the existing ones. oxidecomputer/opte@d7fe401 is the change we want to pull in most, to backport via https://github.com/oxidecomputer/opte/releases/tag/rel%2Fv19.2. The maghemite bump here is required due to the change in API version in OPTE -- this repo has already pulled in a new enough OPTE to use.
1 parent 8c0e4f7 commit 55ec7e4

11 files changed

Lines changed: 40 additions & 32 deletions

File tree

.github/buildomat/jobs/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#:
33
#: name = "helios / deploy"
44
#: variety = "basic"
5-
#: target = "lab-2.0-opte-0.39"
5+
#: target = "lab-2.0-opte-0.40"
66
#: output_rules = [
77
#: "%/var/svc/log/oxide-*.log*",
88
#: "%/zone/oxz_*/root/var/svc/log/oxide-*.log*",

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,8 @@ ntp-admin-api = { path = "ntp-admin/api" }
599599
ntp-admin-client = { path = "clients/ntp-admin-client" }
600600
ntp-admin-types = { path = "ntp-admin/types" }
601601
ntp-admin-types-versions = { path = "ntp-admin/types/versions" }
602-
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6" }
603-
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6" }
602+
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "7696ee48d5ee29a917dea459e281fe2e8ff20513" }
603+
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "7696ee48d5ee29a917dea459e281fe2e8ff20513" }
604604
multimap = "0.10.1"
605605
nexus-auth = { path = "nexus/auth" }
606606
nexus-background-task-interface = { path = "nexus/background-task-interface" }
@@ -662,7 +662,7 @@ omicron-workspace-hack = "0.1.0"
662662
omicron-zone-package = "0.12.2"
663663
oxide-client = { path = "clients/oxide-client" }
664664
oxide-tokio-rt = "0.1.4"
665-
oxide-vpc = { git = "https://github.com/oxidecomputer/opte", rev = "e547d07b08c3f3d6c821c9eb7a958adcffce6e56", features = [ "api", "std" ] }
665+
oxide-vpc = { git = "https://github.com/oxidecomputer/opte", rev = "bae0440c199b3908c12903a9532854936353433b", features = [ "api", "std" ] }
666666
oxlog = { path = "dev-tools/oxlog" }
667667
oxnet = "0.1.4"
668668
once_cell = "1.21.3"
@@ -671,7 +671,7 @@ openapiv3 = "2.2.0"
671671
# must match samael's crate!
672672
openssl = "0.10"
673673
openssl-sys = "0.9"
674-
opte-ioctl = { git = "https://github.com/oxidecomputer/opte", rev = "e547d07b08c3f3d6c821c9eb7a958adcffce6e56" }
674+
opte-ioctl = { git = "https://github.com/oxidecomputer/opte", rev = "bae0440c199b3908c12903a9532854936353433b" }
675675
oso = "0.27"
676676
owo-colors = "4.2.2"
677677
oximeter = { path = "oximeter/oximeter" }
@@ -737,7 +737,7 @@ rats-corim = { git = "https://github.com/oxidecomputer/rats-corim.git", rev = "f
737737
raw-cpuid = { git = "https://github.com/oxidecomputer/rust-cpuid.git", rev = "a4cf01df76f35430ff5d39dc2fe470bcb953503b" }
738738
rayon = "1.10"
739739
rcgen = "0.12.1"
740-
rdb-types = { git = "https://github.com/oxidecomputer/maghemite", rev = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6" }
740+
rdb-types = { git = "https://github.com/oxidecomputer/maghemite", rev = "7696ee48d5ee29a917dea459e281fe2e8ff20513" }
741741
reconfigurator-cli = { path = "dev-tools/reconfigurator-cli" }
742742
reedline = "0.40.0"
743743
ref-cast = "1.0"

nexus/src/app/background/tasks/sync_switch_configuration.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,8 @@ impl BackgroundTask for SwitchPortSettingsManager {
836836
}),
837837
deterministic_collision_resolution: false,
838838
idle_hold_jitter: None,
839+
src_port: None,
840+
src_addr: None,
839841
};
840842

841843
// update the stored vec if it exists, create a new on if it doesn't exist
@@ -885,6 +887,8 @@ impl BackgroundTask for SwitchPortSettingsManager {
885887
deterministic_collision_resolution: false,
886888
idle_hold_jitter: None,
887889
router_lifetime: router_lifetime.as_u16(),
890+
src_port: None,
891+
src_addr: None,
888892
};
889893

890894
// update the stored vec if it exists, create a new on if it doesn't exist
@@ -984,7 +988,7 @@ impl BackgroundTask for SwitchPortSettingsManager {
984988
error!(log, "error while applying bgp configuration"; "error" => ?e);
985989
}
986990

987-
if let Err(e) = client.update_rib_bestpath_fanout(fanout).await {
991+
if let Err(e) = client.update_bestpath_fanout(fanout).await {
988992
error!(log, "error while updating bestpath fanout"; "error" => ?e);
989993
}
990994
}

nexus/src/app/bgp.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl super::Nexus {
121121

122122
for r in &router_info {
123123
let asn = r.asn;
124-
let peers = match client.get_neighbors_v4(asn).await {
124+
let peers = match client.get_neighbors(asn).await {
125125
Ok(result) => result.into_inner(),
126126
Err(e) => {
127127
error!(
@@ -183,7 +183,7 @@ impl super::Nexus {
183183
peer: None,
184184
};
185185

186-
let exported = match client.get_exported_v3(&selector).await {
186+
let exported = match client.get_exported(&selector).await {
187187
Ok(result) => result.into_inner(),
188188
Err(e) => {
189189
error!(
@@ -237,7 +237,7 @@ impl super::Nexus {
237237
))
238238
})? {
239239
let history = match client
240-
.message_history_v3(&MessageHistoryRequest {
240+
.message_history(&MessageHistoryRequest {
241241
asn: sel.asn,
242242
direction: None,
243243
peer: None,
@@ -280,7 +280,7 @@ impl super::Nexus {
280280
))
281281
})? {
282282
let mut imported: Vec<networking::BgpImported> = Vec::new();
283-
match client.get_rib_imported_v2(None, None).await {
283+
match client.get_rib_imported(None, None).await {
284284
Ok(result) => {
285285
for (prefix, paths) in result.into_inner().iter() {
286286
let ipnet = match prefix.parse() {

package-manifest.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,10 @@ source.repo = "maghemite"
683683
# `tools/maghemite_openapi_version`. Failing to do so will cause a failure when
684684
# building `ddm-admin-client` (which will instruct you to update
685685
# `tools/maghemite_openapi_version`).
686-
source.commit = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6"
686+
source.commit = "7696ee48d5ee29a917dea459e281fe2e8ff20513"
687687
# The SHA256 digest is automatically posted to:
688688
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/maghemite/image/<commit>/mg-ddm-gz.sha256.txt
689-
source.sha256 = "506862636920f5e9ebf0b931e77baafcec7460faa77770e94fcb18fd1e1ca194"
689+
source.sha256 = "ce52b9094adf0ed567bd3ed1e3ac48ac1c983cc7859adacf4f392e415a1189ad"
690690
output.type = "tarball"
691691

692692
[package.mg-ddm]
@@ -699,10 +699,10 @@ source.repo = "maghemite"
699699
# `tools/maghemite_openapi_version`. Failing to do so will cause a failure when
700700
# building `ddm-admin-client` (which will instruct you to update
701701
# `tools/maghemite_openapi_version`).
702-
source.commit = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6"
702+
source.commit = "7696ee48d5ee29a917dea459e281fe2e8ff20513"
703703
# The SHA256 digest is automatically posted to:
704704
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/maghemite/image/<commit>/mg-ddm.sha256.txt
705-
source.sha256 = "01cf23b6fee8643263ff7e435c8f58f47976f22a48343ab0b04b417eff6a40cd"
705+
source.sha256 = "23950a4e73a07fa7f087ba3312e4bc5a8981fd9ebad54af2350baaa86ad6bbf3"
706706
output.type = "zone"
707707
output.intermediate_only = true
708708

@@ -714,10 +714,10 @@ source.repo = "maghemite"
714714
# `tools/maghemite_openapi_version`. Failing to do so will cause a failure when
715715
# building `ddm-admin-client` (which will instruct you to update
716716
# `tools/maghemite_openapi_version`).
717-
source.commit = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6"
717+
source.commit = "7696ee48d5ee29a917dea459e281fe2e8ff20513"
718718
# The SHA256 digest is automatically posted to:
719719
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/maghemite/image/<commit>/mgd.sha256.txt
720-
source.sha256 = "c5a642abf324cc3a4c3539996825b21ce6b3ffa193ce646dbc9185754a20f599"
720+
source.sha256 = "301d31ca481e4822f69484feacca31dd08a7c4aae87d96641d384bda3178d2f3"
721721
output.type = "zone"
722722
output.intermediate_only = true
723723

sled-agent/src/bootstrap/early_networking.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,8 @@ impl<'a> EarlyNetworkSetup<'a> {
601601
}),
602602
deterministic_collision_resolution: false,
603603
idle_hold_jitter: None,
604+
src_addr: None,
605+
src_port: None,
604606
};
605607
match bgp_peer_configs.get_mut(&port.port) {
606608
Some(peers) => {
@@ -653,6 +655,8 @@ impl<'a> EarlyNetworkSetup<'a> {
653655
deterministic_collision_resolution: false,
654656
idle_hold_jitter: None,
655657
router_lifetime: router_lifetime.as_u16(),
658+
src_addr: None,
659+
src_port: None,
656660
};
657661
match bgp_unnumbered_peer_configs.get_mut(&port.port) {
658662
Some(peers) => {
@@ -713,7 +717,7 @@ impl<'a> EarlyNetworkSetup<'a> {
713717
);
714718
}
715719

716-
if let Err(e) = mgd.update_rib_bestpath_fanout(&fanout).await {
720+
if let Err(e) = mgd.update_bestpath_fanout(&fanout).await {
717721
error!(
718722
self.log,
719723
"error while updating bestpath fanout";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
COMMIT="b603c9f3dccefcf1d3e941c04505ff6bdd1826b6"
1+
COMMIT="7696ee48d5ee29a917dea459e281fe2e8ff20513"

tools/maghemite_mg_openapi_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
COMMIT="b603c9f3dccefcf1d3e941c04505ff6bdd1826b6"
1+
COMMIT="7696ee48d5ee29a917dea459e281fe2e8ff20513"

tools/maghemite_mgd_checksums

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
CIDL_SHA256="c5a642abf324cc3a4c3539996825b21ce6b3ffa193ce646dbc9185754a20f599"
2-
MGD_LINUX_SHA256="83d9bac919524341a845b7e376349fababbe47fa3335f953fda6bbf85e6030ee"
1+
CIDL_SHA256="301d31ca481e4822f69484feacca31dd08a7c4aae87d96641d384bda3178d2f3"
2+
MGD_LINUX_SHA256="95f9759a5fde2784d148c81df2218d29adde1d27fb72d5dbcf534de6450f0f7c"

0 commit comments

Comments
 (0)