Merge "show controllers in topology view show distinct icon for nova.scheduler type (controller)"
This commit is contained in:
commit
546014e7e4
@ -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,
|
||||
|
@ -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 @@
|
||||
}
|
||||
}
|
||||
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user