Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module iana-ioam-integrity-protection-methods {
"IOAM Integrity Protection Methods
(https://www.iana.org/assignments/ioam/ioam.xhtml)";

revision 2026-04-15 {
revision 2026-04-22 {
description
"Initial version.";
reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module ietf-ioam-integrity {
Pre-allocated Trace Option. Therefore, the model does not
impose constraints that would prevent such use cases.";

revision 2026-04-15 {
revision 2026-04-22 {
description
"Initial version.";
reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ module ietf-ipv6-nd {
Author: Jiayuan Hu
<hujy5@chinatelecom.cn>";
description
"This YANG module defines a YANG data model to configure and manage
IPv6 Neighbor Discovery (ND) and related functions, including
IPv6 address resolution, redirect, proxy Neighbor
Advertisement, Neighbor Unreachability Detection (NUD), Duplicate
Address Detection (DAD), and Enhanced DAD.
"This YANG module defines a YANG data model to configure and
manage IPv6 Neighbor Discovery (ND) and related functions,
including IPv6 address resolution, redirect, proxy Neighbor
Advertisement, Neighbor Unreachability Detection (NUD),
Duplicate Address Detection (DAD), and Enhanced DAD.

The model is based on YANG 1.1 as defined in RFC 7950 and
conforms to Network Management Datastore Architecture (NMDA)
Expand All @@ -56,43 +56,21 @@ module ietf-ipv6-nd {

This version of this YANG module is part of RFC XXXX
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself
for full legal notices.

The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
'MAY', and 'OPTIONAL' in this document are to be interpreted as
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
they appear in all capitals, as shown here.";
for full legal notices.";
reference
"RFC4861: Neighbor Discovery for IP version 6 (IPv6)
RFC4862: IPv6 Stateless Address Autoconfiguration
RFC7527: Enhanced Duplicate Address Detection";

revision 2026-02-27 {
revision 2026-04-20 {
description
"Initial version";
"Initial version.";
reference
"RFC XXXX: YANG Data Model for IPv6 Neighbor Discovery";
}

/* Data nodes */

container nd {
description
"Global parameters for IPv6 ND.";
leaf stale-timeout {
type uint32;
units "seconds";
description
"The global timeout for Neighbor Cache entry in the STALE
state. This value applies to all interfaces unless overridden
by a per-interface setting.";
reference
"RFC4861: Neighbor Discovery for IP version 6 (IPv6)
Section 5.3";
}
}

augment "/if:interfaces/if:interface/ip:ipv6" {
description
"Augments interface configuration and state data with
Expand All @@ -101,7 +79,9 @@ module ietf-ipv6-nd {
description
"Parameters of IPv6 ND.";
leaf reachable-time {
type uint32;
type uint32 {
range "1..3600000";
}
units "milliseconds";
default "30000";
description
Expand All @@ -123,17 +103,6 @@ module ietf-ipv6-nd {
"RFC4861: Neighbor Discovery for IP version 6 (IPv6)
Section 6.3.2";
}
leaf stale-timeout {
type uint32;
units "seconds";
description
"The timeout for Neighbor Cache entry in the STALE state on
the interface. If configured, this value overrides the global
stale-timeout.";
reference
"RFC4861: Neighbor Discovery for IP version 6 (IPv6)
Section 5.3";
}
leaf redirect {
type boolean;
default "false";
Expand Down Expand Up @@ -266,3 +235,4 @@ module ietf-ipv6-nd {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module ietf-network-inventory {
"IETF IVY Working Group";
contact
"WG Web: <https://datatracker.ietf.org/wg/ivy/>
WG List: <mailto:inventory-yang@ietf.org>
WG List: <mailto:ivy@ietf.org>

Editor: Chaode Yu
<yuchaode@huawei.com>
Expand Down Expand Up @@ -65,7 +65,7 @@ module ietf-network-inventory {
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
they appear in all capitals, as shown here.";

revision 2026-01-27 {
revision 2026-04-22 {
description
"Initial version";
reference
Expand Down Expand Up @@ -101,6 +101,7 @@ module ietf-network-inventory {
type leafref {
path "/nwi:network-inventory/nwi:network-elements"
+ "/nwi:network-element/nwi:ne-id";
require-instance false;
}
description
"This type is intended to be used by data models that need to
Expand All @@ -111,6 +112,28 @@ module ietf-network-inventory {
* Groupings
*/

grouping component-ref {
description
"This grouping is intended to be used by data models that need
to reference a component within a Network Element.";
leaf ne-ref {
type nwi:ne-ref;
description
"The reference to the Network Element which contains the
component to be referenced.";
}
leaf component-ref {
type leafref {
path "/nwi:network-inventory/nwi:network-elements/"
+ "nwi:network-element[nwi:ne-id=current()/../ne-ref]"
+ "/nwi:components/nwi:component/nwi:component-id";
require-instance false;
}
description
"The reference to the component.";
}
}

grouping port-ref {
description
"This grouping is intended to be used by data models that need
Expand All @@ -126,13 +149,13 @@ module ietf-network-inventory {
path "/nwi:network-inventory/nwi:network-elements/"
+ "nwi:network-element[nwi:ne-id=current()/../ne-ref]"
+ "/nwi:components/nwi:component/nwi:component-id";
require-instance false;
}
must "derived-from-or-self (/nwi:network-inventory/
nwi:network-elements/nwi:network-element
[nwi:ne-id=../ne-ref]/nwi:components/nwi:component
[nwi:component-id=current()]/nwi:class, 'ianahw:port')";
description
"The reference to the port component.";
"The reference to the port component.

Note: the class of the referenced port component MUST be
'ianahw:port' or a derived identity.";
}
}

Expand All @@ -153,8 +176,8 @@ module ietf-network-inventory {
description
"The name of the entity (e.g., component), as specified by
a network operator, that provides a non-volatile 'handle'
for the entity and that can be modified anytime during the
entity lifetime.
for the entity and that can change anytime during the entity
lifetime.

If no value is discovered, the server MAY set the value of
this node to a locally unique value in the operational
Expand All @@ -181,8 +204,9 @@ module ietf-network-inventory {
list software-rev {
key "name";
description
"The list of the software modules configured to be active
within the entity (e.g., component).";
"The list of the software modules representing the software
images intended to be running within the entity
(e.g., component).";
leaf name {
type string;
description
Expand Down Expand Up @@ -432,8 +456,9 @@ module ietf-network-inventory {
component among all the sibling components.

The format of this string is
implementation-specific. It MAY encode an integer
value representing the entPhysicalParentRelPos.";
implementation-specific. When mapping from RFC 6933,
the entPhysicalParentRelPos integer value SHOULD be
encoded as an integer string.";
reference
"RFC 6933: Entity MIB (Version 4) -
entPhysicalParentRelPos";
Expand Down
Loading
Loading