def intf_get_stats(self): intf_globalget = sl_interface_pb2.SLInterfaceGlobalsGetMsg() Timeout = 10 response = self.stub.SLInterfaceGlobalsGetStats( intf_globalget, Timeout) print response
def intf_globals_get_serializer(): """Interface Globals get serializer.""" serializer = sl_interface_pb2.SLInterfaceGlobalsGetMsg() return serializer
def intf_get_globals(stub): intf_globalget = sl_interface_pb2.SLInterfaceGlobalsGetMsg() Timeout = 10 response = stub.SLInterfaceGlobalsGet(intf_globalget, Timeout) print response