cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frankzh...@apache.org
Subject git commit: updated refs/heads/master to 6655d8f
Date Mon, 22 Sep 2014 22:21:06 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 3e6817c87 -> 6655d8f5b


CLOUDSTACK-6278
Baremetal Advanced Networking support


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

Branch: refs/heads/master
Commit: 6655d8f5b063276e62a3de2640cdc63b0d08721e
Parents: 3e6817c
Author: Frank Zhang <frank.zhang@citrix.com>
Authored: Mon Sep 22 15:24:54 2014 -0700
Committer: Frank Zhang <frank.zhang@citrix.com>
Committed: Mon Sep 22 15:24:54 2014 -0700

----------------------------------------------------------------------
 .../src/org/apache/cloudstack/api/AddBaremetalRctCmd.java         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6655d8f5/plugins/hypervisors/baremetal/src/org/apache/cloudstack/api/AddBaremetalRctCmd.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/baremetal/src/org/apache/cloudstack/api/AddBaremetalRctCmd.java
b/plugins/hypervisors/baremetal/src/org/apache/cloudstack/api/AddBaremetalRctCmd.java
index 2015fe5..4fc5d2c 100755
--- a/plugins/hypervisors/baremetal/src/org/apache/cloudstack/api/AddBaremetalRctCmd.java
+++ b/plugins/hypervisors/baremetal/src/org/apache/cloudstack/api/AddBaremetalRctCmd.java
@@ -25,6 +25,7 @@ import com.cloud.exception.InsufficientCapacityException;
 import com.cloud.exception.NetworkRuleConflictException;
 import com.cloud.exception.ResourceAllocationException;
 import com.cloud.exception.ResourceUnavailableException;
+import org.apache.cloudstack.acl.RoleType;
 import org.apache.cloudstack.context.CallContext;
 import org.apache.log4j.Logger;
 
@@ -34,7 +35,7 @@ import javax.inject.Inject;
  * Created by frank on 5/8/14.
  */
 @APICommand(name = "addBaremetalRct", description = "adds baremetal rack configuration text",
responseObject = BaremetalRctResponse.class,
-        requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
+        requestHasSensitiveInfo = false, responseHasSensitiveInfo = false, authorized = {RoleType.Admin})
 public class AddBaremetalRctCmd extends BaseAsyncCmd {
     private static final String s_name = "addbaremetalrctresponse";
     public static final Logger s_logger = Logger.getLogger(AddBaremetalRctCmd.class);


Mime
View raw message