Skip to content

Commit

Permalink
Merge "Reladted-Bug:#1451785 When the srcIP/destIp matches with the d…
Browse files Browse the repository at this point in the history
…efault gateway or DNS server then we are not showing any path in UI,now we will display a link to vRouter and back to the same VM to handle this case need to send the nodeIP to webserver Change-Id: Iaa90d4232065d2265cf7540f1da1d72bb5eff706"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 6, 2015
2 parents c264a59 + e1f6aa6 commit 378d710
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webroot/js/analyzer-utils.js
Expand Up @@ -586,7 +586,13 @@ function showUnderlayPaths(data) {
params.sport = data.sport;
params.dport = data.dport;
params.protocol = data.protocol;
params.direction = (data.direction_ing === 0) ? "egress" : "ingress";
if(data.direction_ing === 0) {
params.direction = 'egress';
params.nodeIp = data.other_vrouter_ip;
} else {
params.direction = 'ingress';
params.nodeIp = data.vrouter_ip;
}
if(data.hasOwnProperty('startTime') && data.hasOwnProperty('endTime')) {
params['startTime'] = data['startTime'];
params['endTime'] = data['endTime'];
Expand Down

0 comments on commit 378d710

Please sign in to comment.