jkoelker / quark

This is my fork, Quark is now at https://github.com/rackerlabs/quark
Apache License 2.0
0 stars 2 forks source link

Not passing ipam_strategy on the command line causing error on net create #174

Closed MattDietz closed 10 years ago

MattDietz commented 10 years ago

Net create breaks if you don't pass an ipam_strategy, and I stupidly forgot to fix this case.

The tests missed it because Neutron insists on inserting every possible parameter into the POST body, regardless of value, and I accidentally used the naive check for "ipam_strategy" in net_attrs instead of our utils.pop_param helper.