spri
S/PRI 4.x, the German open-access fibre interface, for Rust.
On open-access networks a service provider (Auftraggeber) orders, changes, cancels and
repairs lines at the network owner (Leistungserbringer) over S/PRI, the AK S&P's interface;
a provider switch agreed over WBCI arrives here as a PV order. This crate gives you every
order and message as typed values, XML proven against the official schema and the lifecycle
of each order, without I/O.
use *;
| Orders | NEU, KUE-AG, LAE, AEN-LMAE, EST, PV, GET/SET, with Storno and Terminverschiebung; FTTx products, appointments, contacts, attachments |
| Messages | all 20: QEB ABM ABBM ERLM ENTM VZM TAM MTAM KDLE ZWM-LE/-AG TBK-LE/-AG ERLM-K and to the losing provider AKM-PV RUEM-PV ABM-PV ERLM-PV ENTM-PV ABBM-PV; the TEQ |
| XML | the four payloads, bare or in SOAP 1.1; byte-stable; 776 payloads validated against XSD 4.00.03 in CI; DTDs refused, input and attachments bounded, fuzzed |
| Lifecycle | Process per order and role, after the EPKs of Anlage 7 V.13: what may follow what, refusals naming the ABBM to answer with, next actions, explained deadlines, history; Abbm::outcome |
| Validation | 34 cited rules predict the network owner's refusal before sending — Storno/Terminverschiebung per business case, Auftragsklammer, Zeitfenster, wish date, follow-up order against its original, code against message type and case — each with path, source and the ABBM code: Auftrag::issues_at, Auftrag::issues_against, Meldung::issues, Teq::issues |
| Sandbox | sim::Leistungserbringer and sim::AbgebenderProvider: a simulated network owner walking the EPK path of the business case (QEB, ABM, ERLM, ENTM; TAM to 1198; Storno and Terminverschiebung; the PV leg and its aborts 0041/0042) and the losing provider of a PV — driven by Process, time as an argument, every message inside its deadline |
| Codes | the 215 codes of the Arbeitshandbuch S/PRI 4.x V2.9.5 with text, message types and business cases |
| With WBCI | VorabstimmungsId, LineId, CarrierCode are the same types as in wbci |
| Safety | personal and contact data redacted in Debug; Anlage::safe_file_name() against path traversal |
Guides ·
API (with a complete PV order)
Implements the AK S&P's Providervereinbarung S/PRI V4.4, schema 4.00.03 (all 4.x versions), Anlage 7 „EPKs der Geschäftsfälle" V.13 and the Arbeitshandbuch S/PRI 4.x V2.9.5; interpretations are documented.
Unofficial; not affiliated with or endorsed by the AK S&P, VATM, BUGLAS or Deutsche Telekom.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.