Merge "show controllers in topology view show distinct icon for nova.scheduler type (controller)"

This commit is contained in:
Zuul 2018-01-07 10:47:29 +00:00 committed by Gerrit Code Review
commit 546014e7e4
2 changed files with 5 additions and 1 deletions

View File

@ -68,6 +68,7 @@ class Topolgy(generic.View):
'{"or": [{"==": {"vitrage_type": "openstack.cluster"}},' \
'{"==": {"vitrage_type": "nova.instance"}},' \
'{"==": {"vitrage_type": "nova.host"}},' \
'{"==": {"vitrage_type": "nova.scheduler"}},' \
'{"==": {"vitrage_type": "nova.zone"}}]}]}'
return vitrage.topology(request=request,

View File

@ -284,6 +284,9 @@
case 'nova.host':
icon = '\uf233'; //fa-server
break;
case 'nova.scheduler':
icon = '\uf0e4'; //fa-tachometer
break;
case 'nova.zone':
icon = '\uf279'; //fa-map
break;
@ -339,4 +342,4 @@
}
}
})();
})();