Revision f9953e1a

b/kamaki/cli/commands/cyclades.py
430 430
            networks = []
431 431
        else:
432 432
            networks = [dict(uuid=netid) for netid in (
433
                (self['network_id'] or []) + (self['network_id_and_ip'] or [])
434
            )] or None
433
                self['network_id'] or [])] + (self['network_id_and_ip'] or [])
434
            networks = networks or None
435 435
        servers = [dict(
436 436
            name='%s%s' % (prefix, i if size > 1 else ''),
437 437
            flavor_id=flavor_id,
b/kamaki/clients/compute/__init__.py
130 130

  
131 131
        :param networks: (list of dicts) Networks to connect to, list this:
132 132
            "networks": [
133
            {"network": <network_uuid>},
134
            {"network": <network_uuid>, "fixed_ip": address},
133
            {"uuid": <network_uuid>},
134
            {"uuid": <network_uuid>, "fixed_ip": address},
135 135
            {"port": <port_id>}, ...]
136 136
            ATTENTION: Empty list is different to None. None means ' do not
137 137
            mention it', empty list means 'automatically get an ip'

Also available in: Unified diff