Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Bugs > Topic : Bug when creating a VPS through the API with a plan



Normal Mode | Print  

 Bug when creating a VPS through the API with a plan, Bug when creating a VPS through the API with a plan (4 Replies, Read 7352 times)
mahostca
Group: Member
Post Group: Newbie
Posts: 3
Status:
So,
No matter what parameters I pass to the API call, they get overwritten or just not used.
Here is what I've been using:
$vps = array();
  $vps['uid'] = $user['uid'];
  $vps['virt'] = 'kvm';
  $vps['plid'] = 6;
  $vps['osid'] = 314;
  $vps['rootpass'] = 'test123';
  $vps['vnc'] = 1;
  $vps['vncpass'] = 'test123'; // Doesn't work
  $vps['nic_type'] = 'virtio'; //I already tried default, and the other one.
  $vps['virtio'] = 1; // Doesn't work
  $vps['band_suspend'] = 0; // Doesn't work

  $vpsResult = $admin->addvs($vps);

I have the plan setup the way I want. First I tried to create the vps with just the user id, plan id and osid but as I said nothing gets setup as my plan is.

Any ideas?
IP: --   


Threads
 mahostca   Bug when creating a VPS through the API with a plan, Bug when creating a VPS through the API with a plan (4 Replies, Read 7352 times)
    |--  asim_shaikh   I have the...   on January 28, 2016, 10:56 am
    |--  mahostca    Hi, What are...   on January 28, 2016, 4:19 pm
    |--  mahostca   Just to add:...   on January 28, 2016, 4:24 pm
    |--  asim_shaikh   Hi, Sir, We...   on January 29, 2016, 7:15 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 28, 2024, 9:32 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025