cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [01/13] git commit: updated refs/heads/4.3 to 15ded4f
Date Mon, 24 Nov 2014 18:25:57 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.3 cef29cc81 -> 15ded4fdd


CLOUDSTACK-6463: password is not set for VMs created from password enabled template

(cherry picked from commit 2284a95e4f29b3b8634468b53d3c28395d264038)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/4.3
Commit: e25690ca8311e5af3003530e839f7a926f72f74a
Parents: 421137d
Author: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Authored: Mon Apr 21 12:14:22 2014 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Mon Nov 24 21:13:13 2014 +0530

----------------------------------------------------------------------
 api/src/com/cloud/vm/VirtualMachineProfile.java | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e25690ca/api/src/com/cloud/vm/VirtualMachineProfile.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/vm/VirtualMachineProfile.java b/api/src/com/cloud/vm/VirtualMachineProfile.java
index 3da8397..cca92ba 100644
--- a/api/src/com/cloud/vm/VirtualMachineProfile.java
+++ b/api/src/com/cloud/vm/VirtualMachineProfile.java
@@ -54,6 +54,23 @@ public interface VirtualMachineProfile {
         public String getName() {
             return name;
         }
+
+        @Override
+        public int hashCode() {
+            return this.getName() != null ? this.getName().hashCode() : 0;
+        }
+
+        @Override
+        public boolean equals(Object obj) {
+            if (this == obj)
+                return true;
+            if (obj == null)
+                return false;
+            if (getClass() != obj.getClass())
+                return false;
+            Param other = (Param) obj;
+            return (other.getName().equals(this.getName()));
+        }
     }
 
     String getHostName();


Mime
View raw message