def __init__(self, kind):
        if kind not in ('read', 'send', ''):
            raise ValueError('kind must be "read", "send" or ""; got {}'.format(kind))
        self.kind = kind
        logger_name = 'serial_{}'.format(kind) if kind else 'serial'
        super(PexpectLogger, self).__init__(logger_name)
Ensure route table with routes exists and is associated to a VPC.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/serial_port.py/PexpectLogger.__init__--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/boto_vpc.py/route_table_present