Skip to content

Commit

Permalink
Related-Bug:#1443460
Browse files Browse the repository at this point in the history
Setting the map flow response,which will be used for deciding the arrow head position in trace flow

Change-Id: Iad314c761d449913112718c10aff18325a9e215b
  • Loading branch information
vishnuvv committed May 8, 2015
1 parent 378d710 commit 82ec1a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions webroot/css/contrail.custom.css
Expand Up @@ -2768,6 +2768,11 @@ color: #b94a48;
stroke:#85b9dd!important;
stroke-width:3;
}
.connection-wrap-down {
fill: none;
stroke:#85b9dd!important;
stroke-width:3;
}
.display-nonodes{
margin:15%;
font-weight:bold;
Expand Down
5 changes: 4 additions & 1 deletion webroot/js/analyzer-utils.js
Expand Up @@ -614,7 +614,10 @@ function showUnderlayPaths(data) {
data : {data: params},
callback : function(response) {
$("#network_topology").find('.topology-visualization-loading').hide();
underlayRenderer.getView().highlightPath(response, {data: params});
if(typeof underlayRenderer === 'object') {
underlayRenderer.getModel().setFlowPath(response);
underlayRenderer.getView().highlightPath(response, {data: params});
}
},
failureCallback: function(err) {
$("#network_topology").find('.topology-visualization-loading').hide();
Expand Down

0 comments on commit 82ec1a1

Please sign in to comment.