'Check whether multiple instances are created from port id(s).'

def _check_multiple_instances_with_neutron_ports(self, requested_networks):

    for requested_net in requested_networks:
        if requested_net.port_id:
            msg = _('Unable    to    launch    multiple    instances    with    a    single    configured    port    ID.    Please    launch    your    instance    one    by    one    with    different    ports.')
            raise exception.MultiplePortsNotApplicable(reason=msg)
