Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gratuitous-arp-accepted and unsolicited-na-accepted #1120

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
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
41 changes: 40 additions & 1 deletion release/models/interfaces/openconfig-if-ip.yang
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ module openconfig-if-ip {
Section 4.c of the IETF Trust's Legal Provisions Relating
to IETF Documents (http://trustee.ietf.org/license-info).";

oc-ext:openconfig-version "3.5.1";
oc-ext:openconfig-version "3.6.0";

revision "2024-05-28" {
description
"Add gratuitous-arp-accepted for IPv4 and unsolicited-na-accepted for IPv6.";
reference "3.6.0";
}

revision "2024-03-13" {
description
Expand Down Expand Up @@ -480,6 +486,15 @@ revision "2023-06-30" {
"RFC 791: Internet Protocol";
}

leaf gratuitous-arp-accepted {
type boolean;
description
"When set to true, gratuitous ARPs will be accepted and
the ARP table will be updated.";
reference
"RFC 826: An Ethernet Address Resolution Protocol";
}

uses ip-common-global-config;


Expand Down Expand Up @@ -605,6 +620,30 @@ revision "2023-06-30" {
"RFC 4862: IPv6 Stateless Address Autoconfiguration";
}

leaf learn-unsolicited {
type enumeration {
enum NONE {
value 0;
}
enum GLOBAL {
value 1;
}
enum LINK_LOCAL {
value 2;
}
enum BOTH {
value 3;
}
}
default "NONE";
description
"Sets if neighbors should be learned from unsolicited neighbor
advertisements for global or link local addresses or both.";
reference
"RFC 9131: Routers Creating Cache Entries upon
Receiving Unsolicited Neighbor Advertisements";
}

uses ip-common-global-config;
}

Expand Down
Loading