blob: 0ef088244788470f6cdca73139f4ae148f634f3d [file] [log] [blame]
Paul Greyson7a300822013-04-09 12:57:49 -07001/***************************************************************************************************
2timeout used by controller functions. after the timeout expires the "pending" action
3is removed and the topology view is whatever is reported by the API
4***************************************************************************************************/
5var pendingTimeout = 30000;
6
7/***************************************************************************************************
8CSS names for the pallette of colors used by the topology view
9***************************************************************************************************/
10var colors = [
11 'color1',
12 'color2',
13 'color3',
14 'color4',
15 'color7',
16 'color8',
17 'color9',
18// 'color11',
19 'color12'
20];
Paul Greyson30636252013-04-09 15:22:04 -070021colors.reverse();
22
23/***************************************************************************************************
24Widths of each switch type
25***************************************************************************************************/
26var widths = {
27 edge: 6,
28 aggregation: 12,
29 core: 18
30}