gribigo_compliance_test - bstoll/featureprofiles GitHub Wiki
Execute the gRIBIgo compliance tests against a DUT.
For each compliance test case in the test suite:
- 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.
- Set the network instance names for the default VRF and non-default VRF.
- Create gRIBI-A as the first client.
- Create gRIBI-B as the second client.
- 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.