Vdisk
{{ $ctrl.volume.Vdisk }} |
+
+ IP |
+ {{ $ctrl.volume.IP}} |
+
+
+ Volume |
+ {{ $ctrl.volume.Volume}} |
+
+
+ DriveType |
+ {{ $ctrl.volume.DriveType}} |
+
+
+ Compression |
+ {{ $ctrl.volume.Compression}} |
+
+
+ Dedup |
+ {{ $ctrl.volume.Dedup}} |
+
+
+ Encryption |
+ {{ $ctrl.volume.Encryption}} |
+
+
+ Replication |
+ {{ $ctrl.volume.Replication}} |
+
+
+ Snapshot |
+ {{ $ctrl.volume.Snapshot}} |
+
+
+ Snapshot Interval |
+ {{ $ctrl.volume.SnapshotInterval}} |
+
+
+ Max Snapshots |
+ {{ $ctrl.volume.SnapshotMax}} |
+
+
+ Filesystem |
+ {{ $ctrl.volume.Filesystem}} |
+
Labels |
diff --git a/app/extensions/storidge/models/volume.js b/app/extensions/storidge/models/volume.js
index c2b300db5..d77f84a97 100644
--- a/app/extensions/storidge/models/volume.js
+++ b/app/extensions/storidge/models/volume.js
@@ -15,17 +15,17 @@ function StoridgeVolumeModel(data) {
this.Vdisk = data.vdisk;
this.Labels = data.labels;
- // this.IP = data.ipaddr;
- // this.Volume = data.volume;
- // this.DriveType = data.type;
- // this.Compression = data.compression;
- // this.Dedup = data.dedup;
- // this.Encryption = data.encryption;
- // this.Replication = data.replication;
- // this.Snapshot = data.snapshot;
- // this.SnapshotInterval = data.snap_interval;
- // this.SnapshotMax = data.snap_max;
- // this.Filesystem = data.filesystem;
+ this.IP = data.ipaddr;
+ this.Volume = data.volume;
+ this.DriveType = data.type;
+ this.Compression = data.compression;
+ this.Dedup = data.dedup;
+ this.Encryption = data.encryption;
+ this.Replication = data.replication;
+ this.SnapshotEnabled = data.snapshot;
+ this.SnapshotInterval = data.snapshotinterval;
+ this.SnapshotMax = data.snapshotmax;
+ this.Filesystem = data.filesystem;
}
function StoridgeVolumeUpdateModel(data) {
|