@classmethod
def get_schema(cls):
    """Creates a table schema for incoming data from PlexxiCore.

        Returns a dictionary map of tablenames corresponding to column names
        for that table. Both tableNames and columnnames are strings.
        """
    d = {}
    d[cls.HOSTS] = 'uuid', 'name', 'mac_count', 'vmcount'
    d[cls.HOST_MACS] = 'Host_uuid', 'Mac_Address'
    d[cls.HOST_GUESTS] = 'Host_uuid', 'VM_uuid'
    d[cls.VMS] = 'uuid', 'name', 'host_uuid', 'ip', 'mac_count'
    d[cls.VM_MACS] = 'vmID', 'Mac_Address'
    d[cls.AFFINITIES] = 'uuid', 'name'
    d[cls.VSWITCHES] = 'uuid', 'host_count', 'vnic_count'
    d[cls.VSWITCHES_MACS] = 'vswitch_uuid', 'Mac_Address'
    d[cls.VSWITCHES_HOSTS] = 'vswitch_uuid', 'hostuuid'
    d[cls.PLEXXISWITCHES] = 'uuid', 'ip', 'status'
    d[cls.PLEXXISWITCHES_MACS] = 'Switch_uuid', 'Mac_Address'
    d[cls.PORTS] = 'uuid', 'name'
    d[cls.NETWORKLINKS] = ('uuid', 'name', 'port_uuid', 'start_uuid',
        'start_name', 'stop_uuid', 'stop_name')
    return d
