Skip to content
Snippets Groups Projects
interdomain_pb2.py 3.11 KiB
Newer Older
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: interdomain.proto
"""Generated protocol buffer code."""
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 symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import context_pb2 as context__pb2
from . import slice_pb2 as slice__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='interdomain.proto',
  package='interdomain',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x11interdomain.proto\x12\x0binterdomain\x1a\rcontext.proto\x1a\x0bslice.proto2\xab\x02\n\x12InterdomainService\x12L\n\x0c\x41uthenticate\x12\x1b.context.TeraFlowController\x1a\x1d.context.AuthenticationResult\"\x00\x12\x36\n\x0bLookUpSlice\x12\x15.slice.TransportSlice\x1a\x0e.slice.SliceId\"\x00\x12\x44\n\x15OrderSliceFromCatalog\x12\x15.slice.TransportSlice\x1a\x12.slice.SliceStatus\"\x00\x12I\n\x1a\x43reateSliceAndAddToCatalog\x12\x15.slice.TransportSlice\x1a\x12.slice.SliceStatus\"\x00\x62\x06proto3'
  ,
  dependencies=[context__pb2.DESCRIPTOR,slice__pb2.DESCRIPTOR,])



_sym_db.RegisterFileDescriptor(DESCRIPTOR)



_INTERDOMAINSERVICE = _descriptor.ServiceDescriptor(
  name='InterdomainService',
  full_name='interdomain.InterdomainService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=63,
  serialized_end=362,
  methods=[
  _descriptor.MethodDescriptor(
    name='Authenticate',
    full_name='interdomain.InterdomainService.Authenticate',
    index=0,
    containing_service=None,
    input_type=context__pb2._TERAFLOWCONTROLLER,
    output_type=context__pb2._AUTHENTICATIONRESULT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='LookUpSlice',
    full_name='interdomain.InterdomainService.LookUpSlice',
    index=1,
    containing_service=None,
    input_type=slice__pb2._TRANSPORTSLICE,
    output_type=slice__pb2._SLICEID,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='OrderSliceFromCatalog',
    full_name='interdomain.InterdomainService.OrderSliceFromCatalog',
    index=2,
    containing_service=None,
    input_type=slice__pb2._TRANSPORTSLICE,
    output_type=slice__pb2._SLICESTATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='CreateSliceAndAddToCatalog',
    full_name='interdomain.InterdomainService.CreateSliceAndAddToCatalog',
    index=3,
    containing_service=None,
    input_type=slice__pb2._TRANSPORTSLICE,
    output_type=slice__pb2._SLICESTATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_INTERDOMAINSERVICE)

DESCRIPTOR.services_by_name['InterdomainService'] = _INTERDOMAINSERVICE

# @@protoc_insertion_point(module_scope)