dendu17 / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Remote API: Create new virtual #544

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce:
1. Create new virtual server. 
Request URL: Parameter nameserver=inherit.
http://<host>/api/virtual_servers/create?hardware_server_id=<hardware_server_id>
&identity=<identity>...&nameserver=inherit

Actual result:
<?xml version="1.0" encoding="UTF-8"?>
<result>
  <status type="boolean">false</status>
  <details type="array">
    <detail>
      <error>DNS server IP address is invalid.</error>
      <field>nameserver</field>
    </detail>
  </details>
</result>

Expected result:
<?xml version="1.0" encoding="UTF-8"?>
<result>
  <status type="boolean">true</status>
  <details>
    <id type="integer">5</id>
  </details>
</result>

Version of the product:
OpenVZ Web Panel 2.4

Server OS:
CentOS release 6.5

Original issue reported on code.google.com by alexande...@vigg.ru on 6 Aug 2014 at 1:53