def create_floating_ip(self):
        if not self.msgs:
            try:
                body = {'floatingip': {'floating_network_id': self.network_id}}
                self.fip = self.nova_client.create_floatingip(body=body)
                self.notifications.append(
                    "fip=%s" % self.fip['floatingip']['floating_ip_address'])
            except Exception as e:
                self.msgs.append(e % "Cannot create a floating ip: %s")
dataset/ETHPy150Open openstack/monitoring-for-openstack/oschecks/neutron.py/Novautils.create_floating_ip/swapped operands of `%`