Skip to content

Commit

Permalink
Merge "Related-bug:#1451538 changed the trace path maximum attempts t…
Browse files Browse the repository at this point in the history
…o 3 and interval to 5 in trace path request to intropsect"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 5, 2015
2 parents 664d2f4 + cf76966 commit fcb72f4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions webroot/monitor/infra/underlay/ui/js/monitor_infra_underlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -2311,6 +2311,8 @@ underlayView.prototype.renderTracePath = function(options) {
srcPort: dataItem['sport'] != null ? dataItem['sport'] : dataItem['src_port'],
destPort: dataItem['dport'] != null ? dataItem['dport'] : dataItem['dst_port'],
protocol: dataItem['protocol'],
maxAttempts: 3,
interval: 5,
};
//We are sending the VrfId of the flow for trace router request, in some cases like egress flows, the Vrf Id is in context with the
//current Vrouter introspect but we are issuing the trace route request to other vrouter,which throws error to fix these cases
Expand Down Expand Up @@ -2396,10 +2398,12 @@ underlayView.prototype.renderTracePath = function(options) {
*/
var postData = {
srcIP: dataItem['destip'] != null ? dataItem['destip'] : dataItem['dip'],
destIP: dataItem['sourceip'] != null ? dataItem['sourceip'] : dataItem['sip'],
srcPort: dataItem['dport'] != null ? dataItem['dport'] : dataItem['dst_port'],
destPort: dataItem['sport'] != null ? dataItem['sport'] : dataItem['src_port'],
protocol: dataItem['protocol'],
destIP: dataItem['sourceip'] != null ? dataItem['sourceip'] : dataItem['sip'],
srcPort: dataItem['dport'] != null ? dataItem['dport'] : dataItem['dst_port'],
destPort: dataItem['sport'] != null ? dataItem['sport'] : dataItem['src_port'],
protocol: dataItem['protocol'],
maxAttempts: 3,
interval: 5,
};
if(dataItem['direction_ing'] == 0 || dataItem['direction'] == 'egress') {
if($("#vrouterRadiobtn").is(':checked')) {
Expand Down

0 comments on commit fcb72f4

Please sign in to comment.