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 Wed, 14 Oct 2015 13:02:57 GMT
Github user nlivens commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/801#discussion_r41989725
  
    --- Diff: plugins/network-elements/nuage-vsp/src/com/cloud/network/resource/NuageVspResource.java
---
    @@ -393,9 +401,10 @@ private Answer executeRequest(DeallocateVmVspCommand cmd) {
         private Answer executeRequest(TrashNetworkVspCommand cmd) {
             try {
                 isNuageVspGuruLoaded();
    -            _nuageVspGuruClient.trash(cmd.getDomainUuid(), cmd.getNetworkUuid(), cmd.isL3Network(),
cmd.getVpcUuid());
    +            _nuageVspGuruClient.trash(cmd.getDomainUuid(), cmd.getNetworkUuid(), cmd.isL3Network(),
cmd.isSharedNetwork(), cmd.getVpcUuid(), cmd.getDomainTemplateName());
                 return new TrashNetworkVspAnswer(cmd, true, "Deleted Nuage VSP network mapping
to " + cmd.getNetworkUuid());
             } catch (Exception e) {
    --- End diff --
    
    Our client is using internal exceptions, which are not available in ACS, and which translated
to <code>Exception</code> before we return from the client. Therefore we need
to catch on <code>Exception</code>


---
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