Skip to content

Compliance auditor ​

The auditor inspects the diagram continuously and reports findings as badges on the canvas and as a list in the Pre-Flight Audit drawer. It is a pure function of the diagram document (auditDiagramDocument), so the same diagram always gives the same result. Each rule links to the Microsoft Learn page it is based on (checked against Azure Local 12.2609, latest).

How rules read the design ​

  • Pattern (cluster): single-rack or rack-aware, switched or switchless storage, RoCE or iWARP, one or two ToR per room. Set it in the drawer; when absent it is inferred (a host-to-host cable means switchless, nodes in two zones mean rack-aware).
  • Intents: per-host Network ATC intents decide what each cable carries. Without intents a cable to a ToR is "unknown traffic" and counts for redundancy but not for storage rules.
  • Severity: error (design is wrong), warning (discouraged or risky), info (reminder or recommendation). Warnings and info never block anything.

Rule catalog ​

RuleSeverityWhat it checksLearn
RULE-TOR-REDUNDANCYerror (warning for one ToR per room)Each host reaches two distinct ToR switches for management and compute, and for storage in switched designs. Node-to-node switchless storage links are never counted or flagged.Decision 3: cluster topology
RULE-MTU-JUMBOinfo (warning for iWARP)Storage networks use MTU 9000. Jumbo frames are recommended for SMB Direct; required only for iWARP when hosts use them, not for RoCEv2.Rack-aware reference architecture
RULE-SET-PORT-BALANCEwarningMembers of a SET team are cabled to different switches (switch-independent teaming).Host network requirements: SET
RULE-OOB-MANAGEMENTinfoEach host has an iDRAC or serial cable to an OOB switch or console server. A Cat6A cable to a ToR does not count.Decision 3
RULE-VLAN-ALIGNMENTerror (warning for shared storage VLAN)A tagged VLAN is allowed on the switch trunk (when the switch lists trunk VLANs); management and compute VLANs match on both ToR paths and across the ports of one SET intent; two storage adapters on one VLAN in a switched design is flagged.Storage traffic models
RULE-VLAN-ATC-COLLISIONwarningA custom non-storage VLAN on 711 to 719 collides with the Network ATC storage defaults. Non-blocking.Network ATC default VLANs
RULE-SWITCHLESS-SCALEerror / infoSwitchless storage supports 1 to 4 nodes; a 3-node switchless cluster needs a manual storage IP plan.Switchless considerations
RULE-SWITCHLESS-MESHerrorEvery node pair has a direct storage cable and each node has at least two storage links.Switchless considerations
RULE-STORAGE-SWITCH-ISOLATIONwarningIn a single-rack switched design all host traffic uses one MLAG ToR pair; a storage-only switch pair is discouraged.Decision 3
RULE-MLAG-PEER-LINKwarningIn a single-rack design the two ToR switches serving a host are joined by a peer link.Decision 3
RULE-RACK-AWAREerror / warningSwitched storage, even node count up to 8, two balanced zones, a ToR in each zone (one per room warns), and a room-to-room storage path or every node cabled to both rooms.Decision 3, reference architecture
RULE-RDMA-QOSinfoOne reminder per cluster: RoCE needs PFC, ETS and DCB on every RDMA port, switches and room links included.RDMA traffic considerations
RULE-INTENT-COVERAGEerrorManagement, compute and storage are all carried by an intent (storage not required on a single node); a port is in one intent; ports exist on the hardware profile.Network ATC example intents
RULE-INTENT-SYMMETRYerrorEvery node has the same intents and port counts; adapters of one intent have the same speed and media.Network ATC prerequisites
RULE-INTENT-STORAGE-RDMAerrorPorts of an intent that carries storage are RDMA-capable (SFP-type at 10 Gbps or faster, or an explicit override).RDMA
RULE-INTENT-LAYOUTerror / warningA storage intent has two ports; switchless and rack-aware keep storage on a dedicated intent; more than three intents warns.Network ATC example intents

The catalog also lives in code (COMPLIANCE_RULES in src/types/validation.ts), and a test asserts every reported rule id exists in it.

Known limits ​

The auditor works from what the diagram can express. It does not see adapter make and model, adapter names across nodes, driver state, DCB settings on real switches, round-trip latency between rooms (1 ms or less for rack-aware) or an external SAN (not supported with rack-aware). Those Learn requirements stay in your deployment checklist.

Canvas badges and the drawer ​

  • Badges pulse on non-compliant nodes, networks and cables.
  • Click an entry in the drawer to select the affected entity; click the rule id to open its Learn page.
  • The Design row at the top sets pattern, storage, RDMA protocol and ToR count per room; Auto returns to inference.

Released under the MIT License. Forked from AzLoFlows by Cristian Edwards Sabathe.