UNPKG

17.5 kBHTMLView Raw
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="utf-8">
5 <title>JSDoc: Class: BigIq54LicenseProvider</title>
6
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14</head>
15
16<body>
17
18<div id="main">
19
20 <h1 class="page-title">Class: BigIq54LicenseProvider</h1>
21
22
23
24
25
26
27<section>
28
29<header>
30
31 <h2><span class="attribs"><span class="type-signature"></span></span>BigIq54LicenseProvider<span class="signature">(bigIp, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
32
33 <div class="class-description"><p>Provides ability to get licenses from BIG-IQ 5.3 (and compatible versions).</p></div>
34
35
36</header>
37
38<article>
39 <div class="container-overview">
40
41
42
43
44 <h2>Constructor</h2>
45
46
47
48 <h4 class="name" id="BigIq54LicenseProvider"><span class="type-signature"></span>new BigIq54LicenseProvider<span class="signature">(bigIp, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
49
50
51
52
53
54
55<div class="description">
56 <p>BigIq 5.3 license provider constructor</p>
57</div>
58
59
60
61
62
63
64
65
66
67 <h5>Parameters:</h5>
68
69
70<table class="params">
71 <thead>
72 <tr>
73
74 <th>Name</th>
75
76
77 <th>Type</th>
78
79
80 <th>Attributes</th>
81
82
83
84
85 <th class="last">Description</th>
86 </tr>
87 </thead>
88
89 <tbody>
90
91
92 <tr>
93
94 <td class="name"><code>bigIp</code></td>
95
96
97 <td class="type">
98
99
100<span class="param-type">Object</span>
101
102
103
104 </td>
105
106
107 <td class="attributes">
108
109
110
111
112
113 </td>
114
115
116
117
118 <td class="description last"><p>Base <a href="BigIp.html">BigIp</a> object.</p></td>
119 </tr>
120
121
122
123 <tr>
124
125 <td class="name"><code>options</code></td>
126
127
128 <td class="type">
129
130
131<span class="param-type">Object</span>
132
133
134
135 </td>
136
137
138 <td class="attributes">
139
140 &lt;optional><br>
141
142
143
144
145
146 </td>
147
148
149
150
151 <td class="description last"><p>Optional parameters.</p>
152 <h6>Properties</h6>
153
154
155<table class="params">
156 <thead>
157 <tr>
158
159 <th>Name</th>
160
161
162 <th>Type</th>
163
164
165 <th>Attributes</th>
166
167
168
169
170 <th class="last">Description</th>
171 </tr>
172 </thead>
173
174 <tbody>
175
176
177 <tr>
178
179 <td class="name"><code>logger</code></td>
180
181
182 <td class="type">
183
184
185<span class="param-type">Object</span>
186
187
188
189 </td>
190
191
192 <td class="attributes">
193
194 &lt;optional><br>
195
196
197
198
199
200 </td>
201
202
203
204
205 <td class="description last"><p>Logger to use. Or, pass loggerOptions to get your own logger.</p></td>
206 </tr>
207
208
209
210 <tr>
211
212 <td class="name"><code>loggerOptions</code></td>
213
214
215 <td class="type">
216
217
218<span class="param-type">Object</span>
219
220
221
222 </td>
223
224
225 <td class="attributes">
226
227 &lt;optional><br>
228
229
230
231
232
233 </td>
234
235
236
237
238 <td class="description last"><p>Options for the logger.
239 See <a href="module-logger.html#.getLogger">module:logger.getLogger</a> for details.</p></td>
240 </tr>
241
242
243 </tbody>
244</table>
245
246 </td>
247 </tr>
248
249
250 </tbody>
251</table>
252
253
254
255
256
257
258<dl class="details">
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</dl>
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311 </div>
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328 <h3 class="subsection-title">Methods</h3>
329
330
331
332
333
334
335
336 <h4 class="name" id="getLicenseTimeout"><span class="type-signature"></span>getLicenseTimeout<span class="signature">()</span><span class="type-signature"></span></h4>
337
338
339
340
341
342
343<div class="description">
344 <p>Gets the license timeout to use</p>
345<p>This is here so that it can be overridden by test code</p>
346</div>
347
348
349
350
351
352
353
354
355
356
357
358
359
360<dl class="details">
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</dl>
394
395
396
397
398
399
400
401
402
403
404
405
406
407<h5>Returns:</h5>
408
409
410<div class="param-desc">
411 <p>the license timeout</p>
412</div>
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428 <h4 class="name" id="getUnmanagedDeviceLicense"><span class="type-signature"></span>getUnmanagedDeviceLicense<span class="signature">(bigIqControl, poolName, bigIpMgmtAddress, bigIpMgmtPort, options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
429
430
431
432
433
434
435<div class="description">
436 <p>Gets a license from BIG-IQ for an unmanaged BIG-IP</p>
437</div>
438
439
440
441
442
443
444
445
446
447 <h5>Parameters:</h5>
448
449
450<table class="params">
451 <thead>
452 <tr>
453
454 <th>Name</th>
455
456
457 <th>Type</th>
458
459
460
461
462
463 <th class="last">Description</th>
464 </tr>
465 </thead>
466
467 <tbody>
468
469
470 <tr>
471
472 <td class="name"><code>bigIqControl</code></td>
473
474
475 <td class="type">
476
477
478<span class="param-type">Object</span>
479
480
481
482 </td>
483
484
485
486
487
488 <td class="description last"><p>iControl object for BIG-IQ</p></td>
489 </tr>
490
491
492
493 <tr>
494
495 <td class="name"><code>poolName</code></td>
496
497
498 <td class="type">
499
500
501<span class="param-type">String</span>
502
503
504
505 </td>
506
507
508
509
510
511 <td class="description last"><p>Name of the BIG-IQ license pool to use</p></td>
512 </tr>
513
514
515
516 <tr>
517
518 <td class="name"><code>bigIpMgmtAddress</code></td>
519
520
521 <td class="type">
522
523
524<span class="param-type">String</span>
525
526
527
528 </td>
529
530
531
532
533
534 <td class="description last"><p>IP address of BIG-IP management port.
535 Unused only for display in this API. Default 192.0.2.1.</p></td>
536 </tr>
537
538
539
540 <tr>
541
542 <td class="name"><code>bigIpMgmtPort</code></td>
543
544
545 <td class="type">
546
547
548<span class="param-type">String</span>
549
550
551
552 </td>
553
554
555
556
557
558 <td class="description last"><p>IP port of BIG-IP management port.
559 Unused in this API, but here for consistency.</p></td>
560 </tr>
561
562
563
564 <tr>
565
566 <td class="name"><code>options</code></td>
567
568
569 <td class="type">
570
571
572<span class="param-type">Object</span>
573
574
575
576 </td>
577
578
579
580
581
582 <td class="description last"><p>Optional parameters</p>
583 <h6>Properties</h6>
584
585
586<table class="params">
587 <thead>
588 <tr>
589
590 <th>Name</th>
591
592
593 <th>Type</th>
594
595
596 <th>Attributes</th>
597
598
599
600
601 <th class="last">Description</th>
602 </tr>
603 </thead>
604
605 <tbody>
606
607
608 <tr>
609
610 <td class="name"><code>cloud</code></td>
611
612
613 <td class="type">
614
615
616<span class="param-type">String</span>
617
618
619
620 </td>
621
622
623 <td class="attributes">
624
625
626
627
628
629 </td>
630
631
632
633
634 <td class="description last"><p>Cloud environment. Accepted values are:
635 aws, azure, gce, vmware, hyperv, kvm, xen</p></td>
636 </tr>
637
638
639
640 <tr>
641
642 <td class="name"><code>skuKeyword1</code></td>
643
644
645 <td class="type">
646
647
648<span class="param-type">String</span>
649
650
651
652 </td>
653
654
655 <td class="attributes">
656
657 &lt;optional><br>
658
659
660
661
662
663 </td>
664
665
666
667
668 <td class="description last"><p>skuKeyword1 parameter for CLPv2 licensing. Default none.</p></td>
669 </tr>
670
671
672
673 <tr>
674
675 <td class="name"><code>skuKeyword2</code></td>
676
677
678 <td class="type">
679
680
681<span class="param-type">String</span>
682
683
684
685 </td>
686
687
688 <td class="attributes">
689
690 &lt;optional><br>
691
692
693
694
695
696 </td>
697
698
699
700
701 <td class="description last"><p>skuKeyword2 parameter for CLPv2 licensing. Default none.</p></td>
702 </tr>
703
704
705
706 <tr>
707
708 <td class="name"><code>unitOfMeasure</code></td>
709
710
711 <td class="type">
712
713
714<span class="param-type">String</span>
715
716
717
718 </td>
719
720
721 <td class="attributes">
722
723 &lt;optional><br>
724
725
726
727
728
729 </td>
730
731
732
733
734 <td class="description last"><p>unitOfMeasure parameter for CLPv2 licensing. Default none.</p></td>
735 </tr>
736
737
738
739 <tr>
740
741 <td class="name"><code>noUnreachable</code></td>
742
743
744 <td class="type">
745
746
747<span class="param-type">Boolean</span>
748
749
750
751 </td>
752
753
754 <td class="attributes">
755
756 &lt;optional><br>
757
758
759
760
761
762 </td>
763
764
765
766
767 <td class="description last"><p>Do not use the unreachable API even on BIG-IQs that support it.</p></td>
768 </tr>
769
770
771 </tbody>
772</table>
773
774 </td>
775 </tr>
776
777
778 </tbody>
779</table>
780
781
782
783
784
785
786<dl class="details">
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819</dl>
820
821
822
823
824
825
826
827
828
829
830
831
832
833<h5>Returns:</h5>
834
835
836<div class="param-desc">
837 <p>A promise which is resolved when the BIG-IP has been licensed
838 or rejected if an error occurs.</p>
839</div>
840
841
842
843<dl>
844 <dt>
845 Type
846 </dt>
847 <dd>
848
849<span class="param-type">Promise</span>
850
851
852 </dd>
853</dl>
854
855
856
857
858
859
860
861
862
863
864
865
866
867 <h4 class="name" id="revoke"><span class="type-signature"></span>revoke<span class="signature">(bigIqControl, poolName, instance, options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
868
869
870
871
872
873
874<div class="description">
875 <p>Revokes a license from a BIG-IP</p>
876</div>
877
878
879
880
881
882
883
884
885
886 <h5>Parameters:</h5>
887
888
889<table class="params">
890 <thead>
891 <tr>
892
893 <th>Name</th>
894
895
896 <th>Type</th>
897
898
899
900
901
902 <th class="last">Description</th>
903 </tr>
904 </thead>
905
906 <tbody>
907
908
909 <tr>
910
911 <td class="name"><code>bigIqControl</code></td>
912
913
914 <td class="type">
915
916
917<span class="param-type">Object</span>
918
919
920
921 </td>
922
923
924
925
926
927 <td class="description last"><p>iControl object for BIG-IQ</p></td>
928 </tr>
929
930
931
932 <tr>
933
934 <td class="name"><code>poolName</code></td>
935
936
937 <td class="type">
938
939
940<span class="param-type">String</span>
941
942
943
944 </td>
945
946
947
948
949
950 <td class="description last"><p>Name of the BIG-IQ license pool to use</p></td>
951 </tr>
952
953
954
955 <tr>
956
957 <td class="name"><code>instance</code></td>
958
959
960 <td class="type">
961
962
963<span class="param-type">String</span>
964
965
966
967 </td>
968
969
970
971
972
973 <td class="description last"><p>AutoscaleInstance to revoke license for</p></td>
974 </tr>
975
976
977
978 <tr>
979
980 <td class="name"><code>options</code></td>
981
982
983 <td class="type">
984
985
986<span class="param-type">Object</span>
987
988
989
990 </td>
991
992
993
994
995
996 <td class="description last"><p>Optional parameters</p>
997 <h6>Properties</h6>
998
999
1000<table class="params">
1001 <thead>
1002 <tr>
1003
1004 <th>Name</th>
1005
1006
1007 <th>Type</th>
1008
1009
1010 <th>Attributes</th>
1011
1012
1013
1014
1015 <th class="last">Description</th>
1016 </tr>
1017 </thead>
1018
1019 <tbody>
1020
1021
1022 <tr>
1023
1024 <td class="name"><code>noUnreachable</code></td>
1025
1026
1027 <td class="type">
1028
1029
1030<span class="param-type">Boolean</span>
1031
1032
1033
1034 </td>
1035
1036
1037 <td class="attributes">
1038
1039 &lt;optional><br>
1040
1041
1042
1043
1044
1045 </td>
1046
1047
1048
1049
1050 <td class="description last"><p>Do not use the unreachable API even on BIG-IQs that support it.</p></td>
1051 </tr>
1052
1053
1054 </tbody>
1055</table>
1056
1057 </td>
1058 </tr>
1059
1060
1061 </tbody>
1062</table>
1063
1064
1065
1066
1067
1068
1069<dl class="details">
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102</dl>
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116<h5>Returns:</h5>
1117
1118
1119<div class="param-desc">
1120 <p>A promise which is resolved when the BIG-IP license has
1121 been revoked, or rejected if an error occurs.</p>
1122</div>
1123
1124
1125
1126<dl>
1127 <dt>
1128 Type
1129 </dt>
1130 <dd>
1131
1132<span class="param-type">Promise</span>
1133
1134
1135 </dd>
1136</dl>
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150</article>
1151
1152</section>
1153
1154
1155
1156
1157</div>
1158
1159<nav>
1160 <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-authn.html">authn</a></li><li><a href="module-bigIqLicenseProviderFactory.html">bigIqLicenseProviderFactory</a></li><li><a href="module-cryptoUtil.html">cryptoUtil</a></li><li><a href="module-httpUtil.html">httpUtil</a></li><li><a href="module-ipc.html">ipc</a></li><li><a href="module-localCryptoUtil.html">localCryptoUtil</a></li><li><a href="module-localKeyUtil.html">localKeyUtil</a></li><li><a href="module-logger.html">logger</a></li><li><a href="module-metricsCollector.html">metricsCollector</a></li><li><a href="module-sharedConstants.html">sharedConstants</a></li><li><a href="module-signals.html">signals</a></li><li><a href="module-util.html">util</a></li></ul><h3>Classes</h3><ul><li><a href="BigIp.html">BigIp</a></li><li><a href="BigIpCluster.html">BigIpCluster</a></li><li><a href="BigIpGtm.html">BigIpGtm</a></li><li><a href="BigIpOnboard.html">BigIpOnboard</a></li><li><a href="BigIq.html">BigIq</a></li><li><a href="BigIq50LicenseProvider.html">BigIq50LicenseProvider</a></li><li><a href="BigIq52LicenseProvider.html">BigIq52LicenseProvider</a></li><li><a href="BigIq53LicenseProvider.html">BigIq53LicenseProvider</a></li><li><a href="BigIq54LicenseProvider.html">BigIq54LicenseProvider</a></li><li><a href="CloudProvider.html">CloudProvider</a></li><li><a href="DnsProvider.html">DnsProvider</a></li><li><a href="GenericNodeProvider.html">GenericNodeProvider</a></li><li><a href="GtmDnsProvider.html">GtmDnsProvider</a></li><li><a href="IControl.html">IControl</a></li></ul><h3>Mixins</h3><ul><li><a href="bigIqClusterMixins.html">bigIqClusterMixins</a></li><li><a href="bigIqOnboardMixins.html">bigIqOnboardMixins</a></li></ul><h3>Global</h3><ul><li><a href="global.html#checkTask">checkTask</a></li><li><a href="global.html#forceResetUserPassword">forceResetUserPassword</a></li><li><a href="global.html#getDataFromPropPath">getDataFromPropPath</a></li><li><a href="global.html#getLicenseProvider">getLicenseProvider</a></li></ul>
1161</nav>
1162
1163<br class="clear">
1164
1165<footer>
1166 Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
1167</footer>
1168
1169<script> prettyPrint(); </script>
1170<script src="scripts/linenumber.js"> </script>
1171</body>
1172</html>
\No newline at end of file