Revision 8b388efe snf-cyclades-app/synnefo/api/ports.py

b/snf-cyclades-app/synnefo/api/ports.py
117 117
                                                    for_update=True)
118 118
        if ipaddress.network.id != network.id:
119 119
            raise api.faults.Conflict("Floating IP address %s does not belong"
120
                                      " to network %s." % fip_address, net_id)
120
                                      " to network %s."
121
                                      % (fip_address, net_id))
121 122

  
122 123
    vm = util.get_vm(dev_id, user_id, for_update=True, non_deleted=True,
123 124
                     non_suspended=True)

Also available in: Unified diff