From dfd643789c5fb818c94a2197b41b8b8d3d2dd39f Mon Sep 17 00:00:00 2001 From: Rod A Santiago Date: Tue, 2 Aug 2016 10:33:23 -0700 Subject: [PATCH] removed because core_pb2.py is a generated file. added an install option instead from the API_2.0 root. --- daemon/core/api/core_pb2.py | 1109 ----------------------------------- 1 file changed, 1109 deletions(-) delete mode 100644 daemon/core/api/core_pb2.py diff --git a/daemon/core/api/core_pb2.py b/daemon/core/api/core_pb2.py deleted file mode 100644 index d44723c3..00000000 --- a/daemon/core/api/core_pb2.py +++ /dev/null @@ -1,1109 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: core.proto - -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import descriptor_pb2 -# @@protoc_insertion_point(imports) - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='core.proto', - package='core_proto', - serialized_pb='\n\ncore.proto\x12\ncore_proto\"\xb7\x03\n\x05\x45vent\x12\x32\n\x08msg_type\x18\x01 \x01(\x0e\x32\x19.core_proto.Event.MsgType:\x05STATE\x12\x33\n\x08mod_type\x18\x02 \x01(\x0e\x32\x19.core_proto.Event.ModType:\x06MODIFY\x12\x10\n\x08node_idx\x18\x03 \x01(\x05\x12\x0f\n\x07\x64\x65v_idx\x18\x04 \x01(\x05\x12\x0f\n\x07net_idx\x18\x05 \x01(\x05\x12\x13\n\x0b\x63hannel_idx\x18\x06 \x01(\x05\x12\x10\n\x08oldstate\x18\x07 \x01(\x05\x12\x10\n\x08newstate\x18\x08 \x01(\x05\"7\n\x07MsgType\x12\x08\n\x04NODE\x10\x00\x12\n\n\x06\x44\x45VICE\x10\x01\x12\x0b\n\x07\x43HANNEL\x10\x02\x12\t\n\x05STATE\x10\x03\"4\n\x07ModType\x12\x07\n\x03\x41\x44\x44\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\n\n\x06MODIFY\x10\x02\x12\x08\n\x04MOVE\x10\x03\"i\n\x05State\x12\x0e\n\nDEFINITION\x10\x00\x12\x11\n\rCONFIGURATION\x10\x01\x12\x11\n\rINSTANTIATION\x10\x02\x12\x0b\n\x07RUNTIME\x10\x03\x12\x0f\n\x0b\x44\x41TACOLLECT\x10\x04\x12\x0c\n\x08SHUTDOWN\x10\x05\"-\n\x08\x45ndpoint\x12\x0f\n\x07\x64\x65v_idx\x18\x01 \x02(\x05\x12\x10\n\x08intf_idx\x18\x02 \x02(\x05\"\xdd\x02\n\x07\x43hannel\x12\x0b\n\x03idx\x18\x01 \x02(\x05\x12\'\n\tendpoints\x18\x02 \x03(\x0b\x32\x14.core_proto.Endpoint\x12\x10\n\x05\x64\x65lay\x18\x03 \x01(\x03:\x01\x30\x12\x14\n\tbandwidth\x18\x04 \x01(\x03:\x01\x30\x12\x0e\n\x03per\x18\x05 \x01(\x01:\x01\x30\x12\x0f\n\x04\x64ups\x18\x06 \x01(\x01:\x01\x30\x12\x11\n\x06jitter\x18\x07 \x01(\x01:\x01\x30\x12\x0e\n\x03mer\x18\x08 \x01(\x01:\x01\x30\x12\x10\n\x05\x62urst\x18\t \x01(\x01:\x01\x30\x12\x36\n\tlink_type\x18\n \x01(\x0e\x32\x1c.core_proto.Channel.LinkType:\x05WIRED\x12\x16\n\x0eunidirectional\x18\x0b \x01(\x08\x12\x15\n\rdisplay_props\x18\x0c \x01(\t\x12\x12\n\ntunnel_key\x18\r \x01(\x05\"#\n\x08LinkType\x12\x0c\n\x08WIRELESS\x10\x01\x12\t\n\x05WIRED\x10\x02\"K\n\x07Network\x12\x0b\n\x03idx\x18\x01 \x02(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12%\n\x08\x63hannels\x18\x03 \x03(\x0b\x32\x13.core_proto.Channel\"\x8d\x01\n\x07Service\x12\x0b\n\x03idx\x18\x01 \x02(\x05\x12\x10\n\x08standard\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x0cstart_script\x18\x04 \x01(\t\x12\x13\n\x0bstop_script\x18\x05 \x01(\t\x12\x15\n\rconfiguration\x18\x06 \x01(\t\x12\x13\n\x0b\x64irectories\x18\x07 \x01(\t\"\x80\x01\n\tInterface\x12\x0b\n\x03idx\x18\x01 \x02(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08mac_addr\x18\x03 \x01(\t\x12\x10\n\x08ip4_addr\x18\x04 \x01(\t\x12\x10\n\x08ip4_mask\x18\x05 \x01(\t\x12\x10\n\x08ip6_addr\x18\x06 \x01(\t\x12\x10\n\x08ip6_mask\x18\x07 \x01(\t\"`\n\x06\x44\x65vice\x12\x0b\n\x03idx\x18\x01 \x02(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\ninterfaces\x18\x03 \x03(\x0b\x32\x15.core_proto.Interface\x12\x10\n\x08location\x18\x04 \x01(\t\"\xde\x03\n\x04Node\x12\x0b\n\x03idx\x18\x01 \x02(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\ninterfaces\x18\x03 \x03(\x0b\x32\x15.core_proto.Interface\x12%\n\x08services\x18\x04 \x03(\x0b\x32\x13.core_proto.Service\x12\x10\n\x08location\x18\x05 \x01(\t\x12\x12\n\nmodel_type\x18\x06 \x01(\t\x12\x12\n\nemu_server\x18\x07 \x01(\t\x12\x13\n\x0bsession_ids\x18\x08 \x01(\t\x12\r\n\x05x_pos\x18\t \x01(\x05\x12\r\n\x05y_pos\x18\n \x01(\x05\x12\x0e\n\x06\x63\x61nvas\x18\x0b \x01(\x05\x12\x0e\n\x06\x65mu_id\x18\x0c \x01(\x05\x12\x0e\n\x06net_id\x18\r \x01(\x05\x12\x10\n\x08latitude\x18\x0e \x01(\t\x12\x11\n\tlongitude\x18\x0f \x01(\t\x12\x10\n\x08\x61ltitude\x18\x10 \x01(\t\x12\x0c\n\x04icon\x18\x11 \x01(\t\x12\x0e\n\x06opaque\x18\x12 \x01(\t\"w\n\x04type\x12\x0b\n\x07\x64\x65\x66\x61ult\x10\x00\x12\x0c\n\x08physical\x10\x01\x12\x07\n\x03xen\x10\x02\x12\n\n\x06switch\x10\x03\x12\x07\n\x03hub\x10\x04\x12\x08\n\x04wlan\x10\x05\x12\x08\n\x04rj45\x10\x06\x12\n\n\x06tunnel\x10\x07\x12\x0b\n\x07ktunnel\x10\x08\x12\t\n\x05\x65mane\x10\t\"\x9d\x01\n\nExperiment\x12\x14\n\x0c\x65xperimentId\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x1f\n\x05nodes\x18\x03 \x03(\x0b\x32\x10.core_proto.Node\x12#\n\x07\x64\x65vices\x18\x04 \x03(\x0b\x32\x12.core_proto.Device\x12%\n\x08networks\x18\x05 \x03(\x0b\x32\x13.core_proto.Network\"\x83\x01\n\x07Session\x12\x10\n\x08\x63lientId\x18\x01 \x02(\t\x12\x10\n\x08port_num\x18\x02 \x01(\x05\x12*\n\nexperiment\x18\x03 \x01(\x0b\x32\x16.core_proto.Experiment\x12(\n\x08\x61ll_exps\x18\x04 \x03(\x0b\x32\x16.core_proto.Experiment\")\n\x0c\x45rrorMessage\x12\x0c\n\x04\x63ode\x18\x01 \x02(\x05\x12\x0b\n\x03msg\x18\x02 \x01(\t\"\xee\x01\n\x0b\x43oreMessage\x12$\n\x07session\x18\x01 \x01(\x0b\x32\x13.core_proto.Session\x12*\n\nexperiment\x18\x02 \x01(\x0b\x32\x16.core_proto.Experiment\x12\x1e\n\x04node\x18\x03 \x01(\x0b\x32\x10.core_proto.Node\x12\"\n\x06\x64\x65vice\x18\x04 \x01(\x0b\x32\x12.core_proto.Device\x12 \n\x05\x65vent\x18\x05 \x01(\x0b\x32\x11.core_proto.Event\x12\'\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x18.core_proto.ErrorMessage') - - - -_EVENT_MSGTYPE = _descriptor.EnumDescriptor( - name='MsgType', - full_name='core_proto.Event.MsgType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='NODE', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DEVICE', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CHANNEL', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STATE', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=250, - serialized_end=305, -) - -_EVENT_MODTYPE = _descriptor.EnumDescriptor( - name='ModType', - full_name='core_proto.Event.ModType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='ADD', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DELETE', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MODIFY', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOVE', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=307, - serialized_end=359, -) - -_EVENT_STATE = _descriptor.EnumDescriptor( - name='State', - full_name='core_proto.Event.State', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='DEFINITION', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONFIGURATION', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INSTANTIATION', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RUNTIME', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATACOLLECT', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHUTDOWN', index=5, number=5, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=361, - serialized_end=466, -) - -_CHANNEL_LINKTYPE = _descriptor.EnumDescriptor( - name='LinkType', - full_name='core_proto.Channel.LinkType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='WIRELESS', index=0, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WIRED', index=1, number=2, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=830, - serialized_end=865, -) - -_NODE_TYPE = _descriptor.EnumDescriptor( - name='type', - full_name='core_proto.Node.type', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='default', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='physical', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='xen', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='switch', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='hub', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='wlan', index=5, number=5, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='rj45', index=6, number=6, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='tunnel', index=7, number=7, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ktunnel', index=8, number=8, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='emane', index=9, number=9, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=1677, - serialized_end=1796, -) - - -_EVENT = _descriptor.Descriptor( - name='Event', - full_name='core_proto.Event', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='msg_type', full_name='core_proto.Event.msg_type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=3, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='mod_type', full_name='core_proto.Event.mod_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=2, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='node_idx', full_name='core_proto.Event.node_idx', 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, - options=None), - _descriptor.FieldDescriptor( - name='dev_idx', full_name='core_proto.Event.dev_idx', 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, - options=None), - _descriptor.FieldDescriptor( - name='net_idx', full_name='core_proto.Event.net_idx', index=4, - number=5, 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, - options=None), - _descriptor.FieldDescriptor( - name='channel_idx', full_name='core_proto.Event.channel_idx', index=5, - number=6, 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, - options=None), - _descriptor.FieldDescriptor( - name='oldstate', full_name='core_proto.Event.oldstate', index=6, - number=7, 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, - options=None), - _descriptor.FieldDescriptor( - name='newstate', full_name='core_proto.Event.newstate', index=7, - number=8, 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, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EVENT_MSGTYPE, - _EVENT_MODTYPE, - _EVENT_STATE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=27, - serialized_end=466, -) - - -_ENDPOINT = _descriptor.Descriptor( - name='Endpoint', - full_name='core_proto.Endpoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='dev_idx', full_name='core_proto.Endpoint.dev_idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='intf_idx', full_name='core_proto.Endpoint.intf_idx', index=1, - number=2, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=468, - serialized_end=513, -) - - -_CHANNEL = _descriptor.Descriptor( - name='Channel', - full_name='core_proto.Channel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='idx', full_name='core_proto.Channel.idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='endpoints', full_name='core_proto.Channel.endpoints', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='delay', full_name='core_proto.Channel.delay', index=2, - number=3, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='bandwidth', full_name='core_proto.Channel.bandwidth', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='per', full_name='core_proto.Channel.per', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='dups', full_name='core_proto.Channel.dups', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='jitter', full_name='core_proto.Channel.jitter', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='mer', full_name='core_proto.Channel.mer', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='burst', full_name='core_proto.Channel.burst', index=8, - number=9, type=1, cpp_type=5, label=1, - has_default_value=True, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='link_type', full_name='core_proto.Channel.link_type', index=9, - number=10, type=14, cpp_type=8, label=1, - has_default_value=True, default_value=2, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='unidirectional', full_name='core_proto.Channel.unidirectional', index=10, - number=11, 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, - options=None), - _descriptor.FieldDescriptor( - name='display_props', full_name='core_proto.Channel.display_props', index=11, - number=12, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='tunnel_key', full_name='core_proto.Channel.tunnel_key', index=12, - number=13, 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, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CHANNEL_LINKTYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=516, - serialized_end=865, -) - - -_NETWORK = _descriptor.Descriptor( - name='Network', - full_name='core_proto.Network', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='idx', full_name='core_proto.Network.idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='name', full_name='core_proto.Network.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='channels', full_name='core_proto.Network.channels', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=867, - serialized_end=942, -) - - -_SERVICE = _descriptor.Descriptor( - name='Service', - full_name='core_proto.Service', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='idx', full_name='core_proto.Service.idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='standard', full_name='core_proto.Service.standard', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='name', full_name='core_proto.Service.name', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='start_script', full_name='core_proto.Service.start_script', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='stop_script', full_name='core_proto.Service.stop_script', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='configuration', full_name='core_proto.Service.configuration', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='directories', full_name='core_proto.Service.directories', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=945, - serialized_end=1086, -) - - -_INTERFACE = _descriptor.Descriptor( - name='Interface', - full_name='core_proto.Interface', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='idx', full_name='core_proto.Interface.idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='name', full_name='core_proto.Interface.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='mac_addr', full_name='core_proto.Interface.mac_addr', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ip4_addr', full_name='core_proto.Interface.ip4_addr', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ip4_mask', full_name='core_proto.Interface.ip4_mask', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ip6_addr', full_name='core_proto.Interface.ip6_addr', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='ip6_mask', full_name='core_proto.Interface.ip6_mask', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=1089, - serialized_end=1217, -) - - -_DEVICE = _descriptor.Descriptor( - name='Device', - full_name='core_proto.Device', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='idx', full_name='core_proto.Device.idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='name', full_name='core_proto.Device.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='interfaces', full_name='core_proto.Device.interfaces', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='location', full_name='core_proto.Device.location', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=1219, - serialized_end=1315, -) - - -_NODE = _descriptor.Descriptor( - name='Node', - full_name='core_proto.Node', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='idx', full_name='core_proto.Node.idx', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='name', full_name='core_proto.Node.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='interfaces', full_name='core_proto.Node.interfaces', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='services', full_name='core_proto.Node.services', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='location', full_name='core_proto.Node.location', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='model_type', full_name='core_proto.Node.model_type', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='emu_server', full_name='core_proto.Node.emu_server', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='session_ids', full_name='core_proto.Node.session_ids', index=7, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='x_pos', full_name='core_proto.Node.x_pos', index=8, - number=9, 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, - options=None), - _descriptor.FieldDescriptor( - name='y_pos', full_name='core_proto.Node.y_pos', index=9, - number=10, 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, - options=None), - _descriptor.FieldDescriptor( - name='canvas', full_name='core_proto.Node.canvas', index=10, - number=11, 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, - options=None), - _descriptor.FieldDescriptor( - name='emu_id', full_name='core_proto.Node.emu_id', index=11, - number=12, 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, - options=None), - _descriptor.FieldDescriptor( - name='net_id', full_name='core_proto.Node.net_id', index=12, - number=13, 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, - options=None), - _descriptor.FieldDescriptor( - name='latitude', full_name='core_proto.Node.latitude', index=13, - number=14, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='longitude', full_name='core_proto.Node.longitude', index=14, - number=15, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='altitude', full_name='core_proto.Node.altitude', index=15, - number=16, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='icon', full_name='core_proto.Node.icon', index=16, - number=17, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='opaque', full_name='core_proto.Node.opaque', index=17, - number=18, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _NODE_TYPE, - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=1318, - serialized_end=1796, -) - - -_EXPERIMENT = _descriptor.Descriptor( - name='Experiment', - full_name='core_proto.Experiment', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='experimentId', full_name='core_proto.Experiment.experimentId', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='name', full_name='core_proto.Experiment.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='nodes', full_name='core_proto.Experiment.nodes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='devices', full_name='core_proto.Experiment.devices', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='networks', full_name='core_proto.Experiment.networks', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=1799, - serialized_end=1956, -) - - -_SESSION = _descriptor.Descriptor( - name='Session', - full_name='core_proto.Session', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='clientId', full_name='core_proto.Session.clientId', index=0, - number=1, type=9, cpp_type=9, label=2, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='port_num', full_name='core_proto.Session.port_num', 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, - options=None), - _descriptor.FieldDescriptor( - name='experiment', full_name='core_proto.Session.experiment', 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, - options=None), - _descriptor.FieldDescriptor( - name='all_exps', full_name='core_proto.Session.all_exps', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=1959, - serialized_end=2090, -) - - -_ERRORMESSAGE = _descriptor.Descriptor( - name='ErrorMessage', - full_name='core_proto.ErrorMessage', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='code', full_name='core_proto.ErrorMessage.code', index=0, - number=1, type=5, cpp_type=1, label=2, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='msg', full_name='core_proto.ErrorMessage.msg', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=unicode("", "utf-8"), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=2092, - serialized_end=2133, -) - - -_COREMESSAGE = _descriptor.Descriptor( - name='CoreMessage', - full_name='core_proto.CoreMessage', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='core_proto.CoreMessage.session', 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, - options=None), - _descriptor.FieldDescriptor( - name='experiment', full_name='core_proto.CoreMessage.experiment', 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, - options=None), - _descriptor.FieldDescriptor( - name='node', full_name='core_proto.CoreMessage.node', 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, - options=None), - _descriptor.FieldDescriptor( - name='device', full_name='core_proto.CoreMessage.device', 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, - options=None), - _descriptor.FieldDescriptor( - name='event', full_name='core_proto.CoreMessage.event', 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, - options=None), - _descriptor.FieldDescriptor( - name='error', full_name='core_proto.CoreMessage.error', 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, - options=None), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - extension_ranges=[], - serialized_start=2136, - serialized_end=2374, -) - -_EVENT.fields_by_name['msg_type'].enum_type = _EVENT_MSGTYPE -_EVENT.fields_by_name['mod_type'].enum_type = _EVENT_MODTYPE -_EVENT_MSGTYPE.containing_type = _EVENT; -_EVENT_MODTYPE.containing_type = _EVENT; -_EVENT_STATE.containing_type = _EVENT; -_CHANNEL.fields_by_name['endpoints'].message_type = _ENDPOINT -_CHANNEL.fields_by_name['link_type'].enum_type = _CHANNEL_LINKTYPE -_CHANNEL_LINKTYPE.containing_type = _CHANNEL; -_NETWORK.fields_by_name['channels'].message_type = _CHANNEL -_DEVICE.fields_by_name['interfaces'].message_type = _INTERFACE -_NODE.fields_by_name['interfaces'].message_type = _INTERFACE -_NODE.fields_by_name['services'].message_type = _SERVICE -_NODE_TYPE.containing_type = _NODE; -_EXPERIMENT.fields_by_name['nodes'].message_type = _NODE -_EXPERIMENT.fields_by_name['devices'].message_type = _DEVICE -_EXPERIMENT.fields_by_name['networks'].message_type = _NETWORK -_SESSION.fields_by_name['experiment'].message_type = _EXPERIMENT -_SESSION.fields_by_name['all_exps'].message_type = _EXPERIMENT -_COREMESSAGE.fields_by_name['session'].message_type = _SESSION -_COREMESSAGE.fields_by_name['experiment'].message_type = _EXPERIMENT -_COREMESSAGE.fields_by_name['node'].message_type = _NODE -_COREMESSAGE.fields_by_name['device'].message_type = _DEVICE -_COREMESSAGE.fields_by_name['event'].message_type = _EVENT -_COREMESSAGE.fields_by_name['error'].message_type = _ERRORMESSAGE -DESCRIPTOR.message_types_by_name['Event'] = _EVENT -DESCRIPTOR.message_types_by_name['Endpoint'] = _ENDPOINT -DESCRIPTOR.message_types_by_name['Channel'] = _CHANNEL -DESCRIPTOR.message_types_by_name['Network'] = _NETWORK -DESCRIPTOR.message_types_by_name['Service'] = _SERVICE -DESCRIPTOR.message_types_by_name['Interface'] = _INTERFACE -DESCRIPTOR.message_types_by_name['Device'] = _DEVICE -DESCRIPTOR.message_types_by_name['Node'] = _NODE -DESCRIPTOR.message_types_by_name['Experiment'] = _EXPERIMENT -DESCRIPTOR.message_types_by_name['Session'] = _SESSION -DESCRIPTOR.message_types_by_name['ErrorMessage'] = _ERRORMESSAGE -DESCRIPTOR.message_types_by_name['CoreMessage'] = _COREMESSAGE - -class Event(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _EVENT - - # @@protoc_insertion_point(class_scope:core_proto.Event) - -class Endpoint(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _ENDPOINT - - # @@protoc_insertion_point(class_scope:core_proto.Endpoint) - -class Channel(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _CHANNEL - - # @@protoc_insertion_point(class_scope:core_proto.Channel) - -class Network(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _NETWORK - - # @@protoc_insertion_point(class_scope:core_proto.Network) - -class Service(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _SERVICE - - # @@protoc_insertion_point(class_scope:core_proto.Service) - -class Interface(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _INTERFACE - - # @@protoc_insertion_point(class_scope:core_proto.Interface) - -class Device(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _DEVICE - - # @@protoc_insertion_point(class_scope:core_proto.Device) - -class Node(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _NODE - - # @@protoc_insertion_point(class_scope:core_proto.Node) - -class Experiment(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _EXPERIMENT - - # @@protoc_insertion_point(class_scope:core_proto.Experiment) - -class Session(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _SESSION - - # @@protoc_insertion_point(class_scope:core_proto.Session) - -class ErrorMessage(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _ERRORMESSAGE - - # @@protoc_insertion_point(class_scope:core_proto.ErrorMessage) - -class CoreMessage(_message.Message): - __metaclass__ = _reflection.GeneratedProtocolMessageType - DESCRIPTOR = _COREMESSAGE - - # @@protoc_insertion_point(class_scope:core_proto.CoreMessage) - - -# @@protoc_insertion_point(module_scope)