cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8832 : Update Nuage VSP plugin...
Date Mon, 26 Oct 2015 19:45:37 GMT
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/801#discussion_r43042630
  
    --- Diff: plugins/network-elements/nuage-vsp/src/com/cloud/network/element/NuageVspElement.java
---
    @@ -395,65 +505,135 @@ public IpDeployer getIpDeployer(Network network) {
     
         @Override
         public boolean applyFWRules(Network network, List<? extends FirewallRule> rules)
throws ResourceUnavailableException {
    -        s_logger.debug("Handling applyFWRules for network " + network.getName() + " with
" + rules.size() + " FWRules");
    -        if (rules != null && rules.size() == 1 && rules.iterator().next().getType().equals(FirewallRuleType.System))
{
    -            s_logger.debug("Default ACL added by CS as system is ignored for network
" + network.getName() + " with rule " + rules);
    +        if (rules == null || rules.isEmpty()) {
                 return true;
             }
    -        return applyACLRules(network, rules, false);
    +
    +        if (rules.size() == 1 && rules.iterator().next().getType().equals(FirewallRuleType.System))
{
    +            if (s_logger.isDebugEnabled()) {
    +                s_logger.debug("Default ACL added by CS as system is ignored for network
" + network.getName() + " with rule " + rules);
    --- End diff --
    
    Should this message be a ``WARN`` severity?


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