Extend plug-in functionality
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/63935428 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/63935428 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/63935428 Branch: refs/heads/sf-plugins Commit: 639354284fde4abf01727c08c0c27cf5666c806d Parents: 0d79e11 Author: Mike Tutkowski <[email protected]> Authored: Mon Jul 6 20:56:46 2015 -0600 Committer: Mike Tutkowski <[email protected]> Committed: Fri Sep 18 19:28:18 2015 -0600 ---------------------------------------------------------------------- ui/plugins/sfSharedVolume/sfSharedVolume.js | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/63935428/ui/plugins/sfSharedVolume/sfSharedVolume.js ---------------------------------------------------------------------- diff --git a/ui/plugins/sfSharedVolume/sfSharedVolume.js b/ui/plugins/sfSharedVolume/sfSharedVolume.js index ff16c91..99ad905 100644 --- a/ui/plugins/sfSharedVolume/sfSharedVolume.js +++ b/ui/plugins/sfSharedVolume/sfSharedVolume.js @@ -46,6 +46,41 @@ title: 'Add Shared Volume', desc: 'Please fill in the following data to add a new shared volume.', fields: { + name: { + docID: 'helpVolumeName', + label: 'label.name', + validation: { + required: true + } + }, + diskSize: { + label: 'label.disk.size.gb', + validation: { + required: true, + number: true + } + }, + minIops: { + label: 'label.disk.iops.min', + validation: { + required: false, + number: true + } + }, + maxIops: { + label: 'label.disk.iops.max', + validation: { + required: false, + number: true + } + }, + burstIops: { + label: 'Burst IOPS', + validation: { + required: false, + number: true + } + } } } }
