diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d56b19c..763a11fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ on: jobs: cancel-previous-runs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -50,7 +50,7 @@ jobs: fail-fast: false matrix: go: [ "1.17", "1.20" ] - os: [ ubuntu-20.04, macos-11 ] + os: [ ubuntu-22.04, macos-12 ] steps: - uses: actions/setup-go@v3 with: diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index e316f7fd..783e9774 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -36,7 +36,7 @@ on: jobs: cancel-previous-runs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -52,8 +52,8 @@ jobs: fail-fast: false matrix: go: ["1.17", "1.20"] - python-version: [3.7] - os: [ubuntu-20.04] + python-version: ["3.9"] + os: [ubuntu-22.04] steps: - uses: actions/setup-go@v3 with: @@ -66,4 +66,8 @@ jobs: run: | docker build -t otns-env -f etc/docker/environment/Dockerfile . docker run -t -v$PWD:/otns otns-env -c "./script/pack-web" - git diff --quiet + if ! git diff --quiet; then + echo "script/pack-web was not properly executed:" + git diff + exit 1 + fi diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 658613b3..3a43b262 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -36,7 +36,7 @@ on: jobs: cancel-previous-runs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -45,7 +45,7 @@ jobs: buildx: name: buildx-${{ matrix.version }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 52552b8f..cb796ffe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -36,7 +36,7 @@ on: jobs: cancel-previous-runs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -45,7 +45,7 @@ jobs: go-lint: name: Go Lint - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: diff --git a/.github/workflows/stress.yml b/.github/workflows/stress.yml index 11b26b3e..7c40a30e 100644 --- a/.github/workflows/stress.yml +++ b/.github/workflows/stress.yml @@ -36,7 +36,7 @@ on: jobs: cancel-previous-runs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -48,10 +48,10 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7] + python-version: ["3.9"] go-version: ["1.20"] suite: ["network-forming", "commissioning", "connectivity", "network-latency", "multicast-performance", "otns-performance", "network-limits"] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d59ed50..20b12d6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ on: jobs: cancel-previous-runs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: rokroskar/workflow-run-cleanup-action@master env: @@ -49,7 +49,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macos-11] + os: [ubuntu-22.04, macos-12] env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: @@ -69,8 +69,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7] - os: [ubuntu-20.04, macos-11] + python-version: ["3.9"] + os: [ubuntu-22.04, macos-12] env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: @@ -92,8 +92,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7] - os: [ubuntu-20.04, macos-11] + python-version: ["3.9"] + os: [ubuntu-22.04, macos-12] env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: @@ -115,8 +115,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7] - os: [ubuntu-20.04, macos-11] + python-version: ["3.9"] + os: [ubuntu-22.04, macos-12] env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: diff --git a/pylibs/otns/proto/visualize_grpc_pb2.py b/pylibs/otns/proto/visualize_grpc_pb2.py index 2731f531..0e1dea6f 100644 --- a/pylibs/otns/proto/visualize_grpc_pb2.py +++ b/pylibs/otns/proto/visualize_grpc_pb2.py @@ -4,6 +4,7 @@ """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database @@ -14,55 +15,9 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='visualize_grpc.proto', - package='visualize_grpc_pb', - syntax='proto3', - serialized_options=b'Z-github.com/openthread/ot-ns/visualize/grpc/pb', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x14visualize_grpc.proto\x12\x11visualize_grpc_pb\"\x12\n\x10VisualizeRequest\"\xb7\x0b\n\x0eVisualizeEvent\x12\x33\n\x08\x61\x64\x64_node\x18\x01 \x01(\x0b\x32\x1f.visualize_grpc_pb.AddNodeEventH\x00\x12\x39\n\x0b\x64\x65lete_node\x18\x02 \x01(\x0b\x32\".visualize_grpc_pb.DeleteNodeEventH\x00\x12@\n\x0fset_node_rloc16\x18\x03 \x01(\x0b\x32%.visualize_grpc_pb.SetNodeRloc16EventH\x00\x12<\n\rset_node_role\x18\x04 \x01(\x0b\x32#.visualize_grpc_pb.SetNodeRoleEventH\x00\x12:\n\x0cset_node_pos\x18\x05 \x01(\x0b\x32\".visualize_grpc_pb.SetNodePosEventH\x00\x12K\n\x15set_node_partition_id\x18\x06 \x01(\x0b\x32*.visualize_grpc_pb.SetNodePartitionIdEventH\x00\x12:\n\x0con_node_fail\x18\x07 \x01(\x0b\x32\".visualize_grpc_pb.OnNodeFailEventH\x00\x12@\n\x0fon_node_recover\x18\x08 \x01(\x0b\x32%.visualize_grpc_pb.OnNodeRecoverEventH\x00\x12\x37\n\nset_parent\x18\t \x01(\x0b\x32!.visualize_grpc_pb.SetParentEventH\x00\x12\x37\n\ncount_down\x18\n \x01(\x0b\x32!.visualize_grpc_pb.CountDownEventH\x00\x12\x42\n\x10show_demo_legend\x18\x0b \x01(\x0b\x32&.visualize_grpc_pb.ShowDemoLegendEventH\x00\x12;\n\x0c\x61\x64vance_time\x18\x0c \x01(\x0b\x32#.visualize_grpc_pb.AdvanceTimeEventH\x00\x12\x42\n\x10\x61\x64\x64_router_table\x18\r \x01(\x0b\x32&.visualize_grpc_pb.AddRouterTableEventH\x00\x12H\n\x13remove_router_table\x18\x0e \x01(\x0b\x32).visualize_grpc_pb.RemoveRouterTableEventH\x00\x12@\n\x0f\x61\x64\x64_child_table\x18\x0f \x01(\x0b\x32%.visualize_grpc_pb.AddChildTableEventH\x00\x12\x46\n\x12remove_child_table\x18\x10 \x01(\x0b\x32(.visualize_grpc_pb.RemoveChildTableEventH\x00\x12,\n\x04send\x18\x11 \x01(\x0b\x32\x1c.visualize_grpc_pb.SendEventH\x00\x12\x35\n\tset_speed\x18\x12 \x01(\x0b\x32 .visualize_grpc_pb.SetSpeedEventH\x00\x12\x36\n\theartbeat\x18\x13 \x01(\x0b\x32!.visualize_grpc_pb.HeartbeatEventH\x00\x12\x45\n\x12on_ext_addr_change\x18\x14 \x01(\x0b\x32\'.visualize_grpc_pb.OnExtAddrChangeEventH\x00\x12\x35\n\tset_title\x18\x15 \x01(\x0b\x32 .visualize_grpc_pb.SetTitleEventH\x00\x12<\n\rset_node_mode\x18\x16 \x01(\x0b\x32#.visualize_grpc_pb.SetNodeModeEventH\x00\x12\x42\n\x10set_network_info\x18\x17 \x01(\x0b\x32&.visualize_grpc_pb.SetNetworkInfoEventH\x00\x42\x06\n\x04type\"a\n\tSendEvent\x12\x0e\n\x06src_id\x18\x01 \x01(\x05\x12\x0e\n\x06\x64st_id\x18\x02 \x01(\x05\x12\x34\n\x07mv_info\x18\x03 \x01(\x0b\x32#.visualize_grpc_pb.MsgVisualizeInfo\"z\n\x10MsgVisualizeInfo\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\x12\x15\n\rframe_control\x18\x02 \x01(\r\x12\x0b\n\x03seq\x18\x03 \x01(\r\x12\x16\n\x0e\x64st_addr_short\x18\x04 \x01(\r\x12\x19\n\x11\x64st_addr_extended\x18\x05 \x01(\x04\"8\n\x13\x41\x64\x64RouterTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\";\n\x16RemoveRouterTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"7\n\x12\x41\x64\x64\x43hildTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\":\n\x15RemoveChildTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"\x1e\n\rSetSpeedEvent\x12\r\n\x05speed\x18\x01 \x01(\x01\"\x10\n\x0eHeartbeatEvent\"-\n\x10\x41\x64vanceTimeEvent\x12\n\n\x02ts\x18\x01 \x01(\x04\x12\r\n\x05speed\x18\x02 \x01(\x01\"3\n\x0eSetParentEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"3\n\x0e\x43ountDownEvent\x12\x13\n\x0b\x64uration_ms\x18\x01 \x01(\x03\x12\x0c\n\x04text\x18\x02 \x01(\t\":\n\x13ShowDemoLegendEvent\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\x12\r\n\x05title\x18\x03 \x01(\t\"8\n\x0fSetNodePosEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\"R\n\x10SetNodeRoleEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12-\n\x04role\x18\x02 \x01(\x0e\x32\x1f.visualize_grpc_pb.OtDeviceRole\"@\n\x17SetNodePartitionIdEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x14\n\x0cpartition_id\x18\x02 \x01(\r\"\"\n\x0fOnNodeFailEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\"%\n\x12OnNodeRecoverEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\"\"\n\x0f\x44\x65leteNodeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\"J\n\x0c\x41\x64\x64NodeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\x12\x13\n\x0bradio_range\x18\x04 \x01(\x05\"x\n\x08NodeMode\x12\x17\n\x0frx_on_when_idle\x18\x01 \x01(\x08\x12\x1c\n\x14secure_data_requests\x18\x02 \x01(\x08\x12\x1a\n\x12\x66ull_thread_device\x18\x03 \x01(\x08\x12\x19\n\x11\x66ull_network_data\x18\x04 \x01(\x08\"5\n\x12SetNodeRloc16Event\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x0e\n\x06rloc16\x18\x02 \x01(\r\"9\n\x14OnExtAddrChangeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"G\n\rSetTitleEvent\x12\r\n\x05title\x18\x01 \x01(\t\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\x12\x11\n\tfont_size\x18\x04 \x01(\x05\"S\n\x10SetNodeModeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12.\n\tnode_mode\x18\x02 \x01(\x0b\x32\x1b.visualize_grpc_pb.NodeMode\"D\n\x13SetNetworkInfoEvent\x12\x0c\n\x04real\x18\x01 \x01(\x08\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0e\n\x06\x63ommit\x18\x03 \x01(\t\"!\n\x0e\x43ommandRequest\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\"!\n\x0f\x43ommandResponse\x12\x0e\n\x06output\x18\x01 \x03(\t\"R\n\x0bReplayEntry\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x30\n\x05\x65vent\x18\x02 \x01(\x0b\x32!.visualize_grpc_pb.VisualizeEvent\"\x07\n\x05\x45mpty*\x98\x01\n\x0cOtDeviceRole\x12\x1b\n\x17OT_DEVICE_ROLE_DISABLED\x10\x00\x12\x1b\n\x17OT_DEVICE_ROLE_DETACHED\x10\x01\x12\x18\n\x14OT_DEVICE_ROLE_CHILD\x10\x02\x12\x19\n\x15OT_DEVICE_ROLE_ROUTER\x10\x03\x12\x19\n\x15OT_DEVICE_ROLE_LEADER\x10\x04\x32\xbf\x01\n\x14VisualizeGrpcService\x12U\n\tVisualize\x12#.visualize_grpc_pb.VisualizeRequest\x1a!.visualize_grpc_pb.VisualizeEvent0\x01\x12P\n\x07\x43ommand\x12!.visualize_grpc_pb.CommandRequest\x1a\".visualize_grpc_pb.CommandResponseB/Z-github.com/openthread/ot-ns/visualize/grpc/pbb\x06proto3' -) - -_OTDEVICEROLE = _descriptor.EnumDescriptor( - name='OtDeviceRole', - full_name='visualize_grpc_pb.OtDeviceRole', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='OT_DEVICE_ROLE_DISABLED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='OT_DEVICE_ROLE_DETACHED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='OT_DEVICE_ROLE_CHILD', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='OT_DEVICE_ROLE_ROUTER', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='OT_DEVICE_ROLE_LEADER', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3274, - serialized_end=3426, -) -_sym_db.RegisterEnumDescriptor(_OTDEVICEROLE) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14visualize_grpc.proto\x12\x11visualize_grpc_pb\"\x12\n\x10VisualizeRequest\"\xb7\x0b\n\x0eVisualizeEvent\x12\x33\n\x08\x61\x64\x64_node\x18\x01 \x01(\x0b\x32\x1f.visualize_grpc_pb.AddNodeEventH\x00\x12\x39\n\x0b\x64\x65lete_node\x18\x02 \x01(\x0b\x32\".visualize_grpc_pb.DeleteNodeEventH\x00\x12@\n\x0fset_node_rloc16\x18\x03 \x01(\x0b\x32%.visualize_grpc_pb.SetNodeRloc16EventH\x00\x12<\n\rset_node_role\x18\x04 \x01(\x0b\x32#.visualize_grpc_pb.SetNodeRoleEventH\x00\x12:\n\x0cset_node_pos\x18\x05 \x01(\x0b\x32\".visualize_grpc_pb.SetNodePosEventH\x00\x12K\n\x15set_node_partition_id\x18\x06 \x01(\x0b\x32*.visualize_grpc_pb.SetNodePartitionIdEventH\x00\x12:\n\x0con_node_fail\x18\x07 \x01(\x0b\x32\".visualize_grpc_pb.OnNodeFailEventH\x00\x12@\n\x0fon_node_recover\x18\x08 \x01(\x0b\x32%.visualize_grpc_pb.OnNodeRecoverEventH\x00\x12\x37\n\nset_parent\x18\t \x01(\x0b\x32!.visualize_grpc_pb.SetParentEventH\x00\x12\x37\n\ncount_down\x18\n \x01(\x0b\x32!.visualize_grpc_pb.CountDownEventH\x00\x12\x42\n\x10show_demo_legend\x18\x0b \x01(\x0b\x32&.visualize_grpc_pb.ShowDemoLegendEventH\x00\x12;\n\x0c\x61\x64vance_time\x18\x0c \x01(\x0b\x32#.visualize_grpc_pb.AdvanceTimeEventH\x00\x12\x42\n\x10\x61\x64\x64_router_table\x18\r \x01(\x0b\x32&.visualize_grpc_pb.AddRouterTableEventH\x00\x12H\n\x13remove_router_table\x18\x0e \x01(\x0b\x32).visualize_grpc_pb.RemoveRouterTableEventH\x00\x12@\n\x0f\x61\x64\x64_child_table\x18\x0f \x01(\x0b\x32%.visualize_grpc_pb.AddChildTableEventH\x00\x12\x46\n\x12remove_child_table\x18\x10 \x01(\x0b\x32(.visualize_grpc_pb.RemoveChildTableEventH\x00\x12,\n\x04send\x18\x11 \x01(\x0b\x32\x1c.visualize_grpc_pb.SendEventH\x00\x12\x35\n\tset_speed\x18\x12 \x01(\x0b\x32 .visualize_grpc_pb.SetSpeedEventH\x00\x12\x36\n\theartbeat\x18\x13 \x01(\x0b\x32!.visualize_grpc_pb.HeartbeatEventH\x00\x12\x45\n\x12on_ext_addr_change\x18\x14 \x01(\x0b\x32\'.visualize_grpc_pb.OnExtAddrChangeEventH\x00\x12\x35\n\tset_title\x18\x15 \x01(\x0b\x32 .visualize_grpc_pb.SetTitleEventH\x00\x12<\n\rset_node_mode\x18\x16 \x01(\x0b\x32#.visualize_grpc_pb.SetNodeModeEventH\x00\x12\x42\n\x10set_network_info\x18\x17 \x01(\x0b\x32&.visualize_grpc_pb.SetNetworkInfoEventH\x00\x42\x06\n\x04type\"a\n\tSendEvent\x12\x0e\n\x06src_id\x18\x01 \x01(\x05\x12\x0e\n\x06\x64st_id\x18\x02 \x01(\x05\x12\x34\n\x07mv_info\x18\x03 \x01(\x0b\x32#.visualize_grpc_pb.MsgVisualizeInfo\"z\n\x10MsgVisualizeInfo\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\x12\x15\n\rframe_control\x18\x02 \x01(\r\x12\x0b\n\x03seq\x18\x03 \x01(\r\x12\x16\n\x0e\x64st_addr_short\x18\x04 \x01(\r\x12\x19\n\x11\x64st_addr_extended\x18\x05 \x01(\x04\"8\n\x13\x41\x64\x64RouterTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\";\n\x16RemoveRouterTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"7\n\x12\x41\x64\x64\x43hildTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\":\n\x15RemoveChildTableEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"\x1e\n\rSetSpeedEvent\x12\r\n\x05speed\x18\x01 \x01(\x01\"\x10\n\x0eHeartbeatEvent\"-\n\x10\x41\x64vanceTimeEvent\x12\n\n\x02ts\x18\x01 \x01(\x04\x12\r\n\x05speed\x18\x02 \x01(\x01\"3\n\x0eSetParentEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"3\n\x0e\x43ountDownEvent\x12\x13\n\x0b\x64uration_ms\x18\x01 \x01(\x03\x12\x0c\n\x04text\x18\x02 \x01(\t\":\n\x13ShowDemoLegendEvent\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\x12\r\n\x05title\x18\x03 \x01(\t\"8\n\x0fSetNodePosEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\"R\n\x10SetNodeRoleEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12-\n\x04role\x18\x02 \x01(\x0e\x32\x1f.visualize_grpc_pb.OtDeviceRole\"@\n\x17SetNodePartitionIdEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x14\n\x0cpartition_id\x18\x02 \x01(\r\"\"\n\x0fOnNodeFailEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\"%\n\x12OnNodeRecoverEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\"\"\n\x0f\x44\x65leteNodeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\"J\n\x0c\x41\x64\x64NodeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\x12\x13\n\x0bradio_range\x18\x04 \x01(\x05\"x\n\x08NodeMode\x12\x17\n\x0frx_on_when_idle\x18\x01 \x01(\x08\x12\x1c\n\x14secure_data_requests\x18\x02 \x01(\x08\x12\x1a\n\x12\x66ull_thread_device\x18\x03 \x01(\x08\x12\x19\n\x11\x66ull_network_data\x18\x04 \x01(\x08\"5\n\x12SetNodeRloc16Event\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x0e\n\x06rloc16\x18\x02 \x01(\r\"9\n\x14OnExtAddrChangeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x10\n\x08\x65xt_addr\x18\x02 \x01(\x04\"G\n\rSetTitleEvent\x12\r\n\x05title\x18\x01 \x01(\t\x12\t\n\x01x\x18\x02 \x01(\x05\x12\t\n\x01y\x18\x03 \x01(\x05\x12\x11\n\tfont_size\x18\x04 \x01(\x05\"S\n\x10SetNodeModeEvent\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12.\n\tnode_mode\x18\x02 \x01(\x0b\x32\x1b.visualize_grpc_pb.NodeMode\"D\n\x13SetNetworkInfoEvent\x12\x0c\n\x04real\x18\x01 \x01(\x08\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0e\n\x06\x63ommit\x18\x03 \x01(\t\"!\n\x0e\x43ommandRequest\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\"!\n\x0f\x43ommandResponse\x12\x0e\n\x06output\x18\x01 \x03(\t\"R\n\x0bReplayEntry\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\x30\n\x05\x65vent\x18\x02 \x01(\x0b\x32!.visualize_grpc_pb.VisualizeEvent\"\x07\n\x05\x45mpty*\x98\x01\n\x0cOtDeviceRole\x12\x1b\n\x17OT_DEVICE_ROLE_DISABLED\x10\x00\x12\x1b\n\x17OT_DEVICE_ROLE_DETACHED\x10\x01\x12\x18\n\x14OT_DEVICE_ROLE_CHILD\x10\x02\x12\x19\n\x15OT_DEVICE_ROLE_ROUTER\x10\x03\x12\x19\n\x15OT_DEVICE_ROLE_LEADER\x10\x04\x32\xbf\x01\n\x14VisualizeGrpcService\x12U\n\tVisualize\x12#.visualize_grpc_pb.VisualizeRequest\x1a!.visualize_grpc_pb.VisualizeEvent0\x01\x12P\n\x07\x43ommand\x12!.visualize_grpc_pb.CommandRequest\x1a\".visualize_grpc_pb.CommandResponseB/Z-github.com/openthread/ot-ns/visualize/grpc/pbb\x06proto3') +_OTDEVICEROLE = DESCRIPTOR.enum_types_by_name['OtDeviceRole'] OtDeviceRole = enum_type_wrapper.EnumTypeWrapper(_OTDEVICEROLE) OT_DEVICE_ROLE_DISABLED = 0 OT_DEVICE_ROLE_DETACHED = 1 @@ -71,1504 +26,37 @@ OT_DEVICE_ROLE_LEADER = 4 - -_VISUALIZEREQUEST = _descriptor.Descriptor( - name='VisualizeRequest', - full_name='visualize_grpc_pb.VisualizeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=43, - serialized_end=61, -) - - -_VISUALIZEEVENT = _descriptor.Descriptor( - name='VisualizeEvent', - full_name='visualize_grpc_pb.VisualizeEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='add_node', full_name='visualize_grpc_pb.VisualizeEvent.add_node', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='delete_node', full_name='visualize_grpc_pb.VisualizeEvent.delete_node', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_node_rloc16', full_name='visualize_grpc_pb.VisualizeEvent.set_node_rloc16', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_node_role', full_name='visualize_grpc_pb.VisualizeEvent.set_node_role', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_node_pos', full_name='visualize_grpc_pb.VisualizeEvent.set_node_pos', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_node_partition_id', full_name='visualize_grpc_pb.VisualizeEvent.set_node_partition_id', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='on_node_fail', full_name='visualize_grpc_pb.VisualizeEvent.on_node_fail', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='on_node_recover', full_name='visualize_grpc_pb.VisualizeEvent.on_node_recover', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_parent', full_name='visualize_grpc_pb.VisualizeEvent.set_parent', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='count_down', full_name='visualize_grpc_pb.VisualizeEvent.count_down', index=9, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='show_demo_legend', full_name='visualize_grpc_pb.VisualizeEvent.show_demo_legend', index=10, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='advance_time', full_name='visualize_grpc_pb.VisualizeEvent.advance_time', index=11, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='add_router_table', full_name='visualize_grpc_pb.VisualizeEvent.add_router_table', index=12, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remove_router_table', full_name='visualize_grpc_pb.VisualizeEvent.remove_router_table', index=13, - number=14, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='add_child_table', full_name='visualize_grpc_pb.VisualizeEvent.add_child_table', index=14, - number=15, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remove_child_table', full_name='visualize_grpc_pb.VisualizeEvent.remove_child_table', index=15, - number=16, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='send', full_name='visualize_grpc_pb.VisualizeEvent.send', index=16, - number=17, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_speed', full_name='visualize_grpc_pb.VisualizeEvent.set_speed', index=17, - number=18, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='heartbeat', full_name='visualize_grpc_pb.VisualizeEvent.heartbeat', index=18, - number=19, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='on_ext_addr_change', full_name='visualize_grpc_pb.VisualizeEvent.on_ext_addr_change', index=19, - number=20, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_title', full_name='visualize_grpc_pb.VisualizeEvent.set_title', index=20, - number=21, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_node_mode', full_name='visualize_grpc_pb.VisualizeEvent.set_node_mode', index=21, - number=22, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_network_info', full_name='visualize_grpc_pb.VisualizeEvent.set_network_info', index=22, - number=23, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='type', full_name='visualize_grpc_pb.VisualizeEvent.type', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=64, - serialized_end=1527, -) - - -_SENDEVENT = _descriptor.Descriptor( - name='SendEvent', - full_name='visualize_grpc_pb.SendEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='src_id', full_name='visualize_grpc_pb.SendEvent.src_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dst_id', full_name='visualize_grpc_pb.SendEvent.dst_id', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mv_info', full_name='visualize_grpc_pb.SendEvent.mv_info', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1529, - serialized_end=1626, -) - - -_MSGVISUALIZEINFO = _descriptor.Descriptor( - name='MsgVisualizeInfo', - full_name='visualize_grpc_pb.MsgVisualizeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='visualize_grpc_pb.MsgVisualizeInfo.channel', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame_control', full_name='visualize_grpc_pb.MsgVisualizeInfo.frame_control', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='seq', full_name='visualize_grpc_pb.MsgVisualizeInfo.seq', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dst_addr_short', full_name='visualize_grpc_pb.MsgVisualizeInfo.dst_addr_short', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dst_addr_extended', full_name='visualize_grpc_pb.MsgVisualizeInfo.dst_addr_extended', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1628, - serialized_end=1750, -) - - -_ADDROUTERTABLEEVENT = _descriptor.Descriptor( - name='AddRouterTableEvent', - full_name='visualize_grpc_pb.AddRouterTableEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.AddRouterTableEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ext_addr', full_name='visualize_grpc_pb.AddRouterTableEvent.ext_addr', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1752, - serialized_end=1808, -) - - -_REMOVEROUTERTABLEEVENT = _descriptor.Descriptor( - name='RemoveRouterTableEvent', - full_name='visualize_grpc_pb.RemoveRouterTableEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.RemoveRouterTableEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ext_addr', full_name='visualize_grpc_pb.RemoveRouterTableEvent.ext_addr', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1810, - serialized_end=1869, -) - - -_ADDCHILDTABLEEVENT = _descriptor.Descriptor( - name='AddChildTableEvent', - full_name='visualize_grpc_pb.AddChildTableEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.AddChildTableEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ext_addr', full_name='visualize_grpc_pb.AddChildTableEvent.ext_addr', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1871, - serialized_end=1926, -) - - -_REMOVECHILDTABLEEVENT = _descriptor.Descriptor( - name='RemoveChildTableEvent', - full_name='visualize_grpc_pb.RemoveChildTableEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.RemoveChildTableEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ext_addr', full_name='visualize_grpc_pb.RemoveChildTableEvent.ext_addr', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1928, - serialized_end=1986, -) - - -_SETSPEEDEVENT = _descriptor.Descriptor( - name='SetSpeedEvent', - full_name='visualize_grpc_pb.SetSpeedEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='speed', full_name='visualize_grpc_pb.SetSpeedEvent.speed', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1988, - serialized_end=2018, -) - - -_HEARTBEATEVENT = _descriptor.Descriptor( - name='HeartbeatEvent', - full_name='visualize_grpc_pb.HeartbeatEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2020, - serialized_end=2036, -) - - -_ADVANCETIMEEVENT = _descriptor.Descriptor( - name='AdvanceTimeEvent', - full_name='visualize_grpc_pb.AdvanceTimeEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ts', full_name='visualize_grpc_pb.AdvanceTimeEvent.ts', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='speed', full_name='visualize_grpc_pb.AdvanceTimeEvent.speed', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2038, - serialized_end=2083, -) - - -_SETPARENTEVENT = _descriptor.Descriptor( - name='SetParentEvent', - full_name='visualize_grpc_pb.SetParentEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.SetParentEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ext_addr', full_name='visualize_grpc_pb.SetParentEvent.ext_addr', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2085, - serialized_end=2136, -) - - -_COUNTDOWNEVENT = _descriptor.Descriptor( - name='CountDownEvent', - full_name='visualize_grpc_pb.CountDownEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='duration_ms', full_name='visualize_grpc_pb.CountDownEvent.duration_ms', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='text', full_name='visualize_grpc_pb.CountDownEvent.text', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2138, - serialized_end=2189, -) - - -_SHOWDEMOLEGENDEVENT = _descriptor.Descriptor( - name='ShowDemoLegendEvent', - full_name='visualize_grpc_pb.ShowDemoLegendEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='visualize_grpc_pb.ShowDemoLegendEvent.x', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='visualize_grpc_pb.ShowDemoLegendEvent.y', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='title', full_name='visualize_grpc_pb.ShowDemoLegendEvent.title', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2191, - serialized_end=2249, -) - - -_SETNODEPOSEVENT = _descriptor.Descriptor( - name='SetNodePosEvent', - full_name='visualize_grpc_pb.SetNodePosEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.SetNodePosEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='visualize_grpc_pb.SetNodePosEvent.x', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='visualize_grpc_pb.SetNodePosEvent.y', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2251, - serialized_end=2307, -) - - -_SETNODEROLEEVENT = _descriptor.Descriptor( - name='SetNodeRoleEvent', - full_name='visualize_grpc_pb.SetNodeRoleEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.SetNodeRoleEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='role', full_name='visualize_grpc_pb.SetNodeRoleEvent.role', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2309, - serialized_end=2391, -) - - -_SETNODEPARTITIONIDEVENT = _descriptor.Descriptor( - name='SetNodePartitionIdEvent', - full_name='visualize_grpc_pb.SetNodePartitionIdEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.SetNodePartitionIdEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='partition_id', full_name='visualize_grpc_pb.SetNodePartitionIdEvent.partition_id', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2393, - serialized_end=2457, -) - - -_ONNODEFAILEVENT = _descriptor.Descriptor( - name='OnNodeFailEvent', - full_name='visualize_grpc_pb.OnNodeFailEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.OnNodeFailEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2459, - serialized_end=2493, -) - - -_ONNODERECOVEREVENT = _descriptor.Descriptor( - name='OnNodeRecoverEvent', - full_name='visualize_grpc_pb.OnNodeRecoverEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.OnNodeRecoverEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2495, - serialized_end=2532, -) - - -_DELETENODEEVENT = _descriptor.Descriptor( - name='DeleteNodeEvent', - full_name='visualize_grpc_pb.DeleteNodeEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.DeleteNodeEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2534, - serialized_end=2568, -) - - -_ADDNODEEVENT = _descriptor.Descriptor( - name='AddNodeEvent', - full_name='visualize_grpc_pb.AddNodeEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.AddNodeEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='visualize_grpc_pb.AddNodeEvent.x', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='visualize_grpc_pb.AddNodeEvent.y', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='radio_range', full_name='visualize_grpc_pb.AddNodeEvent.radio_range', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2570, - serialized_end=2644, -) - - -_NODEMODE = _descriptor.Descriptor( - name='NodeMode', - full_name='visualize_grpc_pb.NodeMode', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='rx_on_when_idle', full_name='visualize_grpc_pb.NodeMode.rx_on_when_idle', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='secure_data_requests', full_name='visualize_grpc_pb.NodeMode.secure_data_requests', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='full_thread_device', full_name='visualize_grpc_pb.NodeMode.full_thread_device', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='full_network_data', full_name='visualize_grpc_pb.NodeMode.full_network_data', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2646, - serialized_end=2766, -) - - -_SETNODERLOC16EVENT = _descriptor.Descriptor( - name='SetNodeRloc16Event', - full_name='visualize_grpc_pb.SetNodeRloc16Event', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.SetNodeRloc16Event.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rloc16', full_name='visualize_grpc_pb.SetNodeRloc16Event.rloc16', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2768, - serialized_end=2821, -) - - -_ONEXTADDRCHANGEEVENT = _descriptor.Descriptor( - name='OnExtAddrChangeEvent', - full_name='visualize_grpc_pb.OnExtAddrChangeEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.OnExtAddrChangeEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ext_addr', full_name='visualize_grpc_pb.OnExtAddrChangeEvent.ext_addr', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2823, - serialized_end=2880, -) - - -_SETTITLEEVENT = _descriptor.Descriptor( - name='SetTitleEvent', - full_name='visualize_grpc_pb.SetTitleEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='title', full_name='visualize_grpc_pb.SetTitleEvent.title', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='x', full_name='visualize_grpc_pb.SetTitleEvent.x', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='visualize_grpc_pb.SetTitleEvent.y', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='font_size', full_name='visualize_grpc_pb.SetTitleEvent.font_size', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2882, - serialized_end=2953, -) - - -_SETNODEMODEEVENT = _descriptor.Descriptor( - name='SetNodeModeEvent', - full_name='visualize_grpc_pb.SetNodeModeEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='visualize_grpc_pb.SetNodeModeEvent.node_id', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node_mode', full_name='visualize_grpc_pb.SetNodeModeEvent.node_mode', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2955, - serialized_end=3038, -) - - -_SETNETWORKINFOEVENT = _descriptor.Descriptor( - name='SetNetworkInfoEvent', - full_name='visualize_grpc_pb.SetNetworkInfoEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='real', full_name='visualize_grpc_pb.SetNetworkInfoEvent.real', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='version', full_name='visualize_grpc_pb.SetNetworkInfoEvent.version', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commit', full_name='visualize_grpc_pb.SetNetworkInfoEvent.commit', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3040, - serialized_end=3108, -) - - -_COMMANDREQUEST = _descriptor.Descriptor( - name='CommandRequest', - full_name='visualize_grpc_pb.CommandRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='command', full_name='visualize_grpc_pb.CommandRequest.command', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3110, - serialized_end=3143, -) - - -_COMMANDRESPONSE = _descriptor.Descriptor( - name='CommandResponse', - full_name='visualize_grpc_pb.CommandResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='output', full_name='visualize_grpc_pb.CommandResponse.output', index=0, - number=1, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3145, - serialized_end=3178, -) - - -_REPLAYENTRY = _descriptor.Descriptor( - name='ReplayEntry', - full_name='visualize_grpc_pb.ReplayEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp', full_name='visualize_grpc_pb.ReplayEntry.timestamp', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='event', full_name='visualize_grpc_pb.ReplayEntry.event', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3180, - serialized_end=3262, -) - - -_EMPTY = _descriptor.Descriptor( - name='Empty', - full_name='visualize_grpc_pb.Empty', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3264, - serialized_end=3271, -) - -_VISUALIZEEVENT.fields_by_name['add_node'].message_type = _ADDNODEEVENT -_VISUALIZEEVENT.fields_by_name['delete_node'].message_type = _DELETENODEEVENT -_VISUALIZEEVENT.fields_by_name['set_node_rloc16'].message_type = _SETNODERLOC16EVENT -_VISUALIZEEVENT.fields_by_name['set_node_role'].message_type = _SETNODEROLEEVENT -_VISUALIZEEVENT.fields_by_name['set_node_pos'].message_type = _SETNODEPOSEVENT -_VISUALIZEEVENT.fields_by_name['set_node_partition_id'].message_type = _SETNODEPARTITIONIDEVENT -_VISUALIZEEVENT.fields_by_name['on_node_fail'].message_type = _ONNODEFAILEVENT -_VISUALIZEEVENT.fields_by_name['on_node_recover'].message_type = _ONNODERECOVEREVENT -_VISUALIZEEVENT.fields_by_name['set_parent'].message_type = _SETPARENTEVENT -_VISUALIZEEVENT.fields_by_name['count_down'].message_type = _COUNTDOWNEVENT -_VISUALIZEEVENT.fields_by_name['show_demo_legend'].message_type = _SHOWDEMOLEGENDEVENT -_VISUALIZEEVENT.fields_by_name['advance_time'].message_type = _ADVANCETIMEEVENT -_VISUALIZEEVENT.fields_by_name['add_router_table'].message_type = _ADDROUTERTABLEEVENT -_VISUALIZEEVENT.fields_by_name['remove_router_table'].message_type = _REMOVEROUTERTABLEEVENT -_VISUALIZEEVENT.fields_by_name['add_child_table'].message_type = _ADDCHILDTABLEEVENT -_VISUALIZEEVENT.fields_by_name['remove_child_table'].message_type = _REMOVECHILDTABLEEVENT -_VISUALIZEEVENT.fields_by_name['send'].message_type = _SENDEVENT -_VISUALIZEEVENT.fields_by_name['set_speed'].message_type = _SETSPEEDEVENT -_VISUALIZEEVENT.fields_by_name['heartbeat'].message_type = _HEARTBEATEVENT -_VISUALIZEEVENT.fields_by_name['on_ext_addr_change'].message_type = _ONEXTADDRCHANGEEVENT -_VISUALIZEEVENT.fields_by_name['set_title'].message_type = _SETTITLEEVENT -_VISUALIZEEVENT.fields_by_name['set_node_mode'].message_type = _SETNODEMODEEVENT -_VISUALIZEEVENT.fields_by_name['set_network_info'].message_type = _SETNETWORKINFOEVENT -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['add_node']) -_VISUALIZEEVENT.fields_by_name['add_node'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['delete_node']) -_VISUALIZEEVENT.fields_by_name['delete_node'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_node_rloc16']) -_VISUALIZEEVENT.fields_by_name['set_node_rloc16'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_node_role']) -_VISUALIZEEVENT.fields_by_name['set_node_role'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_node_pos']) -_VISUALIZEEVENT.fields_by_name['set_node_pos'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_node_partition_id']) -_VISUALIZEEVENT.fields_by_name['set_node_partition_id'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['on_node_fail']) -_VISUALIZEEVENT.fields_by_name['on_node_fail'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['on_node_recover']) -_VISUALIZEEVENT.fields_by_name['on_node_recover'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_parent']) -_VISUALIZEEVENT.fields_by_name['set_parent'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['count_down']) -_VISUALIZEEVENT.fields_by_name['count_down'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['show_demo_legend']) -_VISUALIZEEVENT.fields_by_name['show_demo_legend'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['advance_time']) -_VISUALIZEEVENT.fields_by_name['advance_time'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['add_router_table']) -_VISUALIZEEVENT.fields_by_name['add_router_table'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['remove_router_table']) -_VISUALIZEEVENT.fields_by_name['remove_router_table'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['add_child_table']) -_VISUALIZEEVENT.fields_by_name['add_child_table'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['remove_child_table']) -_VISUALIZEEVENT.fields_by_name['remove_child_table'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['send']) -_VISUALIZEEVENT.fields_by_name['send'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_speed']) -_VISUALIZEEVENT.fields_by_name['set_speed'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['heartbeat']) -_VISUALIZEEVENT.fields_by_name['heartbeat'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['on_ext_addr_change']) -_VISUALIZEEVENT.fields_by_name['on_ext_addr_change'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_title']) -_VISUALIZEEVENT.fields_by_name['set_title'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_node_mode']) -_VISUALIZEEVENT.fields_by_name['set_node_mode'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_VISUALIZEEVENT.oneofs_by_name['type'].fields.append( - _VISUALIZEEVENT.fields_by_name['set_network_info']) -_VISUALIZEEVENT.fields_by_name['set_network_info'].containing_oneof = _VISUALIZEEVENT.oneofs_by_name['type'] -_SENDEVENT.fields_by_name['mv_info'].message_type = _MSGVISUALIZEINFO -_SETNODEROLEEVENT.fields_by_name['role'].enum_type = _OTDEVICEROLE -_SETNODEMODEEVENT.fields_by_name['node_mode'].message_type = _NODEMODE -_REPLAYENTRY.fields_by_name['event'].message_type = _VISUALIZEEVENT -DESCRIPTOR.message_types_by_name['VisualizeRequest'] = _VISUALIZEREQUEST -DESCRIPTOR.message_types_by_name['VisualizeEvent'] = _VISUALIZEEVENT -DESCRIPTOR.message_types_by_name['SendEvent'] = _SENDEVENT -DESCRIPTOR.message_types_by_name['MsgVisualizeInfo'] = _MSGVISUALIZEINFO -DESCRIPTOR.message_types_by_name['AddRouterTableEvent'] = _ADDROUTERTABLEEVENT -DESCRIPTOR.message_types_by_name['RemoveRouterTableEvent'] = _REMOVEROUTERTABLEEVENT -DESCRIPTOR.message_types_by_name['AddChildTableEvent'] = _ADDCHILDTABLEEVENT -DESCRIPTOR.message_types_by_name['RemoveChildTableEvent'] = _REMOVECHILDTABLEEVENT -DESCRIPTOR.message_types_by_name['SetSpeedEvent'] = _SETSPEEDEVENT -DESCRIPTOR.message_types_by_name['HeartbeatEvent'] = _HEARTBEATEVENT -DESCRIPTOR.message_types_by_name['AdvanceTimeEvent'] = _ADVANCETIMEEVENT -DESCRIPTOR.message_types_by_name['SetParentEvent'] = _SETPARENTEVENT -DESCRIPTOR.message_types_by_name['CountDownEvent'] = _COUNTDOWNEVENT -DESCRIPTOR.message_types_by_name['ShowDemoLegendEvent'] = _SHOWDEMOLEGENDEVENT -DESCRIPTOR.message_types_by_name['SetNodePosEvent'] = _SETNODEPOSEVENT -DESCRIPTOR.message_types_by_name['SetNodeRoleEvent'] = _SETNODEROLEEVENT -DESCRIPTOR.message_types_by_name['SetNodePartitionIdEvent'] = _SETNODEPARTITIONIDEVENT -DESCRIPTOR.message_types_by_name['OnNodeFailEvent'] = _ONNODEFAILEVENT -DESCRIPTOR.message_types_by_name['OnNodeRecoverEvent'] = _ONNODERECOVEREVENT -DESCRIPTOR.message_types_by_name['DeleteNodeEvent'] = _DELETENODEEVENT -DESCRIPTOR.message_types_by_name['AddNodeEvent'] = _ADDNODEEVENT -DESCRIPTOR.message_types_by_name['NodeMode'] = _NODEMODE -DESCRIPTOR.message_types_by_name['SetNodeRloc16Event'] = _SETNODERLOC16EVENT -DESCRIPTOR.message_types_by_name['OnExtAddrChangeEvent'] = _ONEXTADDRCHANGEEVENT -DESCRIPTOR.message_types_by_name['SetTitleEvent'] = _SETTITLEEVENT -DESCRIPTOR.message_types_by_name['SetNodeModeEvent'] = _SETNODEMODEEVENT -DESCRIPTOR.message_types_by_name['SetNetworkInfoEvent'] = _SETNETWORKINFOEVENT -DESCRIPTOR.message_types_by_name['CommandRequest'] = _COMMANDREQUEST -DESCRIPTOR.message_types_by_name['CommandResponse'] = _COMMANDRESPONSE -DESCRIPTOR.message_types_by_name['ReplayEntry'] = _REPLAYENTRY -DESCRIPTOR.message_types_by_name['Empty'] = _EMPTY -DESCRIPTOR.enum_types_by_name['OtDeviceRole'] = _OTDEVICEROLE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - +_VISUALIZEREQUEST = DESCRIPTOR.message_types_by_name['VisualizeRequest'] +_VISUALIZEEVENT = DESCRIPTOR.message_types_by_name['VisualizeEvent'] +_SENDEVENT = DESCRIPTOR.message_types_by_name['SendEvent'] +_MSGVISUALIZEINFO = DESCRIPTOR.message_types_by_name['MsgVisualizeInfo'] +_ADDROUTERTABLEEVENT = DESCRIPTOR.message_types_by_name['AddRouterTableEvent'] +_REMOVEROUTERTABLEEVENT = DESCRIPTOR.message_types_by_name['RemoveRouterTableEvent'] +_ADDCHILDTABLEEVENT = DESCRIPTOR.message_types_by_name['AddChildTableEvent'] +_REMOVECHILDTABLEEVENT = DESCRIPTOR.message_types_by_name['RemoveChildTableEvent'] +_SETSPEEDEVENT = DESCRIPTOR.message_types_by_name['SetSpeedEvent'] +_HEARTBEATEVENT = DESCRIPTOR.message_types_by_name['HeartbeatEvent'] +_ADVANCETIMEEVENT = DESCRIPTOR.message_types_by_name['AdvanceTimeEvent'] +_SETPARENTEVENT = DESCRIPTOR.message_types_by_name['SetParentEvent'] +_COUNTDOWNEVENT = DESCRIPTOR.message_types_by_name['CountDownEvent'] +_SHOWDEMOLEGENDEVENT = DESCRIPTOR.message_types_by_name['ShowDemoLegendEvent'] +_SETNODEPOSEVENT = DESCRIPTOR.message_types_by_name['SetNodePosEvent'] +_SETNODEROLEEVENT = DESCRIPTOR.message_types_by_name['SetNodeRoleEvent'] +_SETNODEPARTITIONIDEVENT = DESCRIPTOR.message_types_by_name['SetNodePartitionIdEvent'] +_ONNODEFAILEVENT = DESCRIPTOR.message_types_by_name['OnNodeFailEvent'] +_ONNODERECOVEREVENT = DESCRIPTOR.message_types_by_name['OnNodeRecoverEvent'] +_DELETENODEEVENT = DESCRIPTOR.message_types_by_name['DeleteNodeEvent'] +_ADDNODEEVENT = DESCRIPTOR.message_types_by_name['AddNodeEvent'] +_NODEMODE = DESCRIPTOR.message_types_by_name['NodeMode'] +_SETNODERLOC16EVENT = DESCRIPTOR.message_types_by_name['SetNodeRloc16Event'] +_ONEXTADDRCHANGEEVENT = DESCRIPTOR.message_types_by_name['OnExtAddrChangeEvent'] +_SETTITLEEVENT = DESCRIPTOR.message_types_by_name['SetTitleEvent'] +_SETNODEMODEEVENT = DESCRIPTOR.message_types_by_name['SetNodeModeEvent'] +_SETNETWORKINFOEVENT = DESCRIPTOR.message_types_by_name['SetNetworkInfoEvent'] +_COMMANDREQUEST = DESCRIPTOR.message_types_by_name['CommandRequest'] +_COMMANDRESPONSE = DESCRIPTOR.message_types_by_name['CommandResponse'] +_REPLAYENTRY = DESCRIPTOR.message_types_by_name['ReplayEntry'] +_EMPTY = DESCRIPTOR.message_types_by_name['Empty'] VisualizeRequest = _reflection.GeneratedProtocolMessageType('VisualizeRequest', (_message.Message,), { 'DESCRIPTOR' : _VISUALIZEREQUEST, '__module__' : 'visualize_grpc_pb2' @@ -1786,42 +274,75 @@ }) _sym_db.RegisterMessage(Empty) - -DESCRIPTOR._options = None - -_VISUALIZEGRPCSERVICE = _descriptor.ServiceDescriptor( - name='VisualizeGrpcService', - full_name='visualize_grpc_pb.VisualizeGrpcService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=3429, - serialized_end=3620, - methods=[ - _descriptor.MethodDescriptor( - name='Visualize', - full_name='visualize_grpc_pb.VisualizeGrpcService.Visualize', - index=0, - containing_service=None, - input_type=_VISUALIZEREQUEST, - output_type=_VISUALIZEEVENT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Command', - full_name='visualize_grpc_pb.VisualizeGrpcService.Command', - index=1, - containing_service=None, - input_type=_COMMANDREQUEST, - output_type=_COMMANDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_VISUALIZEGRPCSERVICE) - -DESCRIPTOR.services_by_name['VisualizeGrpcService'] = _VISUALIZEGRPCSERVICE - +_VISUALIZEGRPCSERVICE = DESCRIPTOR.services_by_name['VisualizeGrpcService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z-github.com/openthread/ot-ns/visualize/grpc/pb' + _OTDEVICEROLE._serialized_start=3274 + _OTDEVICEROLE._serialized_end=3426 + _VISUALIZEREQUEST._serialized_start=43 + _VISUALIZEREQUEST._serialized_end=61 + _VISUALIZEEVENT._serialized_start=64 + _VISUALIZEEVENT._serialized_end=1527 + _SENDEVENT._serialized_start=1529 + _SENDEVENT._serialized_end=1626 + _MSGVISUALIZEINFO._serialized_start=1628 + _MSGVISUALIZEINFO._serialized_end=1750 + _ADDROUTERTABLEEVENT._serialized_start=1752 + _ADDROUTERTABLEEVENT._serialized_end=1808 + _REMOVEROUTERTABLEEVENT._serialized_start=1810 + _REMOVEROUTERTABLEEVENT._serialized_end=1869 + _ADDCHILDTABLEEVENT._serialized_start=1871 + _ADDCHILDTABLEEVENT._serialized_end=1926 + _REMOVECHILDTABLEEVENT._serialized_start=1928 + _REMOVECHILDTABLEEVENT._serialized_end=1986 + _SETSPEEDEVENT._serialized_start=1988 + _SETSPEEDEVENT._serialized_end=2018 + _HEARTBEATEVENT._serialized_start=2020 + _HEARTBEATEVENT._serialized_end=2036 + _ADVANCETIMEEVENT._serialized_start=2038 + _ADVANCETIMEEVENT._serialized_end=2083 + _SETPARENTEVENT._serialized_start=2085 + _SETPARENTEVENT._serialized_end=2136 + _COUNTDOWNEVENT._serialized_start=2138 + _COUNTDOWNEVENT._serialized_end=2189 + _SHOWDEMOLEGENDEVENT._serialized_start=2191 + _SHOWDEMOLEGENDEVENT._serialized_end=2249 + _SETNODEPOSEVENT._serialized_start=2251 + _SETNODEPOSEVENT._serialized_end=2307 + _SETNODEROLEEVENT._serialized_start=2309 + _SETNODEROLEEVENT._serialized_end=2391 + _SETNODEPARTITIONIDEVENT._serialized_start=2393 + _SETNODEPARTITIONIDEVENT._serialized_end=2457 + _ONNODEFAILEVENT._serialized_start=2459 + _ONNODEFAILEVENT._serialized_end=2493 + _ONNODERECOVEREVENT._serialized_start=2495 + _ONNODERECOVEREVENT._serialized_end=2532 + _DELETENODEEVENT._serialized_start=2534 + _DELETENODEEVENT._serialized_end=2568 + _ADDNODEEVENT._serialized_start=2570 + _ADDNODEEVENT._serialized_end=2644 + _NODEMODE._serialized_start=2646 + _NODEMODE._serialized_end=2766 + _SETNODERLOC16EVENT._serialized_start=2768 + _SETNODERLOC16EVENT._serialized_end=2821 + _ONEXTADDRCHANGEEVENT._serialized_start=2823 + _ONEXTADDRCHANGEEVENT._serialized_end=2880 + _SETTITLEEVENT._serialized_start=2882 + _SETTITLEEVENT._serialized_end=2953 + _SETNODEMODEEVENT._serialized_start=2955 + _SETNODEMODEEVENT._serialized_end=3038 + _SETNETWORKINFOEVENT._serialized_start=3040 + _SETNETWORKINFOEVENT._serialized_end=3108 + _COMMANDREQUEST._serialized_start=3110 + _COMMANDREQUEST._serialized_end=3143 + _COMMANDRESPONSE._serialized_start=3145 + _COMMANDRESPONSE._serialized_end=3178 + _REPLAYENTRY._serialized_start=3180 + _REPLAYENTRY._serialized_end=3262 + _EMPTY._serialized_start=3264 + _EMPTY._serialized_end=3271 + _VISUALIZEGRPCSERVICE._serialized_start=3429 + _VISUALIZEGRPCSERVICE._serialized_end=3620 # @@protoc_insertion_point(module_scope) diff --git a/pylibs/unittests/requirements.txt b/pylibs/unittests/requirements.txt index be3fc3d7..0e53a881 100644 --- a/pylibs/unittests/requirements.txt +++ b/pylibs/unittests/requirements.txt @@ -1,4 +1,4 @@ -grpcio-tools==1.31.0 -grpcio==1.31.0 +grpcio-tools==1.46.3 +grpcio==1.46.3 protobuf==3.15.0 wheel==0.38.1 diff --git a/script/install-deps b/script/install-deps index ba1f741e..3ce31b48 100755 --- a/script/install-deps +++ b/script/install-deps @@ -54,7 +54,7 @@ install_grpcwebproxy() install_python_libs() { - python3 -m pip install --user setuptools wheel + python3 -m pip install --user setuptools==67.5.1 wheel } main() diff --git a/script/setup-dev b/script/setup-dev index 0f1ce85c..2b15990c 100755 --- a/script/setup-dev +++ b/script/setup-dev @@ -33,7 +33,7 @@ PROTOBUF_VERSION=3.19.4 PROTOC_GEN_GO_VERSION=1.5.2 PROTO_GEN_GRPC_WEB_VERSION=1.3.1 -GRPCIO_TOOLS_VERSION=1.43.0 +GRPCIO_TOOLS_VERSION=1.46.3 GO_BINDATA_VERSION=3.0.7 skip_update='true'