-
Notifications
You must be signed in to change notification settings - Fork 1
/
oargridgantt.conf
executable file
·179 lines (153 loc) · 4.93 KB
/
oargridgantt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
---
##############################
# Oargridgantt configuration.
##############################
#
# This is a YAML formated file
#
# WARNING: don't use tab for indentation ONLY space char !!!!!!
#
#
#First specific configuration for each site (overwrite common configuration)
#
main_page:
title: 'OarGridGantt'
default_range: '1 day'
directory: 'gridstatus'
web_icons_directory: 'Icons'
web_path_js_directory: 'js'
sites_displaying_order:
- 'grenoble'
- 'lyon'
- 'nancy'
- 'rennes'
- 'sophia'
sites:
rennes:
server: 'www.rennes.grid5000.fr'
path_cgi: 'oar/Rennes/drawgantt-grid.cgi'
url_base_image: 'https://helpdesk.grid5000.fr'
url_monika: 'https://helpdesk.grid5000.fr/oar/Rennes/monika.cgi'
lyon:
server: 'www.lyon.grid5000.fr'
path_cgi: 'oar/Lyon/drawgantt-grid.cgi'
url_base_image: 'https://helpdesk.grid5000.fr'
url_monika: 'https://helpdesk.grid5000.fr/oar/Lyon/monika.cgi'
nancy:
server: 'www.nancy.grid5000.fr'
path_cgi: 'oar/Nancy/drawgantt-grid.cgi'
url_base_image: 'https://helpdesk.grid5000.fr'
url_monika: 'https://helpdesk.grid5000.fr/oar/Nancy/monika.cgi'
grenoble:
server: 'www.grenoble.grid5000.fr'
path_cgi: 'oar/Grenoble/drawgantt-grid.cgi'
url_base_image: 'https://helpdesk.grid5000.fr'
url_monika: 'https://helpdesk.grid5000.fr/oar/Grenoble/monika.cgi'
sophia:
server: 'frontend.sophia.grid5000.fr'
path_cgi: 'oar/sophia/drawgantt-grid.cgi'
url_base_image: 'https://helpdesk.grid5000.fr'
url_monika: 'https://helpdesk.grid5000.fr/oar/Sophia/monika.cgi'
##############################
# Common configuration.
##############################
##############################################################################
## visual settings
##############################################################################
sizex: 1000
# sizey: 600
offsetgridy: 30
left_offsetgridx: 140
right_offsetgridx: 15
tics_node: 10
points_per_cpu: 1
#background: '#000000'
#gridcolor: '#C0C0C0'
background: '#FFFFFF'
gridcolor: '#101010'
default_range: '1 day'
#default_range: '3 days'
#default_hour: '12:00' #NOT YET IMPLEMENTED
##############################################################################
## control job display by size area
##############################################################################
#xratio: ratio between sizex / jobx
xratio: 100
#number of contiguous resources
nb_cont_res: 4
##############################################################################
## box and default BestEffort Job drawing setting
##############################################################################
#NOT YET IMPLEMENTED
#drawBestEffortbox: yes
drawBestEffortbox: no
#drawBestEffortDefault: BestEffort
##############################################################################
## resources sorting and labelling label displaying and sorting
##############################################################################
#
# Principles:
#
# First, you need sorting and labelling parameter for each type of resource
# (the type be default is "default")
#
# Second, groups of even typed resources is order according to the order
# of parameter subsections below.
#
# Third : two resource field properties (from oar database) can be used for
# resources sorting and labbelling.
#
# Fourth for sorting, regular expressions must be given to extract
# matching expressions for sorting. Sorting can be numerical, string or
# natural ordered. Default setting is natural order.
#
# Fifth for labelling, regular expressions must be also given to extract
# matching expressions for display.
#
# Popular regular expressions
## - ex: regex: "(\d+)" ie extract the first number from the left in nodenames
## - ex: regex: ([^.]+) ie to extract the short hostname.
## - ex: regex: (.+) ie to keep the whole word if really needed.
##
## sub-subsection is separated by "-", indentation is sensitive and must be
## provide by space and NOT tab character.
##
sort_label_conf:
-
type: "default"
# the two resource field properties
first_field_property: "network_address"
second_field_property: "cpu"
#sorting
first_sorting_order: "natural"
first_sorting_regex: "(.+)"
second_sorting_order: "numerical"
second_sorting_regex: "(\d+)"
#labelling
first_displaying_regex: "([^.]+)"
separator: ""
second_displaying_regex: "()"
-
type: "mathlab"
# the two resource field properties
first_field_property: "type"
second_field_property: "cpu"
#sorting
first_sorting_order: "string"
first_sorting_regex: "(.+)"
second_sorting_order: "numerical"
second_sorting_regex: "(\d+)"
#labelling
first_displaying_regex: "(.+)"
separator: "#"
second_displaying_regex: "(\d+)"
##############################################################################
## display properties' resource hierarchy
##############################################################################
#
# Select properties to display
prop_hierarchy:
- cluster
- network_address
# - cpu
# - core