Skip to content

Create new YANG path for triggering backup-next-hop-group. - #1541

Open
aayueshbarui wants to merge 10 commits into
openconfig:masterfrom
aayueshbarui:new_change
Open

Create new YANG path for triggering backup-next-hop-group.#1541
aayueshbarui wants to merge 10 commits into
openconfig:masterfrom
aayueshbarui:new_change

Conversation

@aayueshbarui

@aayueshbarui aayueshbarui commented Sep 3, 2026

Copy link
Copy Markdown

Change Scope

  • Adding a new path to trigger backup-next-hop-group. Currently backup for a next-hop-group is triggered automatically by the switch. With this new AFT path, the backup could be triggered by the switch client as well through gRIBI.
  • [Please indicate whether this change is backwards compatible.] - Yes

Platform Implementations

This is a new feature to be implemented by vendors. We already have communicated this feature with a few vendors and have got confirmation from Arista, Juniper and Nokia.

Tree View

module: openconfig-network-instance
   +--rw network-instances
      +--rw network-instance* [name]
         +--rw afts
+        |  +--ro backup-activations
+        |  |  +--ro backup-activation* [next-hop-group]
+        |  |     +--ro next-hop-group    -> ../state/next-hop-group
+        |  |     +--ro state
+        |  |        +--ro next-hop-group?   -> ../../../../next-hop-groups/next-hop-group/state/id

backup-activate using gRIBI based RPC.
backup-activate using gRIBI based RPC.
# Conflicts:
#	release/models/aft/openconfig-aft-common.yang
#	release/models/aft/openconfig-aft.yang

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new backup activation state for next-hop-groups in the Abstract Forwarding Table (AFT) model. The review feedback suggests renaming the container, list, and grouping to align with OpenConfig's plural/singular naming conventions, as well as updating the corresponding reference in the main module. Additionally, it is recommended to change the type of the next-hop-group leaf in the operational state from uint64 to a leafref to enforce referential integrity.

Comment thread release/models/aft/openconfig-aft-common.yang Outdated
Comment thread release/models/aft/openconfig-aft.yang Outdated
Comment thread release/models/aft/openconfig-aft-common.yang
aayueshbarui and others added 3 commits September 3, 2026 12:24
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Comment thread release/models/aft/openconfig-aft-common.yang Outdated
@aayueshbarui
aayueshbarui requested a review from earies September 7, 2026 22:32
@earies

earies commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Comment https://github.com/openconfig/public/pull/1541/changes#r3950922016 is not resolved (unable to unresolve)

Comment thread release/models/aft/openconfig-aft-common.yang Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants