1.0.17 • Published 10 years ago

proxmox-lib v1.0.17

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Proxmox Simple Library

Status

  • In progress

Requirements

Install

npm install proxmox-lib

Use

  var px = require('proxmox-lib')({
    url: 'https://localhost:8006',
    user: 'root',
    password: 'password',
    node: ['node1', 'node2'],
    templateStorage: 'local',
    vncserver: 'https://localhost:8006'
  });

Functions

  • px.status(callback) -> Cluster status

  • px.nextId(callback) -> Next free VM ID

  • px.nodeStatus(callback) -> Node status

  • px.listTemplates(callback) -> List container available templates

  • px.deleteContainer(id, callback) -> Delete the container

  • px.statusContainer(id, callback) -> Status of container

  • px.vncContainer(id, callback) -> Url for vnc terminal

  • px.startContainer(id, callback) -> Start container

  • px.stopContainer(id, callback) -> Stop container

  • px.createContainer(options, callback) -> Create container

    • template: 'string',
    • cpu: 'number',
    • hostname: 'string',
    • memory: 'number|megabytes',
    • ostype: 'string|ubuntu,debian,centos,archlinux',
    • storage: 'string',
    • swap: 'number|megabytes',
    • disk: 'number|gigabytes',
    • password: 'string'
1.0.17

10 years ago

1.0.16

10 years ago

1.0.15

10 years ago

1.0.14

10 years ago

1.0.13

10 years ago

1.0.12

10 years ago

1.0.11

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago