The NtS XSD (Network to System XML Schema) version 4.0.4.0 is a standardized XML schema designed to facilitate the exchange of configuration, telemetry, and operational data between network devices and management systems. It builds on earlier releases by adding new elements for security, extensibility, and backward compatibility. This page provides an overview of its purpose, main components, common usage patterns, and bestpractice recommendations.
Modern networks consist of heterogeneous equipmentrouters, switches, firewalls, IoT gatewayseach often supplied by a different vendor. While many manufacturers expose proprietary APIs, an open, schemadriven format offers several benefits:
Version 4.0.4.0 introduces a set of enhancements that respond to feedback from operators and developers:
and elements support XMLDSig and XMLEnc, enabling messagelevel integrity and confidentiality.ntsxsd:config, ntsxsd:telemetry, ntsxsd:alarm) that can be imported selectively. block allows devices to advertise supported schema versions and negotiate the highest common version.compatMode="true" forces older parsers to ignore new optional elements.All messages share a common root element that contains metadata and a payload section. The simplified hierarchy is shown below:
>
MessageID UUID that uniquely identifies the message.Timestamp ISO8601 UTC time when the message was created.VersionInfo Contains SchemaVersion, SupportedVersions, and optional CompatMode.Signature Digital signature (if security is enabled).Each payload type is defined in a separate XSD file and imported via xs:import. The most frequently used modules are:
| Module | Root Element | Description |
|---|---|---|
| Config | | Configuration commands, templates, and commit operations. |
| Telemetry | | Streaming or sampled performance metrics. |
| Alarm | | Event notifications, severity, and acknowledgment status. |
| Inventory | | Hardware and software inventory data. |
| Policy | | Network policy definition and distribution. |
The following snippet illustrates a minimal DeviceConfig payload that adds a VLAN on a switch. Note the use of the compatMode attribute for older devices.
123e4567e89b12d3a456426614174000 2026-05-29T14:33:00Z 4.0.4.0 4.0.0.0 4.0.1.0 4.0.4.0 switch01.example.com
When security is required, the element follows the XMLDSig standard. A typical signed message contains a SignedInfo block that references the Payload element and a SignatureValue. Encryption can be applied to the entire Payload or selected subelements using XMLEnc.
VersionInfo and fall back to a supported version if needed.MessageID to simplify troubleshooting.For developers interested in deeper integration, the following resources are publicly available:
NtS XSD V.4.0.4.0 provides a robust, extensible framework for XMLbased communication across diverse network environments. By embracing its modular design, builtin security features, and versionnegotiation mechanisms, organizations can achieve higher automation levels, reduce integration complexity, and maintain a secure operational posture. As network architectures evolve toward intentbased and AIdriven models, the schemas flexibility ensures it will remain relevant for years to come.
