-
Notifications
You must be signed in to change notification settings - Fork 698
Add MANUAL proxy-arp mode and manual-ip-prefix leaf-list to openconfig-if-ip IPv4 mode #1461
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
Open
jsingh2-c
wants to merge
1
commit into
openconfig:master
Choose a base branch
from
jsingh2-c:feature-proxy-arp-manual-mode
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,14 @@ 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.9.0"; | ||
| oc-ext:openconfig-version "3.10.0"; | ||
|
|
||
| revision "2026-03-30" { | ||
| description | ||
| "Add IPv4 proxy ARP MANUAL mode prefix list entries with | ||
| OpenConfig list config/state structure."; | ||
| reference "3.10.0"; | ||
| } | ||
|
|
||
| revision "2025-06-20" { | ||
| description | ||
|
|
@@ -1311,6 +1318,19 @@ revision "2023-06-30" { | |
| } | ||
|
|
||
|
|
||
| grouping ipv4-proxy-arp-manual-prefix-config { | ||
| description | ||
| "Configuration parameters for a proxy ARP manual IPv4 | ||
| prefix entry."; | ||
|
|
||
| leaf prefix { | ||
| type oc-inet:ipv4-prefix; | ||
| description | ||
| "IPv4 prefix for which proxy ARP replies are sent when | ||
| mode is MANUAL."; | ||
| } | ||
| } | ||
|
|
||
| grouping ipv4-proxy-arp-config { | ||
| description | ||
| "Configuration parameters for IPv4 proxy ARP"; | ||
|
|
@@ -1335,6 +1355,12 @@ revision "2023-06-30" { | |
| and target IP addresses are in different subnets, as well | ||
| as those where they are in the same subnet."; | ||
| } | ||
| enum MANUAL { | ||
| description | ||
| "The system responds to ARP requests only for target | ||
| prefixes that are explicitly configured in | ||
| manual-ip-prefixes."; | ||
| } | ||
| } | ||
| default "DISABLE"; | ||
| description | ||
|
|
@@ -1471,6 +1497,49 @@ revision "2023-06-30" { | |
| "Operational state parameters for proxy ARP"; | ||
| uses ipv4-proxy-arp-config; | ||
| } | ||
|
|
||
| container manual-ip-prefixes { | ||
| when "../config/mode = 'MANUAL'" { | ||
| description | ||
| "manual-ip-prefixes is applicable only when proxy ARP mode | ||
| is MANUAL."; | ||
| } | ||
| description | ||
| "Collection of IPv4 prefixes for which proxy ARP replies are | ||
| sent when mode is MANUAL."; | ||
|
Comment on lines
+1508
to
+1509
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| list manual-ip-prefix { | ||
| key "prefix"; | ||
| description | ||
| "A configured IPv4 prefix entry for proxy ARP manual mode."; | ||
|
|
||
| leaf prefix { | ||
| type leafref { | ||
| path "../config/prefix"; | ||
| } | ||
| description | ||
| "IPv4 prefix for which proxy ARP replies are sent when | ||
| mode is MANUAL."; | ||
| } | ||
|
|
||
| container config { | ||
| description | ||
| "Configuration parameters for a proxy ARP manual IPv4 | ||
| prefix entry."; | ||
|
|
||
| uses ipv4-proxy-arp-manual-prefix-config; | ||
| } | ||
|
|
||
| container state { | ||
| config false; | ||
| description | ||
| "Operational state parameters for a proxy ARP manual | ||
| IPv4 prefix entry."; | ||
|
|
||
| uses ipv4-proxy-arp-manual-prefix-config; | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| container neighbors { | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify that "mode" refers to the "proxy ARP mode" in the description for better readability and consistency with other parts of the model.