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 support for IPv4 reconcilation. #198

Merged
merged 6 commits into from
Oct 24, 2023
Merged

Add support for IPv4 reconcilation. #198

merged 6 commits into from
Oct 24, 2023

Conversation

robshakir
Copy link
Contributor

commit b0017da0661ec68f0a386f1600fbcb89fd25d948
Author: Rob Shakir <[email protected]>
Date:   Mon Oct 23 14:31:30 2023 -0700

    Add diff logic for IPv4 entries within the RIB.
    
     * (M) go.mod
     * (M) go.sum
        - Add klog and upgrade to go1.20.
     * (M) rib/reconciler/reconcile.go
     * (M) rib/reconciler/reconcile_test.go
        -  Add reconcilation for IPv4 entries, and explicit replace logic.
           This ensures that if implicit replace isn't supported for a
           particular type then the reconciler respects this.

 * (M) go.{mod,sum}
  - Move to non-release version of ygot to get new `protomap` features.
 * (M) rib/remote.go
  - Add support for a RIB that is accessed via the `Get` RPC rather than
    locally.
 * (M) rib/rib(_test).go
  - Add a mechanism to retrieve RIB contents, improve testing.
 * (M) go.mod
 * (M) go.sum
    - Add klog and upgrade to go1.20.
 * (M) rib/reconciler/reconcile.go
 * (M) rib/reconciler/reconcile_test.go
    -  Add reconcilation for IPv4 entries, and explicit replace logic.
       This ensures that if implicit replace isn't supported for a
       particular type then the reconciler respects this.
  * (M) rib/reconciler/reconcile.go
  * (M) rib/reconciler/reconcile_test.go
    - support add/delete/replace for NextHopGroup entries within a RIB.
  * (M) rib/helpers.go
  * (M) rib/helpers_test.go
    - Allow NH details to be injected into the fake RIB.
  * (M) rib/reconciler/reconcile.go
  * (M) rib/reconciler/reconcile_test.go
    - Restructure return values to allow a caller to stage their
      operations into the gRIBI server - e.g., perform adds to install
      new entries, then replaces, then deletes. Keep types separate to
      allow for more robust ordering.
    - Add support for NH diffing.
  * (M) rib/reconciler/remote_test.go
    - Adopt new fake RIB helper method.
* Add support for MPLS reconciliation.

  * (M) rib/helpers.go
  * (M) rib/helpers_test.go
    - Add fake RIB helper methods for MPLS.
  * (M) rib/reconciler/reconcile.go
  * (M) rib/reconciler/reconcile_test.go
    - Add support for reconciliation of label entries.

* Add support for `ALL` address families in explicitReplace.

  * (M) rib/reconciler/reconcile.go
  * (M) rib/reconciler/reconcile_test.go
    - Ensure that the `ALL` `AFTType` is mapped to the correct address
       families when reconciling.
@robshakir robshakir merged commit bb56d17 into main Oct 24, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants