ooh, another variation you can use is:

``` ruby
ip = cloud.openstack.servers.get(state.vm_cid).floating_ip_address
ip ||= service_ip
```

but I like what you have now as it has semantically meaningful variable names