cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjaytripa...@apache.org
Subject [2/3] git commit: updated refs/heads/4.4 to eee8a04
Date Wed, 16 Apr 2014 10:30:12 GMT
CLOUDSTACK-6393: Add gpu details in Compute Offering detail view

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a0e6eff6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a0e6eff6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a0e6eff6

Branch: refs/heads/4.4
Commit: a0e6eff6e8ce94d4fae83a6f49deed77838b7a9b
Parents: 7e5757e
Author: Mihaela Stoica <mihaela.stoica@citrix.com>
Authored: Sat Apr 12 11:03:47 2014 +0100
Committer: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Committed: Wed Apr 16 15:31:44 2014 +0530

----------------------------------------------------------------------
 ui/scripts/configuration.js | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a0e6eff6/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index dd7f75b..61b8a99 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -835,6 +835,12 @@
                                     plannerMode: {
                                         label: 'Planner Mode'
                                     },                                    
+                                    pciDevice: {
+                                        label: 'GPU'
+                                    },
+                                    vgpuType: {
+                                        label: 'vGPU type'
+                                    },
                                     tags: {
                                         label: 'label.storage.tags'
                                     },
@@ -868,6 +874,11 @@
                                             	}
                                             }
                                                                                        
+                                            if (item.serviceofferingdetails != null) {
+                                                item.pciDevice = item.serviceofferingdetails.pciDevice;
+                                                item.vgpuType = item.serviceofferingdetails.vgpuType;
+                                            }
+
                                             args.response.success({
                                                 actionFitler: serviceOfferingActionfilter,
                                                 data: item


Mime
View raw message