<div dir="ltr"><div><font face="arial, helvetica, sans-serif">Hi All,</font></div><div><font face="arial, helvetica, sans-serif">I'm working on API related enhancement and encountered  the following issue:</font></div><div><font face="arial, helvetica, sans-serif">bay-creation return 400 Bad Request with a valid fixed-network in baymodel(<a href="https://bugs.launchpad.net/magnum/+bug/1519748">https://bugs.launchpad.net/magnum/+bug/1519748</a> )</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><p id="yui_3_10_3_1_1448962985018_1872" style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">The 'fixed_network' actually means 'fixed_network_cidr', or more precisely 'fixed_subnet'. There're 2 possible ways to fix this:</font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">1. Rename the 'fixed_network' to 'fixed_subnet', in Baymodel DB, Baymodel Object and MagnumClient.</font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">2. Leave 'fixed_network' alone, add a new field 'fixed_subnet' to Baymodel, and use the 'fixed_subnet' to take the place of current 'fixed_network'.</font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">Please don't hesitate to give some inputs of which one is better, by comment in the bug or reply this mail.</font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">Thanks & Best regards,</font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:13px">HouMing Wang </span><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51)"><br></p></div></div>