[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043462#comment-15043462
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9106:
--------------------------------------------

Github user wilderrodrigues commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1179#discussion_r46761916
  
    --- Diff: 
plugins/network-elements/ovs/src/com/cloud/network/element/OvsElement.java ---
    @@ -468,19 +470,23 @@ public boolean applyStaticNats(final Network network, 
final List<? extends Stati
                 return true;
             }
     
    -        DataCenterVO dcVO = _dcDao.findById(network.getDataCenterId());
    -        NetworkTopology networkTopology = 
_networkTopologyContext.retrieveNetworkTopology(dcVO);
    -
    -        return networkTopology.applyStaticNats(network, rules, routers);
    +        final DataCenterVO dcVO = 
_dcDao.findById(network.getDataCenterId());
    +        final NetworkTopology networkTopology = 
_networkTopologyContext.retrieveNetworkTopology(dcVO);
    +        boolean result = false;
    +        for (final DomainRouterVO domainRouterVO : routers) {
    +            result = networkTopology.applyStaticNats(network, rules, 
domainRouterVO);
    --- End diff --
    
    Good point. Thought about that when I was coding, but not on the Ovs one. 
If you look, I did the same on other places. To be honest, I just forgot to 
change. When I changed first time and thought  about that, I just gave it a run 
because I was trying to narrow down the problem. 6 hours later, when I got it 
working, I forgot to change.
    
    I can change that tomorrow... os later tonight. Or we can get this one 
through and fix it on Monday, since the PR/Feature will be already in. I just 
want to get through the feature release.
    
    Spent the whole day behind the mac. If I do 30min tomorrow, wife will kill 
me. :D


> As a Developer I want the Redundant VPC private gateway feature fixed
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9106
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Virtual Router
>    Affects Versions: 4.6.0
>            Reporter: Wilder Rodrigues
>            Assignee: Wilder Rodrigues
>             Fix For: 4.7.0
>
>
> Bug in BasicNetworkTopology.applyRules() method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to