      _resetAll(dialog);
    }
  
-@@ -532,6 +583,33 @@ define(function(require) {
+@@ -532,6 +586,33 @@
      $('label[for="vcenter_disk_type"],input#vcenter_disk_type', dialog).parent().fadeIn();
    }
  

         case 'custom':
           _selectCustom(dialog);
           break;
@@ -366,6 +371,15 @@ define(function(require) {
       return false;
     }
 
+    var sp_replication  = $('#sp_replication', dialog).val();
+    var sp_placeall     = $('#sp_placeall', dialog).val();
+    var sp_placetail    = $('#sp_placetail', dialog).val();
+    var sp_replication  = $('#sp_replication', dialog).val();
+    var sp_api_http_host = $('#sp_api_http_host', dialog).val();
+    var sp_api_http_port = $('#sp_api_http_port', dialog).val();
+    var sp_auth_token   = $('#sp_auth_toke', dialog).val();
+    var sp_system       = $('#sp_system', dialog).val();
+
     var ds_obj = {
       "datastore" : {
         "datastore_raw" : template
@@ -373,6 +387,27 @@ define(function(require) {
       "cluster_id" : cluster_id
     };
 
+    if (sp_replication)
+        ds_obj.datastore.sp_replication = sp_replication;

+    </div>
   </div>
 </form>
--- app/tabs/datastores-tab/form-panels/create.js.~1~	2016-06-24 10:55:28.000000000 +0000
+++ app/tabs/datastores-tab/form-panels/create.js	2016-07-15 08:34:28.557178168 +0000
@@ -219,6 +219,11 @@
           _selectISCSI(dialog);
           break;
         
