 (defn validate-entity
  "vcenter based system entity validation for persistence layer" 
   [vcenter]
-   (cv/validate! ::invalid-system vcenter entity-validation)
+   (validate! ::invalid-system vcenter entity-validation)
   )
 

  )

(defn provider-validation [allocation machine]
  (cv/validate! ::invalid-vm {:allocation allocation :machine machine} vcenter-provider))


(defvalidatorset vcenter-entity

  (:use 
    [vc.vijava :only (disk-format-types)]
    [clojure.core.strint :only (<<)]
    [celestial.validations :only (validate!)]
    [bouncer [core :as b] [validators :as v :only (defvalidatorset)]])
  (:require 
    [celestial.validations :as cv]))
