-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnode_config.xml
67 lines (67 loc) · 3.16 KB
/
node_config.xml
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
<form>
<label>Node Editor</label>
<description>This interface allows you to configure retirements, backup delays and groups for nodes.</description>
<fieldset submitButton="false">
<input type="dropdown" token="tsmserver" searchWhenChanged="true">
<label>TSM Server</label>
<search>
<query>| inputlookup nodeinfo | where isnull(DEL_TIME) | search NODE_NAME=$node$ CONTACT=$contact$ | dedup tsmserver | sort tsmserver</query>
</search>
<choice value="*">All</choice>
<default>*</default>
<fieldForLabel>tsmserver</fieldForLabel>
<fieldForValue>tsmserver</fieldForValue>
</input>
<input type="dropdown" token="node" searchWhenChanged="true">
<label>Node Name</label>
<search>
<query>| inputlookup nodeinfo | where isnull(DEL_TIME) | search tsmserver=$tsmserver$ CONTACT=$contact$ | dedup NODE_NAME | sort NODE_NAME</query>
</search>
<choice value="*">All</choice>
<default>*</default>
<fieldForLabel>NODE_NAME</fieldForLabel>
<fieldForValue>NODE_NAME</fieldForValue>
</input>
<input type="dropdown" token="contact" searchWhenChanged="true">
<label>Contact</label>
<search>
<query>| inputlookup nodeinfo | where isnull(DEL_TIME) | search tsmserver=$tsmserver$ NODE_NAME=$node$ | dedup CONTACT | sort CONTACT</query>
</search>
<choice value="*">All</choice>
<default>*</default>
<fieldForLabel>CONTACT</fieldForLabel>
<fieldForValue>CONTACT</fieldForValue>
</input>
</fieldset>
<row>
<panel>
<title></title>
<viz type="edittable.edittable">
<search>
<query>| inputlookup nodeinfo
| where isnull(DEL_TIME)
| search tsmserver=$tsmserver$ NODE_NAME=$node$ CONTACT=$contact$
| rename tsmserver AS "TSM Server" NODE_NAME AS Node CONTACT AS Contact USER_GROUP AS "User Group" USER_SUBGROUP AS "User Subgroup" BACKUP_CYCLE AS "Backup Cycle" ALERTS_DEFAULT AS "Default Alert State" EXPIRE_TIME AS "Expiration Date" RETIRE_TIME AS "Retirement Date" RETIRE_COMMENT AS "Retirement Comment"
| table "TSM Server" Node Contact "User Group" "User Subgroup" "Backup Cycle" "Default Alert State" "Expiration Date" "Retirement Date" "Retirement Comment"
| sort Contact Node</query>
</search>
<option name="edittable.edittable.lookup">nodeinfo</option>
<option name="edittable.edittable.cellConfig">[
{ "fieldname": "tsmserver", "readonly": true },
{ "fieldname": "NODE_NAME", "readonly": true },
{ "fieldname": "CONTACT", "readonly": true },
{ "fieldname": "USER_GROUP" },
{ "fieldname": "USER_SUBGROUP" },
{ "fieldname": "BACKUP_CYCLE", "required": true, "numeric": { "min": 1 } },
{ "fieldname": "ALERTS_DEFAULT", "dropdown": [
{ "label": "No", "value": "NO" },
{ "label": "Yes", "value": "YES" }
]},
{ "fieldname": "EXPIRE_TIME", "datepicker": { } },
{ "fieldname": "RETIRE_TIME", "datepicker": { } },
{ "fieldname": "RETIRE_COMMENT", "css": { "width": "300px" } }
]</option>
</viz>
</panel>
</row>
</form>