pub struct Cleanup {
pub close_pase_sessions: bool,
pub close_case_sessions_for: Option<FabricIndex>,
pub restore_networks: bool,
pub revert_noc_for: Option<FabricIndex>,
pub remove_fabric: Option<FabricIndex>,
pub discard_operational_key: bool,
pub prune_trusted_roots: bool,
}Expand description
What a caller must do after the fail-safe expired (§11.10.7.2.2).
The cleanup steps touch the fabric table, the session table, the key store and the network configuration — none of which this module owns. So expiry reports what must be undone and the caller does it, which is also what keeps the eleven steps auditable against the specification rather than buried in a method.
Fields§
§close_pase_sessions: boolStep 2 and 3: terminate any open PASE session and revoke its administrative privilege.
close_case_sessions_for: Option<FabricIndex>Step 4: terminate CASE sessions for this fabric, if a NOC command recorded one.
restore_networks: boolStep 5: restore the Networks attribute.
revert_noc_for: Option<FabricIndex>Step 6: revert this fabric’s operational key, NOC and ICAC.
remove_fabric: Option<FabricIndex>Step 7: remove the fabric AddNOC added, as though by RemoveFabric.
discard_operational_key: boolStep 8: discard the operational key a CSRRequest generated and nothing used.
prune_trusted_roots: boolStep 9: remove trusted roots no fabric references.