Skip to content

IDCSmart integration ​

QuickIDC-IDCSmart is the server module for IDCSmart (魔方财务).

Layout ​

text
plugins/QuickIDC-IDCSmart/
├── idcserver.php
└── templates/{info,ipv4,ipv6,nat,proxy}.html

Install ​

bash
git clone https://github.com/QuickIDC/CloudHost.git /tmp/cloudhost
cp -r /tmp/cloudhost/plugins/QuickIDC-IDCSmart /path/to/idcsmar/modules/server/openidc
chown -R www-data:www-data /path/to/idcsmar/modules/server/openidc

Enable the module in the admin panel and create a server group.

Configuration ​

FieldExample
host_namepve-lab
Controller URLhttps://idc.example.com
Bearer token6f1c…
Default imagedebian12
CPU / memory / disk2 / 2048 / 40
Bandwidth10

Lifecycle mapping ​

ActionAPI
CreatePOST /api/client/create/:hs_name
RenewPUT /api/client/update/...
Suspendpower off
Unsuspendpower on
TerminateDELETE /api/client/delete/...

Verify ​

  • [ ] module visible
  • [ ] settings save
  • [ ] order creates an instance
  • [ ] console button works
  • [ ] termination reclaims the instance

Common issues ​

SymptomFix
401wrong or rotated token
404host_name mismatch
Console failsopen 6080 / configure proxy

Released under the AGPLv3 License.