Skip to content

Add allow_ddm_traffic to PortConfig - #11091

Open
andrewjstone wants to merge 1 commit into
multirack-join-service-part-2from
multirack-join-service-part-3
Open

Add allow_ddm_traffic to PortConfig#11091
andrewjstone wants to merge 1 commit into
multirack-join-service-part-2from
multirack-join-service-part-3

Conversation

@andrewjstone

Copy link
Copy Markdown
Contributor

This is necessary to both enable front ports for DDM and disable front ports as uplink ports in dpd. Both are necessary for multirack.

It's important to note that this is a temporary fix to get multirack moving. We expect to overhaul the structure of RackNetworkConfig and PortConfig soon. BgpPeer info should likely live outside the port itself and ports should only contain link-level information.

@andrewjstone
andrewjstone force-pushed the multirack-join-service-part-3 branch 2 times, most recently from 4ffb3b1 to 4109307 Compare August 19, 2026 17:45
/// future, older blobs can still be deserialized correctly.
fn current_config_example() -> (&'static str, EarlyNetworkConfigEnvelope) {
// NOTE: the description must not contain commas or newlines.
let description = "2026-04-28 pre-r20";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to change the description here to get a new line in the expectorate output to keep this version in the list of regression tests. (I'm not 100% sure we still need this test with all the bootstore rework, but I haven't gone through to confirm it's really okay to remove.)

management_addrs: c.management_ip.map(|ip| vec![ip]),
}),
tx_eq,
allow_ddm_traffic: false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't necessarily a blocker for this PR, but might impact testing - IIUC, as written, RSS will write any allow_ddm_traffic: true values from the RSS config into the bootstore when it does it initial population of it. But once Nexus starts running, the sync_switch_configuration bg task will send down new bootstore contents with this false set on every port, so you may lose the ddm traffic as soon as Nexus gets started running bg tasks.

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