Skip to content

Commit

Permalink
updated pr4t and gribi process names (openconfig#2794)
Browse files Browse the repository at this point in the history
as part unified grpc server support gribi and p4rt services are moved as
service inside grpc server instance.Also,restart of grpc_server will
restart assosiates services as well.

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
  • Loading branch information
bkreddy143 authored Mar 28, 2024
1 parent c3b74d1 commit 17c0e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var (
ondatra.ARISTA: "Gribi",
ondatra.CISCO: "emsd",
ondatra.JUNIPER: "rpd",
ondatra.NOKIA: "sr_gribi_server",
ondatra.NOKIA: "sr_grpc_server",
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var (
ondatra.ARISTA: "P4Runtime",
ondatra.CISCO: "emsd",
ondatra.JUNIPER: "p4-switch",
ondatra.NOKIA: "sr_p4rt_server",
ondatra.NOKIA: "sr_grpc_server",
}
)

Expand Down Expand Up @@ -359,7 +359,7 @@ func TestP4RTDaemonFailure(t *testing.T) {
ate.OTG().StopTraffic(t)

// Skip check for CISCO devices that use the same process for P4RT & gNMI.
if dut.Vendor() != ondatra.CISCO {
if dut.Vendor() != ondatra.CISCO && dut.Vendor() != ondatra.NOKIA {
// Verify interfaceID did not change since the last time we read it.
changedID, notOk := watchID.Await(t)
if notOk {
Expand Down

0 comments on commit 17c0e03

Please sign in to comment.