aboutsummaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/ClosedLoopFaultPolicyTemplate.html
blob: d3700c94bb32fda1c4555798389b97eece1aaa1d (plain)
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
<div ng-controller="clFaultController">
	<form>
		<div class="well">
			<div class="form-group row">
				<div class="form-group col-sm-6">
					<label>Policy Name:<sup><b>*</b></sup></label> <input type="text"
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-readonly="temp.policy.editPolicy"
						ng-model="temp.policy.policyName" required pattern="\S+"
						title="Enter Policy Name without any spaces and special characters and will accept _." />
				</div>
				<div class="form-group col-sm-6">
					<label>Description:</label> <input type="text" class="form-control"
						ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.policyDescription" 
						title="Description field will accept any type of data."/>
				</div>
			</div>
			<div class="form-group row">
				<div class="form-group col-sm-3">
					<label>Risk Type:<sup><b>*</b></sup></label> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.riskType"
						ng-options="option for option in riskTypeDictionaryDatas track by option"
						required pattern="\S+" title="Select the dropdown value driven from RiskType (Safe Policy)Dictionary."></select>
				</div>
				<div class="form-group col-sm-3">
					<label>Risk Level:<sup><b>*</b></sup></label> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.riskLevel"
						required pattern="\S+" title="Select the dropdown Risk level value.">
						<option>1</option>
						<option>2</option>
						<option>3</option>
						<option>4</option>
						<option>5</option></select>
				</div>
				<div class="form-group col-sm-3">
					<label>Guard:<sup><b>*</b></sup></label> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.guard"
						required pattern="\S+" title="Select the dropdown Guard value.">
						<option>True</option>
						<option>False</option></select>
				</div>
				<div class="form-group col-sm-3">
					<label>Onap Name:<sup><b>*</b></sup></label> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.onapName"
						ng-options="option for option in onapNameDictionaryDatas track by option"
						required pattern="\S+" title="Select the dropdown value driven from OnapName (common)Dictionary."></select>
				</div>
			</div>
			<div class="form-group row">
				<div class="form-group col-sm-3">
					<label>Vnf Type:<sup><b>*</b></sup></label> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.vnfType"
						ng-options="option for option in vnfTypeDictionaryDatas  track by option"
						title="Select the dropdown value driven from VNF Type (ClosedLoop Policy)Dictionary.">
						<option value="">{{temp.policy.jsonBodyData.vnfType}}</option>
					</select>
				</div>
				<div class="form-group col-sm-3">
					<label>Policy Status:<sup><b>*</b></sup></label> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-init="init(temp.policy.jsonBodyData);"
						ng-model="temp.policy.jsonBodyData.closedLoopPolicyStatus"
						title="Select the value from dropdown.">
						<option value="Active">Active</option>
						<option>InActive</option>
					</select>
				</div>
				<div class="form-group col-sm-3">
					<label>D2/Virtualized Services(s):<sup><b>*</b></sup></label><br>
					<input type="checkbox" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.trinity"> Hosted Voice
					(Trinity)</input> <input type="checkbox" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.vUSP"> vUSP</input> <input
						type="checkbox" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.mcr"> MCR</input> <input
						type="checkbox" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.gamma"> Gamma</input> <input
						type="checkbox" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.vDNS"> vDNS</input>
				</div>
				<div class="form-group col-sm-3">
					<label>Time to Live Date:</label> <input type="text" id="ttlDate"
						class="form-control" name="ttlDate" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.ttlDate" title="Select the date from calender onclick on the field."/>
				</div>
			</div>
		</div>
		<div class="well">
			<div>
				<label>Trigger Signature:</label><br>
				<form>
					<div class="form-group row">
						<div class="form-group col-sm-1">
							<button type="button" class="btn btn-default"
								ng-disabled="temp.policy.readOnly" ng-click="addTriggerButton()"
								title="onClick Trigger Signature Trap row is added.">
								<i class="fa fa-plus"></i>
							</button>
							<button type="button" class="btn btn-default"
								ng-disabled="temp.policy.readOnly"
								ng-click="removeTriggerButton()"
								title="onClick Trigger Signature Trap row is removed.">
								<i class="fa fa-minus"></i>
							</button>
						</div>
					</div>
					<div class="form-group row">
						<div data-ng-repeat="choice in temp.policy.traptriggerSignatures">
							<div class="form-group row" style="margin-left: 2%">
								<div class="form-group col-sm-3">
									<label ng-model="choice.label" name="label">{{choice.id}}</label>
									<button type="button" class="btn btn-default"
										ng-disabled="temp.policy.readOnly"
										ng-click="addTrapTriggerButton(choice.id)"
										title="onClick Trap Signature row is added.">
										<i class="fa fa-plus"></i>
									</button>
									<button type="button" class="btn btn-default"
										ng-disabled="temp.policy.readOnly"
										ng-click="removeTrapTriggerButton(choice.id)"
										title="onClick Trap Signature row is removed.">
										<i class="fa fa-minus"></i>
									</button>
								</div>
							</div>
							<div class="form-group row">
								<div
									data-ng-repeat="choice in temp.policy.triggerTrapSignatures[choice.id]">
									<div class="form-group row" style="margin-left: 4%">
										<div class="form-group col-sm-1">
											<label ng-model="choice.label" name="label">{{choice.id}}</label>
										</div>
										<div class="form-group col-sm-1">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly" ng-model="choice.notBox"
												name="notBox"><option>NOT</option></select>
										</div>
										<div class="form-group col-sm-4">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly"
												ng-model="choice.trigger1"
												ng-options="option for option in varbindDictionaryDatas track by option"
												title="Select the dropdown value driven from Varbind (ClosedLoop)Dictionary.">
												<option value="">{{choice.trigger1}}</option>
											</select>
										</div>
										<div class="form-group col-sm-1">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly"
												ng-model="choice.operatorBox" name="operatorBox"><option>AND</option>
												<option>OR</option></select>
										</div>
										<div class="form-group col-sm-4">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly"
												ng-model="choice.trigger2"
												ng-options="option for option in varbindDictionaryDatas track by option"
												title="Select the dropdown value driven from Varbind (ClosedLoop)Dictionary.">
												<option value="">{{choice.trigger2}}</option>
											</select>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
			</br>
			<div>
				<label>Connect Traps:</label><br>
				<div class="form-group row">
					<div class="form-group col-sm-1">
						<button type="button" class="btn btn-default"
							ng-disabled="temp.policy.readOnly"
							ng-click="addTriggerConnectButton()" title="onClick Connect Trap Trigger Signature row is added.">
							<i class="fa fa-plus"></i>
						</button>
					</div>
				</div>
				<div class="form-group row">
					<div
						data-ng-repeat="choice in temp.policy.connecttriggerSignatures">
						<div class="form-group row" style="margin-left: 2%">
							<div class="form-group col-sm-1">
								<label ng-model="choice.label" name="label">{{choice.id}}</label>
							</div>
							<div class="form-group col-sm-1">
								<select class="form-control" ng-disabled="temp.policy.readOnly"
									ng-model="choice.notBox" name="notBox"><option>NOT</option></select>
							</div>
							<div class="form-group col-sm-1">
								<select ng-disabled="temp.policy.readOnly"
									ng-model="choice.connectTrap1" class="form-control"
									ng-options="option for option in connectTriggerTrapsList track by option"
									title="Select the traps to form rule formation.">
									<option value="">{{choice.connectTrap1}}</option>
								</select>
							</div>
							<div class="form-group col-sm-1">
								<input type="text" ng-disabled="temp.policy.readOnly"
									ng-model="choice.trapCount1" name="trapCount1"
									class="form-control" />
							</div>
							<div class="form-group col-sm-1">
								<select class="form-control" ng-disabled="temp.policy.readOnly"
									ng-model="choice.operatorBox" name="operatorBox"><option>AND</option>
									<option>OR</option></select>
							</div>
							<div class="form-group col-sm-1">
								<select class="form-control" ng-disabled="temp.policy.readOnly"
									ng-model="choice.connectTrap2"
									ng-options="option for option in connectTriggerTrapsList track by option"
									title="Select the traps to form rule formation.">
									<option value="">{{choice.connectTrap2}}</option>
								</select>
							</div>
							<div class="form-group col-sm-1">
								<input type="text" ng-disabled="temp.policy.readOnly"
									ng-model="choice.trapCount2" name="trapCount1"
									class="form-control" />
							</div>
							<div class="form-group col-sm-1">
								<button type="button" class="btn btn-default" ng-show="$last"
									ng-disabled="temp.policy.readOnly"
									ng-click="removeTriggerConnectButton()" title="onClick Connect Trap Trigger Signature row is removed.">
									<i class="fa fa-minus"></i>
								</button>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group row">
				<div class="form-group col-sm-2">
					<label>Clear TimeOut:
					</label><br> <input type="text" ng-disabled="triggerdisabled"
						ng-model="temp.policy.clearTimeOut" class="form-control" title="Enter the Cleartimeout value and the value should be numeric."/>
				</div>
				<div class="form-group col-sm-2">
					<label>Trap Max Age:</label><br> <input
						type="text" ng-disabled="triggerdisabled"
						ng-model="temp.policy.trapMaxAge" class="form-control"
						ng-init="temp.policy.jsonBodyData.trapMaxAge='300'" value="300" title="Enter the Trap Max Age value and the value should be numeric."/>
				</div>
			</div>
		</div>
		<div class="well">
			<div class="form-group row">
				<label>VSCL Action:<sup><b>*</b></sup></label><br>
				<div class="form-group col-sm-4">
					<label>vPRO Actions:<sup><b>*</b></sup></label><br> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.actions"
						ng-options="option for option in vsclActionDictionaryDatas  track by option"
						title="Select the dropdown value driven from VSCL Action (ClosedLoop)Dictionary.">
						<option value="">{{temp.policy.jsonBodyData.actions}}</option>
					</select>
				</div>
				<div class="form-group col-sm-2">
					<label>Time Interval:<sup><b>*</b></sup>
					</label><br> <input type="text" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.timeInterval"
						class="form-control" required title="Enter the Time Interval value and the value should be numeric."/>
				</div>
				<div class="form-group col-sm-2">
					<label>App-C TimeOut:<sup><b>*</b></sup></label><br> <input
						type="text" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.timeOutvPRO"
						class="form-control" required title="Enter the App-C Timeout value and the value should be numeric."/>
				</div>
				<div class="form-group col-sm-2">
					<label>TimeOut for Ruby:<sup><b>*</b></sup></label><br> <input
						type="text" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.timeOutRuby"
						class="form-control" required title="Enter the Timeout for Ruby value and the value should be numeric."/>
				</div>
				<div class="form-group col-sm-2">
					<label>Number of Retries:<sup><b>*</b></sup></label><br> <input
						type="text" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.retrys" class="form-control"
						required title="Enter the Number of retries value and the value should be numeric."/>
				</div>
			</div>
			<div class="form-group row">
				<div class="form-group col-sm-4">
					<label>Aging Window:<sup><b>*</b></sup>
					</label><br> <input type="text" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.agingWindow"
						class="form-control" required title="Enter the Aging Window value and the value should be numeric."/>
				</div>
				<div class="form-group col-sm-4">
					<label>Text to Include in UEB messages for AOTS ticket and
						Geo Link:</label><br> <input type="text"
						ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.geoLink" class="form-control"
						required title="Enter the UEB Message value."/>
				</div>
				<div class="form-group col-sm-4">
					<label>Email Address:</label><br> <input type="text"
						ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.emailAddress"
						class="form-control" required title="Enter the email address for multiple use comma seperated value."/>
				</div>
			</div>
		</div>
		<div class="well">
			<div class="form-group row">
				<label>PEP:<sup><b></b></sup></label><br>
				<div class="form-group col-sm-3">
					<label>PEP Options:<sup><b></b></sup></label><br> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.pepName"
						ng-options="option for option in pepOptionsDictionaryDatas  track by option"
						ng-change="getPepActionValues(temp.policy.jsonBodyData.pepName)"
						title="Select the dropdown value driven from PEP Options (ClosedLoop)Dictionary.">
						<option value="">{{temp.policy.jsonBodyData.pepName}}</option>
					</select></select></select>
				</div>
				<div class="form-group col-sm-3">
					<label>Actions:<sup><b></b></sup></label><br> <select
						class="form-control" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.pepAction"
						ng-options="option for option in pepActionDictionaryDatas  track by option"
						title="Select the dropdown value driven based on PEP Options selection from PEP Options (ClosedLoop)Dictionary.">
						<option value="">{{temp.policy.jsonBodyData.pepAction}}</option>
					</select>
				</div>
			</div>
		</div>
		<div class="well">
			<div>
				<label>Verification Signature:</label><br>
				<form>
					<div class="form-group row">
						<div class="form-group col-sm-1">
							<button type="button" class="btn btn-default"
								ng-disabled="temp.policy.readOnly"
								ng-click="addVerFaultButton()"
								title="onClick Verification Signature Fault row is added.">
								<i class="fa fa-plus"></i>
							</button>
							<button type="button" class="btn btn-default"
								ng-disabled="temp.policy.readOnly"
								ng-click="removeVerFaultButton()"
								title="onClick Verification Signature Fault row is removed.">
								<i class="fa fa-minus"></i>
							</button>
						</div>
					</div>
					<div class="form-group row">
						<div data-ng-repeat="choice in temp.policy.faulttriggerSignatures">
							<div class="form-group row" style="margin-left: 2%">
								<div class="form-group col-sm-3">
									<label ng-model="choice.label" name="label">{{choice.id}}</label>
									<button type="button" class="btn btn-default"
										ng-disabled="temp.policy.readOnly"
										ng-click="addVerTriggerButton(choice.id)"
										title="onClick Fault Signature row is added.">
										<i class="fa fa-plus"></i>
									</button>
									<button type="button" class="btn btn-default"
										ng-disabled="temp.policy.readOnly"
										ng-click="removeVerTriggerButton(choice.id)"
										title="onClick Fault Signature row is removed.">
										<i class="fa fa-minus"></i>
									</button>
								</div>
							</div>
							<div class="form-group row">
								<div
									data-ng-repeat="choice in temp.policy.triggerfaultSignatures[choice.id]">
									<div class="form-group row" style="margin-left: 4%">
										<div class="form-group col-sm-1">
											<label ng-model="choice.label" name="label">{{choice.id}}</label>
										</div>
										<div class="form-group col-sm-1">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly" ng-model="choice.notBox"
												name="notBox"><option>NOT</option></select>
										</div>
										<div class="form-group col-sm-4">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly"
												ng-model="choice.trigger1"
												ng-options="option for option in varbindDictionaryDatas track by option"
												title="Select the dropdown value driven from Varbind (ClosedLoop)Dictionary.">
												<option value="">{{choice.trigger1}}</option>
											</select>
										</div>
										<div class="form-group col-sm-1">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly"
												ng-model="choice.operatorBox" name="operatorBox"><option>AND</option>
												<option>OR</option></select>
										</div>
										<div class="form-group col-sm-4">
											<select class="form-control"
												ng-disabled="temp.policy.readOnly"
												ng-model="choice.trigger2"
												ng-options="option for option in varbindDictionaryDatas track by option"
												title="Select the dropdown value driven from Varbind (ClosedLoop)Dictionary.">
												<option value="">{{choice.trigger2}}</option>
											</select>
										</div>
									</div>
								</div>
							</div>
						</div>
				</form>
			</div>
			</br>
			<div>
				<label>Connect All Faults:</label><br>
				<div class="form-group row">
					<div class="form-group col-sm-1">
						<button type="button" class="btn btn-default"
							ng-disabled="temp.policy.readOnly"
							ng-click="addFaultConnectButton()" title="onClick Connect Fault Verification Signature row is added.">
							<i class="fa fa-plus"></i>
						</button>
					</div>
				</div>
				<div class="form-group row">
					<div
						data-ng-repeat="choice in temp.policy.connectVerificationSignatures">
						<div class="form-group row" style="margin-left: 2%">
							<div class="form-group col-sm-1">
								<label ng-model="choice.label" name="label">{{choice.id}}</label>
							</div>
							<div class="form-group col-sm-1">
								<select class="form-control" ng-disabled="temp.policy.readOnly"
									ng-model="choice.notBox" name="notBox"><option>NOT</option></select>
							</div>
							<div class="form-group col-sm-1">
								<select ng-disabled="temp.policy.readOnly"
									ng-model="choice.connectTrap1" class="form-control"
									ng-options="option for option in connectTriggerFaultsList track by option"
									title="Select the faults to form rule formation.">
									<option value="">{{choice.connectTrap1}}</option>
								</select>
							</div>
							<div class="form-group col-sm-1">
								<input type="text" ng-disabled="temp.policy.readOnly"
									ng-model="choice.trapCount1" name="trapCount1"
									class="form-control" />
							</div>
							<div class="form-group col-sm-1">
								<select class="form-control" ng-disabled="temp.policy.readOnly"
									ng-model="choice.operatorBox" name="operatorBox"><option>AND</option>
									<option>OR</option></select>
							</div>
							<div class="form-group col-sm-1">
								<select ng-disabled="temp.policy.readOnly"
									ng-model="choice.connectTrap2" class="form-control"
									ng-options="option for option in connectTriggerFaultsList track by option"
									title="Select the faults to form rule formation.">
									<option value="">{{choice.connectTrap2}}</option>
								</select>
							</div>
							<div class="form-group col-sm-1">
								<input type="text" ng-disabled="temp.policy.readOnly"
									ng-model="choice.trapCount2" name="trapCount1"
									class="form-control" />
							</div>
							<div class="form-group col-sm-1">
								<button type="button" class="btn btn-default" ng-show="$last"
									ng-disabled="temp.policy.readOnly"
									ng-click="removeFaultConnectButton()" title="onClick Connect Fault Verification Signature row is removed.">
									<i class="fa fa-minus"></i>
								</button>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group row">
				<div class="form-group col-sm-2">
					<label>Clear TimeOut:</label><br> <input
						type="text" ng-disabled="verificationdisabled"
						ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.verificationclearTimeOut"
						class="form-control" required title="Enter the Cleartimeout value and the value should be numeric."/>
				</div>
			</div>
		</div>
		<div class="well">
			<div>
				<label>Additional Conditions: If current VM status in A&AI
					is in Maintenance then the Control Loop will not execute the Action
					and shall<sup><b>*</b></sup>
				</label><br>
				<p>
					<input type="radio" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.conditions" name="radSize"
						id="sizeSmall" value="SEND" checked="checked" /><label
						for="sizeSmall">DCAE should send event notification</label> <input
						type="radio" ng-disabled="temp.policy.readOnly"
						ng-model="temp.policy.jsonBodyData.conditions" name="radSize"
						id="sizeMed" value="NOTSEND" /><label for="sizeMed">DCAE
						should not send event notification</label>
				</p>
			</div>
		</div>
		<br />
		<div id="validate" style="width: 70%"></div>
		<br>
		<div class="modal-footer">
			<button class="btn btn-primary" herf="javascript:void(0)"
				ng-disabled="temp.policy.readOnly"
				ng-click="validatePolicy(temp.policy);" title="Validate the data entered in the Policy fields.">Validate</button>
			<button class="btn btn-success" herf="javascript:void(0)"
				ng-disabled="savebutton" ng-disabled="temp.policy.readOnly"
				ng-click="saveFaultPolicy(temp);" title="Save the Policy with validated data.">Save</button>
			<button type="button" class="btn btn-default" ng-click="refresh();" title="Close the template.">Close</button>
		</div>
	</form>
</div>