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 atomic annotations to containers in openconfig-aft. #860

Merged
merged 10 commits into from
May 1, 2023

Conversation

michaelore
Copy link
Contributor

@michaelore michaelore commented Apr 19, 2023

Refreshing #517 as the author is no longer available to complete the request.

#Operational use case
The expectation is that for any AFT entity is only complete when it includes IPv4/IPv6/MPLS/Ethernet, Conditional Next Hop Group (CNHG), Next Hop Group (NHG), or Next Hop (NH). AFT entities must always be updated as a whole with all attributes of the entity in a single message. This is required to preserve the integrity of the AFT table stored on a client by preventing fragmented or partial AFT entities during streaming of updates.

This change adds the atomic attribute to AFT lists for IPv4/IPv6/MPLS/Ethernet/PolicyBasedForwarding, Conditional Next Hop Group (CNHG), Next Hop Group (NHG) and Next Hop (NH).

drautio and others added 5 commits October 29, 2021 09:07
 On branch aft-atomic-508
 Changes to be committed:
	modified:   openconfig-aft-common.yang
	modified:   openconfig-aft-ethernet.yang
	modified:   openconfig-aft-ipv4.yang
	modified:   openconfig-aft-ipv6.yang
	modified:   openconfig-aft-mpls.yang
	modified:   openconfig-aft-pf.yang

Add the atomic attribute to the above aft yang containers.
…le.com>

 On branch aft-atomic-508
 Your branch is up to date with 'origin/aft-atomic-508'.

 Changes to be committed:
	modified:   openconfig-aft-ipv6.yang
	modified:   openconfig-aft-mpls.yang
	modified:   openconfig-aft-pf.yang

Fix some yang lint errors.
 On branch aft-atomic-508
 Your branch is up to date with 'origin/aft-atomic-508'.

 Changes to be committed:
	modified:   openconfig-aft-common.yang
	modified:   openconfig-aft-ethernet.yang
	modified:   openconfig-aft-ipv4.yang
	modified:   openconfig-aft-ipv6.yang
	modified:   openconfig-aft-mpls.yang
	modified:   openconfig-aft-pf.yang

Address reviewers comments to move the atomic attribute.
@michaelore michaelore requested a review from a team as a code owner April 19, 2023 15:20
@google-cla
Copy link

google-cla bot commented Apr 19, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@OpenConfigBot
Copy link

OpenConfigBot commented Apr 19, 2023

Major YANG version changes in commit 88c5a15:

@OpenConfigBot
Copy link

OpenConfigBot commented Apr 19, 2023

Compatibility Report for commit 88c5a15:
yanglint@SO 1.10.17

@michaelore
Copy link
Contributor Author

@dplore This should be ready to review. FYI the CLA check is tripping because I included Dan's prior commits and the check doesn't recognize him anymore. From internal resources sounds like there are ways to override it, but waiting until the PR is otherwise ready to merge.

@dplore
Copy link
Member

dplore commented Apr 25, 2023

Hi @michaelore , please amend this PR or submit a fresh one so the CLA is intact.

Copy link
Member

@dplore dplore left a comment

Choose a reason for hiding this comment

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

Approving as non-breaking change.

This is interpreted as non-breaking as adding the atomic criteria is interpreted as not breaking for old clients. If an server implementation of this model emits this data in atomic gNMI notifications, the older client can still accept the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants