                     if x.zone?
                         delete x.zone
                 opts.cb(undefined, vms)
+
+    # Get all outstanding global not-completed operations
+    get_operations: (opts) =>
+        opts = defaults opts,
+            cb  : required
+        @dbg("get_operations")()
+        @_gce.getOperations {filter:"status ne DONE", maxResults:500}, (err, operations) => opts.cb(err, operations)
 
     _check_db: (cb) =>
         if not @db

    reset: (opts={}) =>
        @_action('reset', opts.cb)

    get_metadata: (opts) =>
        opts = defaults opts,
            cb : required

                disk = @gcloud._gce.zone(@zone).disk(deviceName)
                @_vm.detachDisk disk, (err, operation, apiResponse) =>
                    handle_operation(err, operation, (->dbg("done")), cb)
        ], (err) => opts.cb(err))

    get_serial_console: (opts) =>
        opts = defaults opts,
            cb   : required
        @_vm.getSerialPortOutput (err, output) => opts.cb(err, output)

    show_console: =>
        @get_serial_console
            cb : (err, output) =>
                if err
                    console.log("ERROR -- ", err)
                else
                    console.log(output)

class Disk
    constructor: (@gcloud, @name, @zone=DEFAULT_ZONE) ->
