Skip to content

scrimlet-reconcilers: add uplinkd SMF reconciler#10686

Open
jgallagher wants to merge 2 commits into
john/feature-sled-agent-scrimlet-reconcilersfrom
john/scrimlet-reconcilers-uplinkd
Open

scrimlet-reconcilers: add uplinkd SMF reconciler#10686
jgallagher wants to merge 2 commits into
john/feature-sled-agent-scrimlet-reconcilersfrom
john/scrimlet-reconcilers-uplinkd

Conversation

@jgallagher

Copy link
Copy Markdown
Contributor

This is effectively moving code around from within sled-agent, but it's still part of the #10167 umbrella project: sync_switch_configuration, in addition to talking to mgd/dpd, talks to sled-agent to trigger SMF property updates:

info!(
&log,
"applying SMF config uplink updates to switch zone";
"switch_slot" => ?switch_slot,
"config" => ?config,
);
if let Err(e) = client
.uplink_ensure(&sled_agent_client::types::SwitchPorts {
uplinks: config.clone(),
})
.await

This PR adds a reconciler that updates the uplinkd SMF properties. It uses scuffle, but should be consistent with the existing sled-agent implementation, although with many fewer zlogin oxz_switch svcprop ... since it talks directly to the SMF database in the zone.

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.

1 participant