Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions release/models/interfaces/openconfig-interfaces.yang
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ module openconfig-interfaces {

// import some basic types
import ietf-interfaces { prefix ietf-if; }
import openconfig-yang-types { prefix oc-yang; }
import openconfig-types { prefix oc-types; }
import openconfig-extensions { prefix oc-ext; }
import openconfig-yang-types { prefix oc-yang; }
import openconfig-transport-types { prefix oc-opt-types; }

// meta
Expand Down Expand Up @@ -1292,7 +1292,7 @@ module openconfig-interfaces {
description
"Configurable items at the subinterface level";
oc-ext:telemetry-on-change;

oc-ext:allow-config-mismatch;
uses subinterfaces-config;
}

Expand Down Expand Up @@ -1346,6 +1346,7 @@ module openconfig-interfaces {
"Configurable items at the global, physical interface
level";
oc-ext:telemetry-on-change;
oc-ext:allow-config-mismatch;

uses interface-phys-config;
}
Expand Down
17 changes: 16 additions & 1 deletion release/models/openconfig-extensions.yang
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ module openconfig-extensions {
"This module provides extensions to the YANG language to allow
OpenConfig specific functionality and meta-data to be defined.";

oc-ext:openconfig-version "0.7.0";
oc-ext:openconfig-version "1.0.0";

revision "2026-02-04" {
description
"Add allow-config-mismatch extension.";
reference "1.0.0";
}

revision "2025-01-02" {
description
Expand Down Expand Up @@ -68,6 +74,15 @@ module openconfig-extensions {
reference "0.1.0";
}

extension allow-config-mismatch {
description
"This extension is applied to configuration leaves or containers that
may contain values which mismatch or are invalid for currently
installed hardware. The target must accepted these invalid
values and should generate a warning message. In this case
the related hardware component is expected to be in an operational
down or error state.";
}

// extension statements
extension openconfig-version {
Expand Down
Loading