Discovery Plugins

class promgen.discovery.default.DiscoveryPromgen[source]

Promgen local database discovery plugin

This is the default discovery plugin for farms and hosts stored locally in promgen’s database. They are queried directly from Django’s ORM

farms()[source]

Fetch farms from local database

fetch(farm_name)[source]

Fetch list of hosts for a farm from the local database

remote = False

Basic discovery plugin base

Child classes should implement both fetch and farm methods