cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nlivens <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8832 : Update Nuage VSP plugin...
Date Tue, 27 Oct 2015 07:57:51 GMT
Github user nlivens commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/801#discussion_r43091944
  
    --- Diff: plugins/network-elements/nuage-vsp/src/com/cloud/agent/api/PingNuageVspCommand.java
---
    @@ -17,18 +17,37 @@
     // under the License.
     //
     
    -package com.cloud.agent.api.element;
    +package com.cloud.agent.api;
     
    -import com.cloud.agent.api.Answer;
    +import com.cloud.host.Host;
     
    -public class ShutDownVpcVspAnswer extends Answer {
    +public class PingNuageVspCommand extends PingCommand {
     
    -    public ShutDownVpcVspAnswer(ShutDownVpcVspCommand cmd, boolean success, String details)
{
    -        super(cmd, success, details);
    +    private final boolean shouldAudit;
    +
    +    public PingNuageVspCommand(Host.Type type, long id, boolean shouldAudit) {
    +        super(type, id);
    +        this.shouldAudit = shouldAudit;
         }
     
    -    public ShutDownVpcVspAnswer(ShutDownVpcVspCommand cmd, Exception e) {
    -        super(cmd, e);
    +    public boolean shouldAudit() {
    +        return shouldAudit;
         }
     
    +    @Override
    +    public boolean equals(Object o) {
    --- End diff --
    
    Added attributes from the <code>PingCommand</code> super class.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message