gribigo_compliance_test - openconfig/featureprofiles GitHub Wiki

TE-15.1: gRIBI Compliance

Summary

Execute the gRIBIgo compliance tests against a DUT.

Procedure

For each compliance test case in the test suite:

  1. Connect DUT port-1 to ATE port-1, DUT port-2 to ATE port-2, DUT port-3 to ATE port-3. Assign 192.0.2.0/31, 192.0.2.2/31, and 192.0.2.4/31 to DUT and ATE as defined in the gribigo complaince test topology.
  2. Set the network instance names for the default VRF and non-default VRF.
  3. Create gRIBI-A as the first client.
  4. Create gRIBI-B as the second client.
  5. Call the test case function with the two gRIBI clients.
    • If the case expects a t.Fatal result, use testt.ExpectFatal.
    • If the case expects a t.Error result, use testt.ExpectError.
    • Otherwise, call the test case function directly.

OpenConfig Path and RPC Coverage

The below yaml defines the OC paths and RPC intended to be covered by this test.

paths:
    /interfaces/interface/config/enabled:


rpcs:
    gnmi:
        gNMI.Subscribe:
            ON_CHANGE: true

    gnoi:
        system.System.Reboot:
⚠️ **GitHub.com Fallback** ⚠️