The YANG immutable annotation is a boundary, not a clock. It tells you a client cannot change a node through a read-write datastore. It does not tell you the value will still be there tomorrow. That distinction — between a control boundary and a promise about time — is where inventories, audits and procurement plans quietly go wrong, and it is the entire point of draft-ietf-netmod-immutable-flag-14.

Two clocks wearing one word

“Immutable” sounds like a promise about time. A record is written once, a digest never changes, an archive stays fixed. The NETMOD proposal uses the word far more narrowly: a boolean metadata annotation describing configuration the server will not let a client change — not by writing a different value into a read-write datastore, and not by deleting the system-provided node from the intended configuration.

That boundary is genuinely useful. YANG's ordinary config true classification cannot describe every mixed tree that real devices actually ship. A server may need to supply a list entry that clients cannot remove while still letting them configure its descendants or add entries of their own. Until now, implementations explained the rejection in prose. draft-ietf-netmod-immutable-flag-14 makes the existing behaviour machine-readable.

The draft is refreshingly honest about itself: the flag is descriptive, not prescriptive. It documents what the server already does, and it says plainly that immutable system configuration can still be created, updated and deleted — by the server. Hold both statements at once and the paradox evaporates. Immutable answers “may this client control this node through the configuration interface?” It does not answer “can this value ever differ at another time?”

Any governance system that treats those two questions as synonyms will overstate its evidence. A true flag at noon is perfectly compatible with a different server-provided value at three, after a line card swap. The noon answer was accurate. It was never a history.

You have to ask for the flag

The flag does not arrive in every configuration response. A client requests with-immutability while reading the system, intended or operational datastore; a request against any other datastore is invalid under the proposal. A NETCONF client can look for the ietf-immutable-annotation module in YANG library information; a RESTCONF client can look for the defined capability identifier.

That produces a small but load-bearing evidence chain. Capability discovery says the server understands the request. The query says which read-only datastore and subtree the client asked for. The response carries annotations visible to that client under its read permissions. None of those elements can be reconstructed safely from a screenshot of one boolean taken later.

Legacy behaviour makes the chain matter more, not less. An older client will not request the new metadata and therefore will not receive it. A new client asking an older server may see an error for the unsupported parameter, or may have the parameter silently ignored, depending on the implementation. Absence in the response can therefore mean default mutability, inheritance, suppression, lack of support, a legacy interaction, or simply no read access to the node. Capability and request evidence is what stops those cases collapsing into one.

Absence is not the same as mutable

The proposal uses inheritance to avoid repeating metadata across a tree. A child without an explicit annotation inherits its parent's state. A top-level node with no annotation defaults to false. Descendants can reset an inherited value and thereby establish a different state for their own subtrees — and the draft places no limit on how many such resets can occur across a data tree.

The result is compact on the wire and demanding in an audit. A client that records only the selected node and a resolved boolean loses whether the value was explicit, inherited or defaulted. It also loses the ancestor that controlled the answer and any intervening reset. Two nodes can both resolve to true for entirely different reasons, with entirely different consequences when their parents change.

Lists and leaf-lists add another boundary. Metadata attaches to instances, not to an abstract list as a whole, so individual entries can differ. YANG metadata restrictions mean whole-list behaviour may be inherited from a parent while an entry carries its own state. For an ordered list, inherited immutability can cover addition, removal and reordering alike. A generic “field locked” label expresses none of that.

An observation receipt should therefore store the instance path, node kind, explicit annotation if present, resolved state, inheritance source and schema revision. Resolution is a computation. Keep its inputs and it stays reproducible.

Running is a view, not a title deed

The system-defined configuration model separates what the server supplies from what a client writes. The immutable proposal allows a client to place the same value in a read-write datastore such as running, and later remove that entry, without changing the value in intended configuration. The operation changes visibility in the writable datastore, not authority over the underlying system value.

This distinction frustrates a simple change log. A record saying “client created node” may be technically correct for running yet wrong if read as the origin of the intended value. Conversely, an immutable system node may be absent from running unless explicitly configured — so a running-only inventory can miss the configuration that actually constrains the device.

Temporal provenance needs both layers: the client's edit event and the server's system-configuration event. The server event should identify the local source — hardware discovery, boot profile, vendor policy or another bounded mechanism — only when that information is actually available. The standard annotation does not supply this provenance, so an operator must not invent it. “Server-provided, source unknown” is a legitimate state, and a useful one.

Access control speaks first

When the Network Configuration Access Control Model is in use, the server checks access before it checks immutability. A user not authorized for the requested operation receives an access-denied result; the server does not first reveal that the target would also have been immutable.

That ordering matters for security and for analytics. A failed edit is not automatically evidence of immutability. You need the error tag, the authenticated principal, the target path and the access-control decision before attributing the failure to the new flag. Counting every rejection as “immutable policy working” mixes authorization failures with mutability rules and calls the result assurance.

The annotation itself can disclose useful structural hints. The draft notes that an attacker might use knowledge of fixed system configuration to shape an attack, so visibility is limited to clients already allowed to read the annotated nodes, and the security properties of NETCONF or RESTCONF still apply. A broad observability export that strips away read-scope context can accidentally publish more than the source client was ever meant to reveal.

Build a receipt, not a religion

Let the annotation stay the narrow field it is. The operational supplement belongs in a separate receipt. Start with server or logical-network-element identity, software version, datastore, YANG module revision and the capability-discovery result. Record the selected subtree, node-instance path, value, resolved immutable state, explicit or inherited origin, and the response time. If the platform exposes a configuration revision, snapshot ID or digest, that belongs beside the observation.

Then record whatever the operator can actually prove about the server side: the system-configuration source, decision authority, last change event and reason. Missing provenance stays marked as missing. For an attempted client edit, add the authenticated role, requested operation, NACM result, immutability result and returned error tag.

Finally, give the receipt a review time. That single field is what stops “observed immutable” from hardening into “certified permanent.” A later server update does not falsify the earlier receipt; it creates a new one. The pair reveals change while preserving the original control boundary.

None of this is a request to enlarge the YANG annotation. Loading history, identities and operational workflow into a boolean would wreck its interoperability. It is a recommendation for local evidence architecture: keep the standard statement small, then join it to the facts the local system can genuinely observe.

Adoption will be a patchwork, by design

At the research cutoff, revision 14 had been approved by the IESG and was sitting in the RFC Editor queue while still remaining an active Internet-Draft. Its YANG validation report showed no errors or warnings. Those are process facts. They do not establish implementation across products or fleets, and anyone who reads them as a deployment forecast is reading a different document.

The compatibility design predicts a mixed environment. Some servers will advertise the module or RESTCONF capability. Some clients will request it. Others will continue without the metadata. New clients may meet older servers that ignore or reject the request. An adoption report should show those combinations rather than stamping every absent annotation as mutable.

The right monitoring unit is a completed observation path: capability found, valid request sent, response received, state resolved, and — where relevant — an edit result classified after access control. That path tells you more than any product compatibility list, because it locates the exact point where the evidence stopped.

The flag answers one narrow question, and it answers it well. Treat it as the answer to that question and it will serve you for years. Treat it as a warranty on the future and you will find out — at three in the morning, after a hardware replacement — that you were the only one who ever believed it.

Sources