Skip to content

Commit

Permalink
Reladted-Bug:#1451785
Browse files Browse the repository at this point in the history
When the srcIP/destIp matches with the default 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
vishnuvv committed May 6, 2015
1 parent 935544b commit e1f6aa6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webroot/js/analyzer-utils.js
Original file line number Diff line number Diff line change
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 e1f6aa6

Please sign in to comment.