GithubHelp home page GithubHelp logo

opiproject / pydpu Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 8.0 747 KB

Python library and cli to communicate with DPUs and IPUs

License: Apache License 2.0

Makefile 0.57% Dockerfile 0.05% Python 99.38%

pydpu's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pydpu's Issues

grpc_message:"unknown service opi_api.security.v1.IPsec"

opi-strongswan-bridge latest as of 10April2024
pydpu latest as of 10April2024

Python 3.9.18 (main, Jan  4 2024, 00:00:00)
[GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pydpu.proto.v1 import ipsec_pb2
>>> from pydpu.proto.v1 import ipsec_pb2_grpc
>>> import grpc
>>> channel = grpc.insecure_channel('127.0.0.1:50151')
>>> stub = ipsec_pb2_grpc.IPsecStub(channel)
>>> stub.IPsecVersion(ipsec_pb2.IPsecVersionReq())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.9/site-packages/grpc/_channel.py", line 1161, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/usr/lib64/python3.9/site-packages/grpc/_channel.py", line 1004, in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNIMPLEMENTED
        details = "unknown service opi_api.security.v1.IPsec"
        debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"unknown service opi_api.security.v1.IPsec", grpc_status:12, created_time:"2024-04-03T22:25:46.477784688+00:00"}"
>```

ci: auto-generate protos

consider adding new gh action like this, for example:

      - uses: actions/checkout@v3
      - name: Generate proto
        run: make proto
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v5

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v37.140.8

Detected dependencies

docker-compose
docker-compose.yml
  • docker.io/opiproject/spdk v23.09
  • redis 7.2.3-alpine3.18
  • jaegertracing/all-in-one 1.53.0
dockerfile
Dockerfile
  • python 3.12.1-alpine
github-actions
.github/workflows/codeql.yml
.github/workflows/commitlint.yml
.github/workflows/docker.yaml
  • actions/checkout v4
  • docker/setup-buildx-action v3.0.0
  • docker/login-action v3.0.0
  • docker/login-action v3.0.0
  • docker/metadata-action v5.5.0
  • docker/build-push-action v5.1.0
  • actions/checkout v4
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3.0.0
.github/workflows/linters.yml
  • actions/checkout v4
  • actions/checkout v4
  • hadolint/hadolint-action v3.1.0
  • actions/checkout v4
  • azohra/shell-linter v0.6.0
.github/workflows/python.yaml
.github/workflows/release-please.yml
.github/workflows/release.yaml
  • actions/checkout v4
  • actions/setup-python v5
  • snok/install-poetry v1
.github/workflows/scorecard.yml
pep621
pyproject.toml
poetry
pyproject.toml
  • python >=3.8.1,<4.0
  • Click ^8.1
  • grpcio ^1.51.1
  • google ^3.0.0
  • google-api-core ^2.11.0
  • redfish ^3.2.1
  • black ^23.1.0
  • flake8 ^7.0.0
  • bandit ^1.7.4
  • isort ^5.12.0
  • bump2version ^1.0.1
  • grpcio-tools ^1.51.1
  • mypy-protobuf ^3.4.0
  • pytest ^7.2.1
  • pytest-cov ^4.0.0
pre-commit
.pre-commit-config.yaml
  • pre-commit/pre-commit-hooks v4.5.0
  • renovatebot/pre-commit-hooks 37.131.0
  • alessandrojcm/commitlint-pre-commit-hook v9.11.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.