# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: opentestbed.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11opentestbed.proto\x12\x0bopentestbed\x1a google/protobuf/descriptor.proto\x1a\x1bgoogle/protobuf/empty.proto\"Q\n\x07Testbed\x12$\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32\x13.opentestbed.Device\x12 \n\x05links\x18\x02 \x03(\x0b\x32\x11.opentestbed.Link\"\x81\x03\n\x06\x44\x65vice\x12\x0f\n\x02id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04name\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06vendor\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x12\n\x05model\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08platform\x18\x05 \x01(\tH\x04\x88\x01\x01\x12\x12\n\x05image\x18\x06 \x01(\tH\x05\x88\x01\x01\x12 \n\x05ports\x18\x07 \x03(\x0b\x32\x11.opentestbed.Port\x12*\n\nattributes\x18\x08 \x03(\x0b\x32\x16.opentestbed.Attribute\x12\x30\n\x04role\x18\t \x01(\x0e\x32\x1d.opentestbed.Device.Role.EnumH\x06\x88\x01\x01\x1a:\n\x04Role\"2\n\x04\x45num\x12\x0f\n\x0bunspecified\x10\x00\x12\x07\n\x03\x44UT\x10\x01\x12\x07\n\x03\x41TE\x10\x02\x12\x07\n\x03L1S\x10\x03\x42\x05\n\x03_idB\x07\n\x05_nameB\t\n\x07_vendorB\x08\n\x06_modelB\x0b\n\t_platformB\x08\n\x06_imageB\x07\n\x05_role\"\xcc\x08\n\x04Port\x12\x0f\n\x02id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04name\x18\x02 \x01(\tH\x01\x88\x01\x01\x12,\n\x03pmd\x18\x03 \x01(\x0e\x32\x1a.opentestbed.Port.Pmd.EnumH\x02\x88\x01\x01\x12\x30\n\x05speed\x18\x04 \x01(\x0e\x32\x1c.opentestbed.Port.Speed.EnumH\x03\x88\x01\x01\x12\x18\n\x0btransceiver\x18\x05 \x01(\tH\x04\x88\x01\x01\x12*\n\nattributes\x18\x06 \x03(\x0b\x32\x16.opentestbed.Attribute\x1a\x9f\x05\n\x03Pmd\"\x97\x05\n\x04\x45num\x12\x0f\n\x0bunspecified\x10\x00\x12\x13\n\x0fPMD_UNSPECIFIED\x10\x01\x12\x13\n\x0fPMD_10GBASE_LRM\x10\x02\x12\x12\n\x0ePMD_10GBASE_LR\x10\x03\x12\x12\n\x0ePMD_10GBASE_ZR\x10\x04\x12\x12\n\x0ePMD_10GBASE_ER\x10\x05\x12\x12\n\x0ePMD_10GBASE_SR\x10\x06\x12\x13\n\x0fPMD_40GBASE_CR4\x10\x07\x12\x13\n\x0fPMD_40GBASE_SR4\x10\x08\x12\x13\n\x0fPMD_40GBASE_LR4\x10\t\x12\x13\n\x0fPMD_40GBASE_ER4\x10\n\x12\x14\n\x10PMD_40GBASE_PSM4\x10\x0b\x12\x14\n\x10PMD_4X10GBASE_LR\x10\x0c\x12\x14\n\x10PMD_4X10GBASE_SR\x10\r\x12\x10\n\x0cPMD_100G_AOC\x10\x0e\x12\x10\n\x0cPMD_100G_ACC\x10\x0f\x12\x15\n\x11PMD_100GBASE_SR10\x10\x10\x12\x14\n\x10PMD_100GBASE_SR4\x10\x11\x12\x14\n\x10PMD_100GBASE_LR4\x10\x12\x12\x14\n\x10PMD_100GBASE_ER4\x10\x13\x12\x16\n\x12PMD_100GBASE_CWDM4\x10\x14\x12\x15\n\x11PMD_100GBASE_CLR4\x10\x15\x12\x15\n\x11PMD_100GBASE_PSM4\x10\x16\x12\x14\n\x10PMD_100GBASE_CR4\x10\x17\x12\x13\n\x0fPMD_100GBASE_FR\x10\x18\x12\x13\n\x0fPMD_400GBASE_ZR\x10\x19\x12\x14\n\x10PMD_400GBASE_LR4\x10\x1a\x12\x14\n\x10PMD_400GBASE_FR4\x10\x1b\x12\x14\n\x10PMD_400GBASE_LR8\x10\x1c\x12\x14\n\x10PMD_400GBASE_DR4\x10\x1d\x12\x13\n\x0fPMD_100GBASE_DR\x10\x1e\x1a\xa5\x01\n\x05Speed\"\x9b\x01\n\x04\x45num\x12\x0f\n\x0bunspecified\x10\x00\x12\x15\n\x11SPEED_UNSPECIFIED\x10\x01\x12\t\n\x05S_1GB\x10\x02\x12\t\n\x05S_5GB\x10\x03\x12\n\n\x06S_10GB\x10\x04\x12\n\n\x06S_25GB\x10\x05\x12\n\n\x06S_40GB\x10\x06\x12\n\n\x06S_50GB\x10\x07\x12\x0b\n\x07S_100GB\x10\x08\x12\x0b\n\x07S_200GB\x10\t\x12\x0b\n\x07S_400GB\x10\nB\x05\n\x03_idB\x07\n\x05_nameB\x06\n\x04_pmdB\x08\n\x06_speedB\x0e\n\x0c_transceiver\"C\n\tAttribute\x12\x10\n\x03key\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05value\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_keyB\x08\n\x06_value\"L\n\x04Link\x12!\n\x03src\x18\x01 \x01(\x0b\x32\x14.opentestbed.LinkSrc\x12!\n\x03\x64st\x18\x02 \x01(\x0b\x32\x14.opentestbed.LinkDst\"E\n\x07LinkSrc\x12\x13\n\x06\x64\x65vice\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_deviceB\x07\n\x05_port\"E\n\x07LinkDst\x12\x13\n\x06\x64\x65vice\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_deviceB\x07\n\x05_port\"W\n\rYieldResponse\x12\x16\n\tsessionid\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07testbed\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_sessionidB\n\n\x08_testbed\"\xac\x01\n\x05\x45rror\x12\x11\n\x04\x63ode\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12/\n\x04kind\x18\x02 \x01(\x0e\x32\x1c.opentestbed.Error.Kind.EnumH\x01\x88\x01\x01\x12\x0e\n\x06\x65rrors\x18\x03 \x03(\t\x1a=\n\x04Kind\"5\n\x04\x45num\x12\x0f\n\x0bunspecified\x10\x00\x12\x0e\n\nvalidation\x10\x01\x12\x0c\n\x08internal\x10\x02\x42\x07\n\x05_codeB\x07\n\x05_kind\"\x1b\n\x07Warning\x12\x10\n\x08warnings\x18\x01 \x03(\t\"!\n\x07Session\x12\x0f\n\x02id\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x05\n\x03_id\"\x91\x01\n\x07Version\x12\x1d\n\x10\x61pi_spec_version\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bsdk_version\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x61pp_version\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_api_spec_versionB\x0e\n\x0c_sdk_versionB\x0e\n\x0c_app_version\"0\n\x07Success\x12%\n\x07warning\x18\x01 \x01(\x0b\x32\x14.opentestbed.Warning\",\n\x07\x46\x61ilure\x12!\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x12.opentestbed.Error\"7\n\x0eReserveRequest\x12%\n\x07testbed\x18\x01 \x01(\x0b\x32\x14.opentestbed.Testbed\"E\n\x0fReserveResponse\x12\x32\n\x0eyield_response\x18\x01 \x01(\x0b\x32\x1a.opentestbed.YieldResponse\"7\n\x0eReleaseRequest\x12%\n\x07session\x18\x01 \x01(\x0b\x32\x14.opentestbed.Session\"8\n\x0fReleaseResponse\x12%\n\x07warning\x18\x01 \x01(\x0b\x32\x14.opentestbed.Warning\";\n\x12GetVersionResponse\x12%\n\x07version\x18\x01 \x01(\x0b\x32\x14.opentestbed.Version2\xdc\x01\n\x07Openapi\x12\x44\n\x07Reserve\x12\x1b.opentestbed.ReserveRequest\x1a\x1c.opentestbed.ReserveResponse\x12\x44\n\x07Release\x12\x1b.opentestbed.ReleaseRequest\x1a\x1c.opentestbed.ReleaseResponse\x12\x45\n\nGetVersion\x12\x16.google.protobuf.Empty\x1a\x1f.opentestbed.GetVersionResponseB\x1bZ\x19./opentestbed;opentestbedb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentestbed_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z\031./opentestbed;opentestbed'
  _globals['_TESTBED']._serialized_start=97
  _globals['_TESTBED']._serialized_end=178
  _globals['_DEVICE']._serialized_start=181
  _globals['_DEVICE']._serialized_end=566
  _globals['_DEVICE_ROLE']._serialized_start=439
  _globals['_DEVICE_ROLE']._serialized_end=497
  _globals['_DEVICE_ROLE_ENUM']._serialized_start=447
  _globals['_DEVICE_ROLE_ENUM']._serialized_end=497
  _globals['_PORT']._serialized_start=569
  _globals['_PORT']._serialized_end=1669
  _globals['_PORT_PMD']._serialized_start=780
  _globals['_PORT_PMD']._serialized_end=1451
  _globals['_PORT_PMD_ENUM']._serialized_start=788
  _globals['_PORT_PMD_ENUM']._serialized_end=1451
  _globals['_PORT_SPEED']._serialized_start=1454
  _globals['_PORT_SPEED']._serialized_end=1619
  _globals['_PORT_SPEED_ENUM']._serialized_start=1464
  _globals['_PORT_SPEED_ENUM']._serialized_end=1619
  _globals['_ATTRIBUTE']._serialized_start=1671
  _globals['_ATTRIBUTE']._serialized_end=1738
  _globals['_LINK']._serialized_start=1740
  _globals['_LINK']._serialized_end=1816
  _globals['_LINKSRC']._serialized_start=1818
  _globals['_LINKSRC']._serialized_end=1887
  _globals['_LINKDST']._serialized_start=1889
  _globals['_LINKDST']._serialized_end=1958
  _globals['_YIELDRESPONSE']._serialized_start=1960
  _globals['_YIELDRESPONSE']._serialized_end=2047
  _globals['_ERROR']._serialized_start=2050
  _globals['_ERROR']._serialized_end=2222
  _globals['_ERROR_KIND']._serialized_start=2143
  _globals['_ERROR_KIND']._serialized_end=2204
  _globals['_ERROR_KIND_ENUM']._serialized_start=2151
  _globals['_ERROR_KIND_ENUM']._serialized_end=2204
  _globals['_WARNING']._serialized_start=2224
  _globals['_WARNING']._serialized_end=2251
  _globals['_SESSION']._serialized_start=2253
  _globals['_SESSION']._serialized_end=2286
  _globals['_VERSION']._serialized_start=2289
  _globals['_VERSION']._serialized_end=2434
  _globals['_SUCCESS']._serialized_start=2436
  _globals['_SUCCESS']._serialized_end=2484
  _globals['_FAILURE']._serialized_start=2486
  _globals['_FAILURE']._serialized_end=2530
  _globals['_RESERVEREQUEST']._serialized_start=2532
  _globals['_RESERVEREQUEST']._serialized_end=2587
  _globals['_RESERVERESPONSE']._serialized_start=2589
  _globals['_RESERVERESPONSE']._serialized_end=2658
  _globals['_RELEASEREQUEST']._serialized_start=2660
  _globals['_RELEASEREQUEST']._serialized_end=2715
  _globals['_RELEASERESPONSE']._serialized_start=2717
  _globals['_RELEASERESPONSE']._serialized_end=2773
  _globals['_GETVERSIONRESPONSE']._serialized_start=2775
  _globals['_GETVERSIONRESPONSE']._serialized_end=2834
  _globals['_OPENAPI']._serialized_start=2837
  _globals['_OPENAPI']._serialized_end=3057
# @@protoc_insertion_point(module_scope)
