Skip to content

Commit

Permalink
chore(deps): update bindings to opi-api cfd9121
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun committed Feb 7, 2024
1 parent 36882b8 commit 9659be6
Show file tree
Hide file tree
Showing 43 changed files with 1,398 additions and 1,458 deletions.
2 changes: 1 addition & 1 deletion pydpu/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def get_inventory(address):
try:
with grpc.insecure_channel(address) as channel:
stub = inventory_pb2_grpc.InventorySvcStub(channel)
stub = inventory_pb2_grpc.InventoryServiceStub(channel)
res = stub.GetInventory(request=inventory_pb2.GetInventoryRequest())
return res
except grpc.RpcError as e:
Expand Down
16 changes: 8 additions & 8 deletions pydpu/ipsec.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@

def get_stats(address):
with grpc.insecure_channel(address) as channel:
stub = ipsec_pb2_grpc.IPsecStub(channel)
a = stub.IPsecVersion(ipsec_pb2.IPsecVersionReq())
b = stub.IPsecStats(ipsec_pb2.IPsecStatsReq())
c = stub.IPsecListConns(ipsec_pb2.IPsecListConnsReq(ike="tun1_0_0"))
d = stub.IPsecListSas(ipsec_pb2.IPsecListSasReq(ike="tun1_0_0"))
e = stub.IPsecListCerts(ipsec_pb2.IPsecListCertsReq())
stub = ipsec_pb2_grpc.IPsecServiceStub(channel)
a = stub.IPsecVersion(ipsec_pb2.IPsecVersionRequest())
b = stub.IPsecStats(ipsec_pb2.IPsecStatsRequest())
c = stub.IPsecListConns(ipsec_pb2.IPsecListConnsRequest(ike="tun1_0_0"))
d = stub.IPsecListSas(ipsec_pb2.IPsecListSasRequest(ike="tun1_0_0"))
e = stub.IPsecListCerts(ipsec_pb2.IPsecListCertsRequest())
print(a, b, c, d, e)


def create_new_tunnel(address):
with grpc.insecure_channel(address) as channel:
stub = ipsec_pb2_grpc.IPsecStub(channel)
stub = ipsec_pb2_grpc.IPsecServiceStub(channel)
# connection_1 = stub.IPsecLoadConn(tun1_0_0)
# connection_2 = stub.IPsecLoadConn(tun1_0_1)
print(
"tbd",
stub,
grpc.StatusCode.UNIMPLEMENTED,
ipsec_pb2.IPsecStatsReq(),
ipsec_pb2.IPsecStatsRequest(),
)
150 changes: 74 additions & 76 deletions pydpu/proto/v1/backend_aio_pb2.py

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions pydpu/proto/v1/backend_iscsi_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

146 changes: 72 additions & 74 deletions pydpu/proto/v1/backend_null_pb2.py

Large diffs are not rendered by default.

408 changes: 202 additions & 206 deletions pydpu/proto/v1/backend_nvme_pb2.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pydpu/proto/v1/backend_nvme_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class NvmeRemoteControllerServiceStub(object):
"""Back End APIs. Reponsible for connection to external Nvme devices
"""Back End APIs. Responsible for connection to external Nvme devices
e.g. connection to Nvme/TCP Nvme/RDMA and local Nvme/Pcie ssds
"""

Expand Down Expand Up @@ -95,7 +95,7 @@ def __init__(self, channel):


class NvmeRemoteControllerServiceServicer(object):
"""Back End APIs. Reponsible for connection to external Nvme devices
"""Back End APIs. Responsible for connection to external Nvme devices
e.g. connection to Nvme/TCP Nvme/RDMA and local Nvme/Pcie ssds
"""

Expand Down Expand Up @@ -290,7 +290,7 @@ def add_NvmeRemoteControllerServiceServicer_to_server(servicer, server):

# This class is part of an EXPERIMENTAL API.
class NvmeRemoteControllerService(object):
"""Back End APIs. Reponsible for connection to external Nvme devices
"""Back End APIs. Responsible for connection to external Nvme devices
e.g. connection to Nvme/TCP Nvme/RDMA and local Nvme/Pcie ssds
"""

Expand Down
2 changes: 1 addition & 1 deletion pydpu/proto/v1/bgp_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pydpu/proto/v1/cloudrpc_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pydpu/proto/v1/device_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

536 changes: 268 additions & 268 deletions pydpu/proto/v1/frontend_nvme_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit 9659be6

Please sign in to comment.