'Generates a KnowledgeBase entry in the host_data used by checks.'

@staticmethod
def SetKnowledgeBase(hostname='test.example.com', host_os='Linux', host_data=None):

    if (not host_data):
        host_data = {}
    kb = rdf_client.KnowledgeBase()
    kb.hostname = hostname
    kb.os = host_os
    host_data['KnowledgeBase'] = kb
    return host_data
