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

Fix gRPC failure and demo_grc #437

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
**This repository has submodules; after cloning it you should run `git submodule
update --init --recursive`.**

## Install script

To use a script that installs all that PI needs and also intalls PI,
use the script below. First, copy the scirpt to another directory and
remove the existing PI. Then install a fresh PI and its dependencies
using the script.

install-p4dev-p4runtime.sh

After installation is complete, use `./configure` from PI root directory
to configure different options.

## Dependencies

### Base dependencies
Expand Down Expand Up @@ -119,6 +131,8 @@ p4runtime_proto_repositories()

## PI CLI

PI CLI uses Thrift to communicate between client and server.

For now the PI CLI supports an experimental version of `table_add` and
`table_delete`. Because these two functions have been implemented in the bmv2 PI
implementation, you can test the PI CLI with the bmv2 `simple_switch`. Assuming
Expand All @@ -132,6 +146,11 @@ bmv2 is installed on your system, build the PI and the CLI with `./configure
PI CLI> table_dump ipv4_lpm
PI CLI> table_delete ipv4_lpm <handle returned by table_add>

## gRPC Testing

See proto/demo_grpc/README.md which describes the demo.


## Contributing

All contributed code must pass the style checker, which can be run with
Expand Down
Loading