Skip to content

Commit 4483e30

Browse files
committed
Add MANUAL proxy-arp mode and manual-ip-prefix leaf-list to IPv4 in openconfig-if-ip model
1 parent f87db50 commit 4483e30

1 file changed

Lines changed: 70 additions & 1 deletion

File tree

release/models/interfaces/openconfig-if-ip.yang

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ module openconfig-if-ip {
4545
Section 4.c of the IETF Trust's Legal Provisions Relating
4646
to IETF Documents (http://trustee.ietf.org/license-info).";
4747

48-
oc-ext:openconfig-version "3.9.0";
48+
oc-ext:openconfig-version "3.10.0";
49+
50+
revision "2026-03-30" {
51+
description
52+
"Add IPv4 proxy ARP MANUAL mode prefix list entries with
53+
OpenConfig list config/state structure.";
54+
reference "3.10.0";
55+
}
4956

5057
revision "2025-06-20" {
5158
description
@@ -1311,6 +1318,19 @@ revision "2023-06-30" {
13111318
}
13121319

13131320

1321+
grouping ipv4-proxy-arp-manual-prefix-config {
1322+
description
1323+
"Configuration parameters for a proxy ARP manual IPv4
1324+
prefix entry.";
1325+
1326+
leaf prefix {
1327+
type oc-inet:ipv4-prefix;
1328+
description
1329+
"IPv4 prefix for which proxy ARP replies are sent when
1330+
mode is MANUAL.";
1331+
}
1332+
}
1333+
13141334
grouping ipv4-proxy-arp-config {
13151335
description
13161336
"Configuration parameters for IPv4 proxy ARP";
@@ -1335,6 +1355,12 @@ revision "2023-06-30" {
13351355
and target IP addresses are in different subnets, as well
13361356
as those where they are in the same subnet.";
13371357
}
1358+
enum MANUAL {
1359+
description
1360+
"The system responds to ARP requests only for target
1361+
prefixes that are explicitly configured in
1362+
manual-ip-prefixes.";
1363+
}
13381364
}
13391365
default "DISABLE";
13401366
description
@@ -1471,6 +1497,49 @@ revision "2023-06-30" {
14711497
"Operational state parameters for proxy ARP";
14721498
uses ipv4-proxy-arp-config;
14731499
}
1500+
1501+
container manual-ip-prefixes {
1502+
when "../config/mode = 'MANUAL'" {
1503+
description
1504+
"manual-ip-prefixes is applicable only when proxy ARP mode
1505+
is MANUAL.";
1506+
}
1507+
description
1508+
"Collection of IPv4 prefixes for which proxy ARP replies are
1509+
sent when mode is MANUAL.";
1510+
1511+
list manual-ip-prefix {
1512+
key "prefix";
1513+
description
1514+
"A configured IPv4 prefix entry for proxy ARP manual mode.";
1515+
1516+
leaf prefix {
1517+
type leafref {
1518+
path "../config/prefix";
1519+
}
1520+
description
1521+
"IPv4 prefix for which proxy ARP replies are sent when
1522+
mode is MANUAL.";
1523+
}
1524+
1525+
container config {
1526+
description
1527+
"Configuration parameters for a proxy ARP manual IPv4
1528+
prefix entry.";
1529+
1530+
uses ipv4-proxy-arp-manual-prefix-config;
1531+
}
1532+
1533+
container state {
1534+
config false;
1535+
description
1536+
"Operational state parameters for a proxy ARP manual
1537+
IPv4 prefix entry.";
1538+
1539+
uses ipv4-proxy-arp-manual-prefix-config;
1540+
}
1541+
}
1542+
}
14741543
}
14751544

14761545
container neighbors {

0 commit comments

Comments
 (0)