def __init__(self, name, invert_priority=False):
        self.name = name
        self.invert_priority = invert_priority
Get the number of serial consoles from the flavor or image
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/signal.py/Signal.__init__--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/hardware.py/get_number_of_serial_ports