find_pscheduler_services
Discover pScheduler services to run network performance tests. Filter by city or country to locate testpoints for monitoring throughput, latency, and packet loss.
Instructions
Find pScheduler services for running tests.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationCity | No | City filter | |
| locationCountry | No | Country filter |
Implementation Reference
- src/perfsonar_mcp/lookup.py:139-163 (handler)The core handler implementation for finding pScheduler services, which uses the lookup service client to query for records with type 'service' and service_type 'pscheduler'.
async def find_pscheduler_services( self, location_city: Optional[str] = None, location_country: Optional[str] = None, ) -> List[LookupServiceRecord]: """ Find pScheduler services for running tests Args: location_city: Filter by city location_country: Filter by country Returns: List of pScheduler service records """ logger.info( f"Finding pScheduler services (city={location_city}, country={location_country})" ) params = LookupQueryParams( type="service", service_type="pscheduler", location_city=location_city, location_country=location_country, ) return await self.search_records(params)