X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Ffrontend_grpc.py;h=88308e18e7bf3e6df0166fbbe3de6e290cf9dc57;hb=486e75d23b0ad25e0ce26222994aa9189473ed19;hp=c1dd60dc7f17c5d4305adb82826dc5220d9e5d82;hpb=62b2ee49c25be96be8cb6ef97224f598ae7094be;p=osm%2FLCM.git diff --git a/osm_lcm/frontend_grpc.py b/osm_lcm/frontend_grpc.py index c1dd60d..88308e1 100644 --- a/osm_lcm/frontend_grpc.py +++ b/osm_lcm/frontend_grpc.py @@ -1,20 +1,19 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- - ## -# Copyright 2018 Telefonica S.A. +# Copyright 2020 Telefonica Investigacion y Desarrollo, S.A.U. # -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ## # Generated by the Protocol Buffers compiler. DO NOT EDIT! # source: osm_lcm/frontend.proto @@ -42,13 +41,13 @@ class FrontendExecutorBase(abc.ABC): def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: return { - '/osm_lcm.FrontendExecutor/RunPrimitive': grpclib.const.Handler( + '/osm_ee.FrontendExecutor/RunPrimitive': grpclib.const.Handler( self.RunPrimitive, grpclib.const.Cardinality.UNARY_STREAM, osm_lcm.frontend_pb2.PrimitiveRequest, osm_lcm.frontend_pb2.PrimitiveReply, ), - '/osm_lcm.FrontendExecutor/GetSshKey': grpclib.const.Handler( + '/osm_ee.FrontendExecutor/GetSshKey': grpclib.const.Handler( self.GetSshKey, grpclib.const.Cardinality.UNARY_UNARY, osm_lcm.frontend_pb2.SshKeyRequest, @@ -62,13 +61,13 @@ class FrontendExecutorStub: def __init__(self, channel: grpclib.client.Channel) -> None: self.RunPrimitive = grpclib.client.UnaryStreamMethod( channel, - '/osm_lcm.FrontendExecutor/RunPrimitive', + '/osm_ee.FrontendExecutor/RunPrimitive', osm_lcm.frontend_pb2.PrimitiveRequest, osm_lcm.frontend_pb2.PrimitiveReply, ) self.GetSshKey = grpclib.client.UnaryUnaryMethod( channel, - '/osm_lcm.FrontendExecutor/GetSshKey', + '/osm_ee.FrontendExecutor/GetSshKey', osm_lcm.frontend_pb2.SshKeyRequest, osm_lcm.frontend_pb2.SshKeyReply, )