def __init__(self, topic='dns_manager', threads=None): self.rpc_topic = topic super(DNSService, self).__init__(threads=threads) self.agent = agent.get_dns_backend()
def __init__(self, topic='add_agent', threads=None): self.rpc_topic = topic super(AgentService, self).__init__(threads=threads) self.agent = agent.get_dns_backend()