blob: 51b3aa619f318154778870e3c6dc69612384d96d [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,
Paul Greysonda293172013-04-11 10:28:26 -070028 aggregation: 16,
29 core: 20
Paul Greyson30636252013-04-09 15:22:04 -070030}