Skip to content
This repository

Added functions to get the next virtual machine ID. #7

Merged
merged 1 commit into from about 1 year ago

2 participants

Phil Kauffman Toby Sears
Phil Kauffman

This is currently not documented in the api.

Phil Kauffman Added functions to get the next virtual machine ID.
This is currently not documented in the api.
f6ff0cf
Toby Sears Daemonthread merged commit 4b22ae7 into from April 07, 2013
Toby Sears Daemonthread closed this April 07, 2013
Phil Kauffman papamoose deleted the branch April 07, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 02, 2013
Phil Kauffman Added functions to get the next virtual machine ID.
This is currently not documented in the api.
f6ff0cf
This page is out of date. Refresh to see the latest.
3  README.md
Source Rendered
@@ -56,6 +56,9 @@ For more information on the accepted variables please see http//pve.proxmox.com/
56 56
 		getClusterBackupSchedule()
57 57
 "List vzdump backup schedule. Returns JSON"
58 58
 
  59
+      getClusterVmNextId()
  60
+"Get next VM ID of cluster. Returns JSON"
  61
+
59 62
 ##### Node Methods
60 63
 		getNodeNetworks(node)
61 64
 "List available networks. Returns JSON"
4  src/pyproxmox.py
@@ -117,6 +117,10 @@ def getClusterBackupSchedule(self):
117 117
         data = self.connect('get','cluster/backup',None)
118 118
         return data
119 119
 
  120
+    def getClusterVmNextId(self):
  121
+        """Get next VM ID of cluster. Returns JSON"""
  122
+        data = self.connect('get','cluster/nextid',None)
  123
+        return data
120 124
 
121 125
 
122 126
     # Node Methods
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.