       'list all vms'    : ['member','moderator']
       'list default vm' : ['member','moderator']
     sharedMethods       :
-      static            : ['fetchVmsByContext']#,'create']
+      static            : ['fetchVmsByContext','calculateUsage']#,'create']
       instance          : []
     schema              :
       ip                :

  #     target.addLimit limit, 'vm', (err)->
  #       callback err ? null, unless err then limit

  @fetchVmsByContext = permit 'list all vms',
    success: (client, options, callback) ->
      [callback, options] = [options, callback]  unless callback

      name              : String
      users             : Array
      groups            : Array
      usage             :
        cpu             :
          type          : Number
          default       : 1
        ram             :
          type          : Number
          default       : 0.25
        disk            :
          type          : Number
          default       : 0.5
      isEnabled         :
        type            : Boolean
        default         : yes
