Skip to content

Commit

Permalink
regenerate code with updated protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Nov 12, 2024
1 parent 1200f2e commit eb75158
Show file tree
Hide file tree
Showing 19 changed files with 1,207 additions and 3,196 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ async def main():
response = await service.capabilities()
print(response.to_json(indent=2))

response = await service.get(
request = gnmi.proto.GetRequest(
path=[gnmi.proto.Path(elem=[gnmi.proto.PathElem(name="interfaces")])],
)
response = await service.get(request)
print(response.to_json(indent=2))


Expand Down
12 changes: 10 additions & 2 deletions src/gnmi/proto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
SubscriptionList,
Subscription,
QosMarking as QoSMarking,
Alias,
AliasList,
SetRequest,
SetResponse,
UpdateResult,
Expand All @@ -34,6 +32,8 @@
Nil,
GNmiStub as gNMIStub,
CollectorStub,
GNmiBase as gNMIBase,
CollectorBase,
)

# noinspection PyProtectedMember
Expand All @@ -44,6 +44,14 @@
MasterArbitration,
Uint128,
Role,
History,
TimeRange,
Commit,
CommitRequest,
CommitConfirm,
CommitCancel,
CommitSetRollbackDuration,
Depth,
)

# noinspection PyProtectedMember
Expand Down
Loading

0 comments on commit eb75158

Please sign in to comment.