foreman_api 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +35 -18
- data/doc/ForemanApi/Resources/Architecture.html +93 -136
- data/doc/ForemanApi/Resources/Audit.html +42 -60
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +129 -190
- data/doc/ForemanApi/Resources/Bookmark.html +97 -142
- data/doc/ForemanApi/Resources/CommonParameter.html +93 -136
- data/doc/ForemanApi/Resources/ComputeResource.html +131 -190
- data/doc/ForemanApi/Resources/ConfigTemplate.html +145 -211
- data/doc/ForemanApi/Resources/Dashboard.html +21 -29
- data/doc/ForemanApi/Resources/Domain.html +103 -151
- data/doc/ForemanApi/Resources/Environment.html +89 -130
- data/doc/ForemanApi/Resources/FactValue.html +29 -41
- data/doc/ForemanApi/Resources/Home.html +32 -45
- data/doc/ForemanApi/Resources/Host.html +317 -251
- data/doc/ForemanApi/Resources/HostClass.html +55 -79
- data/doc/ForemanApi/Resources/Hostgroup.html +125 -184
- data/doc/ForemanApi/Resources/HostgroupClass.html +57 -82
- data/doc/ForemanApi/Resources/Image.html +109 -160
- data/doc/ForemanApi/Resources/Location.html +937 -0
- data/doc/ForemanApi/Resources/LookupKey.html +111 -163
- data/doc/ForemanApi/Resources/Medium.html +113 -154
- data/doc/ForemanApi/Resources/Model.html +101 -148
- data/doc/ForemanApi/Resources/OperatingSystem.html +118 -173
- data/doc/ForemanApi/Resources/Organization.html +937 -0
- data/doc/ForemanApi/Resources/Parameter.html +158 -233
- data/doc/ForemanApi/Resources/Ptable.html +97 -142
- data/doc/ForemanApi/Resources/Puppetclass.html +95 -139
- data/doc/ForemanApi/Resources/Report.html +68 -98
- data/doc/ForemanApi/Resources/Role.html +85 -124
- data/doc/ForemanApi/Resources/Setting.html +58 -84
- data/doc/ForemanApi/Resources/SmartProxy.html +91 -133
- data/doc/ForemanApi/Resources/Subnet.html +141 -208
- data/doc/ForemanApi/Resources/TemplateCombination.html +65 -94
- data/doc/ForemanApi/Resources/TemplateKind.html +23 -32
- data/doc/ForemanApi/Resources/User.html +111 -163
- data/doc/ForemanApi/Resources/Usergroup.html +89 -130
- data/doc/ForemanApi/Resources.html +6 -6
- data/doc/ForemanApi.html +5 -5
- data/doc/_index.html +18 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +0 -10
- data/doc/file.MIT-LICENSE.html +24 -29
- data/doc/file.README.html +81 -60
- data/doc/frames.html +1 -1
- data/doc/index.html +81 -60
- data/doc/method_list.html +416 -312
- data/doc/top-level-namespace.html +3 -3
- data/lib/foreman_api/base.rb +16 -8
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/host.rb +9 -0
- data/lib/foreman_api/resources/location.rb +59 -0
- data/lib/foreman_api/resources/medium.rb +2 -2
- data/lib/foreman_api/resources/organization.rb +59 -0
- data/lib/foreman_api/version.rb +1 -1
- metadata +7 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::Subnet
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -164,9 +164,8 @@
|
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
168
|
-
First item: parsed data; second item: raw body
|
169
|
-
</p>
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
168
|
+
<p>First item: parsed data; second item: raw body.</p>
|
170
169
|
</div></span>
|
171
170
|
|
172
171
|
</li>
|
@@ -189,9 +188,8 @@ First item: parsed data; second item: raw body.
|
|
189
188
|
|
190
189
|
|
191
190
|
|
192
|
-
<span class="summary_desc"><div class='inline'
|
193
|
-
First item: parsed data; second item: raw body
|
194
|
-
</p>
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
192
|
+
<p>First item: parsed data; second item: raw body.</p>
|
195
193
|
</div></span>
|
196
194
|
|
197
195
|
</li>
|
@@ -214,9 +212,8 @@ First item: parsed data; second item: raw body.
|
|
214
212
|
|
215
213
|
|
216
214
|
|
217
|
-
<span class="summary_desc"><div class='inline'
|
218
|
-
First item: parsed data; second item: raw body
|
219
|
-
</p>
|
215
|
+
<span class="summary_desc"><div class='inline'>
|
216
|
+
<p>First item: parsed data; second item: raw body.</p>
|
220
217
|
</div></span>
|
221
218
|
|
222
219
|
</li>
|
@@ -239,9 +236,8 @@ First item: parsed data; second item: raw body.
|
|
239
236
|
|
240
237
|
|
241
238
|
|
242
|
-
<span class="summary_desc"><div class='inline'
|
243
|
-
First item: parsed data; second item: raw body
|
244
|
-
</p>
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>First item: parsed data; second item: raw body.</p>
|
245
241
|
</div></span>
|
246
242
|
|
247
243
|
</li>
|
@@ -264,9 +260,8 @@ First item: parsed data; second item: raw body.
|
|
264
260
|
|
265
261
|
|
266
262
|
|
267
|
-
<span class="summary_desc"><div class='inline'
|
268
|
-
First item: parsed data; second item: raw body
|
269
|
-
</p>
|
263
|
+
<span class="summary_desc"><div class='inline'>
|
264
|
+
<p>First item: parsed data; second item: raw body.</p>
|
270
265
|
</div></span>
|
271
266
|
|
272
267
|
</li>
|
@@ -304,10 +299,9 @@ First item: parsed data; second item: raw body.
|
|
304
299
|
<td>
|
305
300
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/subnet.rb', line 4</span>
|
306
301
|
|
307
|
-
<span class='
|
308
|
-
<span class='
|
309
|
-
<span class='
|
310
|
-
</pre>
|
302
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
303
|
+
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>ForemanApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>subnets</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
304
|
+
<span class='kw'>end</span></pre>
|
311
305
|
</td>
|
312
306
|
</tr>
|
313
307
|
</table>
|
@@ -330,9 +324,8 @@ First item: parsed data; second item: raw body.
|
|
330
324
|
|
331
325
|
</h3><div class="docstring">
|
332
326
|
<div class="discussion">
|
333
|
-
|
334
|
-
First item: parsed data; second item: raw body
|
335
|
-
</p>
|
327
|
+
|
328
|
+
<p>First item: parsed data; second item: raw body</p>
|
336
329
|
|
337
330
|
|
338
331
|
</div>
|
@@ -353,9 +346,8 @@ First item: parsed data; second item: raw body
|
|
353
346
|
|
354
347
|
|
355
348
|
—
|
356
|
-
<div class='inline'
|
357
|
-
a hash of params to be passed to the service
|
358
|
-
</p>
|
349
|
+
<div class='inline'>
|
350
|
+
<p>a hash of params to be passed to the service</p>
|
359
351
|
</div>
|
360
352
|
|
361
353
|
</li>
|
@@ -372,9 +364,8 @@ a hash of params to be passed to the service
|
|
372
364
|
|
373
365
|
|
374
366
|
—
|
375
|
-
<div class='inline'
|
376
|
-
additional http headers
|
377
|
-
</p>
|
367
|
+
<div class='inline'>
|
368
|
+
<p>additional http headers</p>
|
378
369
|
</div>
|
379
370
|
|
380
371
|
</li>
|
@@ -394,50 +385,35 @@ additional http headers
|
|
394
385
|
|
395
386
|
</span>
|
396
387
|
|
397
|
-
— <div class='inline'
|
398
|
-
allowed keys are
|
399
|
-
|
400
|
-
<
|
401
|
-
|
402
|
-
|
403
|
-
</li>
|
404
|
-
<
|
405
|
-
|
406
|
-
</
|
407
|
-
|
408
|
-
|
409
|
-
</li>
|
410
|
-
<
|
411
|
-
|
412
|
-
</
|
413
|
-
|
414
|
-
|
415
|
-
</li>
|
416
|
-
<
|
417
|
-
|
418
|
-
</
|
419
|
-
|
420
|
-
|
421
|
-
</li>
|
422
|
-
<
|
423
|
-
|
424
|
-
</
|
425
|
-
|
426
|
-
|
427
|
-
</li>
|
428
|
-
<li>name [String] Subnet name
|
429
|
-
|
430
|
-
</li>
|
431
|
-
<li>network [String] Subnet network
|
432
|
-
|
433
|
-
</li>
|
434
|
-
<li>to [String] Ending ip address for ip auto suggestion
|
435
|
-
|
436
|
-
</li>
|
437
|
-
<li>vlanid [String] Vlan id for this subnet
|
438
|
-
|
439
|
-
</li>
|
440
|
-
</ul>
|
388
|
+
— <div class='inline'>
|
389
|
+
<p>allowed keys are:</p>
|
390
|
+
<ul><li>
|
391
|
+
<p>dhcp_id [String] Dhcp proxy to use within this subnet</p>
|
392
|
+
</li><li>
|
393
|
+
<p>dns_id [String] Dns proxy to use within this subnet</p>
|
394
|
+
</li><li>
|
395
|
+
<p>domain_ids [String] Domains in which this subnet is part</p>
|
396
|
+
</li><li>
|
397
|
+
<p>tftp_id [String] Tftp proxy to use within this subnet</p>
|
398
|
+
</li><li>
|
399
|
+
<p>dns_primary [String] Primary dns for this subnet</p>
|
400
|
+
</li><li>
|
401
|
+
<p>dns_secondary [String] Secondary dns for this subnet</p>
|
402
|
+
</li><li>
|
403
|
+
<p>from [String] Starting ip address for ip auto suggestion</p>
|
404
|
+
</li><li>
|
405
|
+
<p>gateway [String] Primary dns for this subnet</p>
|
406
|
+
</li><li>
|
407
|
+
<p>mask [String] Netmask for this subnet</p>
|
408
|
+
</li><li>
|
409
|
+
<p>name [String] Subnet name</p>
|
410
|
+
</li><li>
|
411
|
+
<p>network [String] Subnet network</p>
|
412
|
+
</li><li>
|
413
|
+
<p>to [String] Ending ip address for ip auto suggestion</p>
|
414
|
+
</li><li>
|
415
|
+
<p>vlanid [String] Vlan id for this subnet</p>
|
416
|
+
</li></ul>
|
441
417
|
</div>
|
442
418
|
|
443
419
|
</li>
|
@@ -458,9 +434,8 @@ allowed keys are:
|
|
458
434
|
|
459
435
|
|
460
436
|
—
|
461
|
-
<div class='inline'
|
462
|
-
First item: parsed data; second item: raw body
|
463
|
-
</p>
|
437
|
+
<div class='inline'>
|
438
|
+
<p>First item: parsed data; second item: raw body</p>
|
464
439
|
</div>
|
465
440
|
|
466
441
|
</li>
|
@@ -480,10 +455,9 @@ First item: parsed data; second item: raw body
|
|
480
455
|
<td>
|
481
456
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/subnet.rb', line 48</span>
|
482
457
|
|
483
|
-
<span class='
|
484
|
-
<span class='
|
485
|
-
<span class='
|
486
|
-
</pre>
|
458
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
459
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
460
|
+
<span class='kw'>end</span></pre>
|
487
461
|
</td>
|
488
462
|
</tr>
|
489
463
|
</table>
|
@@ -500,9 +474,8 @@ First item: parsed data; second item: raw body
|
|
500
474
|
|
501
475
|
</h3><div class="docstring">
|
502
476
|
<div class="discussion">
|
503
|
-
|
504
|
-
First item: parsed data; second item: raw body
|
505
|
-
</p>
|
477
|
+
|
478
|
+
<p>First item: parsed data; second item: raw body</p>
|
506
479
|
|
507
480
|
|
508
481
|
</div>
|
@@ -523,9 +496,8 @@ First item: parsed data; second item: raw body
|
|
523
496
|
|
524
497
|
|
525
498
|
—
|
526
|
-
<div class='inline'
|
527
|
-
a hash of params to be passed to the service
|
528
|
-
</p>
|
499
|
+
<div class='inline'>
|
500
|
+
<p>a hash of params to be passed to the service</p>
|
529
501
|
</div>
|
530
502
|
|
531
503
|
</li>
|
@@ -542,9 +514,8 @@ a hash of params to be passed to the service
|
|
542
514
|
|
543
515
|
|
544
516
|
—
|
545
|
-
<div class='inline'
|
546
|
-
additional http headers
|
547
|
-
</p>
|
517
|
+
<div class='inline'>
|
518
|
+
<p>additional http headers</p>
|
548
519
|
</div>
|
549
520
|
|
550
521
|
</li>
|
@@ -564,9 +535,8 @@ additional http headers
|
|
564
535
|
|
565
536
|
</span>
|
566
537
|
|
567
|
-
— <div class='inline'
|
568
|
-
Subnet numeric identifier
|
569
|
-
</p>
|
538
|
+
— <div class='inline'>
|
539
|
+
<p>Subnet numeric identifier</p>
|
570
540
|
</div>
|
571
541
|
|
572
542
|
</li>
|
@@ -587,9 +557,8 @@ Subnet numeric identifier
|
|
587
557
|
|
588
558
|
|
589
559
|
—
|
590
|
-
<div class='inline'
|
591
|
-
First item: parsed data; second item: raw body
|
592
|
-
</p>
|
560
|
+
<div class='inline'>
|
561
|
+
<p>First item: parsed data; second item: raw body</p>
|
593
562
|
</div>
|
594
563
|
|
595
564
|
</li>
|
@@ -609,10 +578,9 @@ First item: parsed data; second item: raw body
|
|
609
578
|
<td>
|
610
579
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/subnet.rb', line 81</span>
|
611
580
|
|
612
|
-
<span class='
|
613
|
-
<span class='
|
614
|
-
<span class='
|
615
|
-
</pre>
|
581
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
582
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
583
|
+
<span class='kw'>end</span></pre>
|
616
584
|
</td>
|
617
585
|
</tr>
|
618
586
|
</table>
|
@@ -629,9 +597,8 @@ First item: parsed data; second item: raw body
|
|
629
597
|
|
630
598
|
</h3><div class="docstring">
|
631
599
|
<div class="discussion">
|
632
|
-
|
633
|
-
First item: parsed data; second item: raw body
|
634
|
-
</p>
|
600
|
+
|
601
|
+
<p>First item: parsed data; second item: raw body</p>
|
635
602
|
|
636
603
|
|
637
604
|
</div>
|
@@ -652,9 +619,8 @@ First item: parsed data; second item: raw body
|
|
652
619
|
|
653
620
|
|
654
621
|
—
|
655
|
-
<div class='inline'
|
656
|
-
a hash of params to be passed to the service
|
657
|
-
</p>
|
622
|
+
<div class='inline'>
|
623
|
+
<p>a hash of params to be passed to the service</p>
|
658
624
|
</div>
|
659
625
|
|
660
626
|
</li>
|
@@ -671,9 +637,8 @@ a hash of params to be passed to the service
|
|
671
637
|
|
672
638
|
|
673
639
|
—
|
674
|
-
<div class='inline'
|
675
|
-
additional http headers
|
676
|
-
</p>
|
640
|
+
<div class='inline'>
|
641
|
+
<p>additional http headers</p>
|
677
642
|
</div>
|
678
643
|
|
679
644
|
</li>
|
@@ -693,9 +658,8 @@ additional http headers
|
|
693
658
|
|
694
659
|
</span>
|
695
660
|
|
696
|
-
— <div class='inline'
|
697
|
-
Sort results
|
698
|
-
</p>
|
661
|
+
— <div class='inline'>
|
662
|
+
<p>Sort results</p>
|
699
663
|
</div>
|
700
664
|
|
701
665
|
</li>
|
@@ -707,9 +671,8 @@ Sort results
|
|
707
671
|
|
708
672
|
</span>
|
709
673
|
|
710
|
-
— <div class='inline'
|
711
|
-
Paginate results
|
712
|
-
</p>
|
674
|
+
— <div class='inline'>
|
675
|
+
<p>Paginate results</p>
|
713
676
|
</div>
|
714
677
|
|
715
678
|
</li>
|
@@ -721,9 +684,8 @@ Paginate results
|
|
721
684
|
|
722
685
|
</span>
|
723
686
|
|
724
|
-
— <div class='inline'
|
725
|
-
Number of entries per request
|
726
|
-
</p>
|
687
|
+
— <div class='inline'>
|
688
|
+
<p>Number of entries per request</p>
|
727
689
|
</div>
|
728
690
|
|
729
691
|
</li>
|
@@ -735,9 +697,8 @@ Number of entries per request
|
|
735
697
|
|
736
698
|
</span>
|
737
699
|
|
738
|
-
— <div class='inline'
|
739
|
-
Filter results
|
740
|
-
</p>
|
700
|
+
— <div class='inline'>
|
701
|
+
<p>Filter results</p>
|
741
702
|
</div>
|
742
703
|
|
743
704
|
</li>
|
@@ -758,9 +719,8 @@ Filter results
|
|
758
719
|
|
759
720
|
|
760
721
|
—
|
761
|
-
<div class='inline'
|
762
|
-
First item: parsed data; second item: raw body
|
763
|
-
</p>
|
722
|
+
<div class='inline'>
|
723
|
+
<p>First item: parsed data; second item: raw body</p>
|
764
724
|
</div>
|
765
725
|
|
766
726
|
</li>
|
@@ -780,10 +740,9 @@ First item: parsed data; second item: raw body
|
|
780
740
|
<td>
|
781
741
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/subnet.rb', line 16</span>
|
782
742
|
|
783
|
-
<span class='
|
784
|
-
<span class='
|
785
|
-
<span class='
|
786
|
-
</pre>
|
743
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
744
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
745
|
+
<span class='kw'>end</span></pre>
|
787
746
|
</td>
|
788
747
|
</tr>
|
789
748
|
</table>
|
@@ -800,9 +759,8 @@ First item: parsed data; second item: raw body
|
|
800
759
|
|
801
760
|
</h3><div class="docstring">
|
802
761
|
<div class="discussion">
|
803
|
-
|
804
|
-
First item: parsed data; second item: raw body
|
805
|
-
</p>
|
762
|
+
|
763
|
+
<p>First item: parsed data; second item: raw body</p>
|
806
764
|
|
807
765
|
|
808
766
|
</div>
|
@@ -823,9 +781,8 @@ First item: parsed data; second item: raw body
|
|
823
781
|
|
824
782
|
|
825
783
|
—
|
826
|
-
<div class='inline'
|
827
|
-
a hash of params to be passed to the service
|
828
|
-
</p>
|
784
|
+
<div class='inline'>
|
785
|
+
<p>a hash of params to be passed to the service</p>
|
829
786
|
</div>
|
830
787
|
|
831
788
|
</li>
|
@@ -842,9 +799,8 @@ a hash of params to be passed to the service
|
|
842
799
|
|
843
800
|
|
844
801
|
—
|
845
|
-
<div class='inline'
|
846
|
-
additional http headers
|
847
|
-
</p>
|
802
|
+
<div class='inline'>
|
803
|
+
<p>additional http headers</p>
|
848
804
|
</div>
|
849
805
|
|
850
806
|
</li>
|
@@ -882,9 +838,8 @@ additional http headers
|
|
882
838
|
|
883
839
|
|
884
840
|
—
|
885
|
-
<div class='inline'
|
886
|
-
First item: parsed data; second item: raw body
|
887
|
-
</p>
|
841
|
+
<div class='inline'>
|
842
|
+
<p>First item: parsed data; second item: raw body</p>
|
888
843
|
</div>
|
889
844
|
|
890
845
|
</li>
|
@@ -904,10 +859,9 @@ First item: parsed data; second item: raw body
|
|
904
859
|
<td>
|
905
860
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/subnet.rb', line 25</span>
|
906
861
|
|
907
|
-
<span class='
|
908
|
-
<span class='
|
909
|
-
<span class='
|
910
|
-
</pre>
|
862
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_show'>show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
863
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
864
|
+
<span class='kw'>end</span></pre>
|
911
865
|
</td>
|
912
866
|
</tr>
|
913
867
|
</table>
|
@@ -924,9 +878,8 @@ First item: parsed data; second item: raw body
|
|
924
878
|
|
925
879
|
</h3><div class="docstring">
|
926
880
|
<div class="discussion">
|
927
|
-
|
928
|
-
First item: parsed data; second item: raw body
|
929
|
-
</p>
|
881
|
+
|
882
|
+
<p>First item: parsed data; second item: raw body</p>
|
930
883
|
|
931
884
|
|
932
885
|
</div>
|
@@ -947,9 +900,8 @@ First item: parsed data; second item: raw body
|
|
947
900
|
|
948
901
|
|
949
902
|
—
|
950
|
-
<div class='inline'
|
951
|
-
a hash of params to be passed to the service
|
952
|
-
</p>
|
903
|
+
<div class='inline'>
|
904
|
+
<p>a hash of params to be passed to the service</p>
|
953
905
|
</div>
|
954
906
|
|
955
907
|
</li>
|
@@ -966,9 +918,8 @@ a hash of params to be passed to the service
|
|
966
918
|
|
967
919
|
|
968
920
|
—
|
969
|
-
<div class='inline'
|
970
|
-
additional http headers
|
971
|
-
</p>
|
921
|
+
<div class='inline'>
|
922
|
+
<p>additional http headers</p>
|
972
923
|
</div>
|
973
924
|
|
974
925
|
</li>
|
@@ -988,9 +939,8 @@ additional http headers
|
|
988
939
|
|
989
940
|
</span>
|
990
941
|
|
991
|
-
— <div class='inline'
|
992
|
-
Subnet numeric identifier
|
993
|
-
</p>
|
942
|
+
— <div class='inline'>
|
943
|
+
<p>Subnet numeric identifier</p>
|
994
944
|
</div>
|
995
945
|
|
996
946
|
</li>
|
@@ -1002,50 +952,35 @@ Subnet numeric identifier
|
|
1002
952
|
|
1003
953
|
</span>
|
1004
954
|
|
1005
|
-
— <div class='inline'
|
1006
|
-
allowed keys are
|
1007
|
-
|
1008
|
-
<
|
1009
|
-
|
1010
|
-
|
1011
|
-
</li>
|
1012
|
-
<
|
1013
|
-
|
1014
|
-
</
|
1015
|
-
|
1016
|
-
|
1017
|
-
</li>
|
1018
|
-
<
|
1019
|
-
|
1020
|
-
</
|
1021
|
-
|
1022
|
-
|
1023
|
-
</li>
|
1024
|
-
<
|
1025
|
-
|
1026
|
-
</
|
1027
|
-
|
1028
|
-
|
1029
|
-
</li>
|
1030
|
-
<
|
1031
|
-
|
1032
|
-
</
|
1033
|
-
|
1034
|
-
|
1035
|
-
</li>
|
1036
|
-
<li>name [String] Subnet name
|
1037
|
-
|
1038
|
-
</li>
|
1039
|
-
<li>network [String] Subnet network
|
1040
|
-
|
1041
|
-
</li>
|
1042
|
-
<li>to [String, nil] Ending ip address for ip auto suggestion
|
1043
|
-
|
1044
|
-
</li>
|
1045
|
-
<li>vlanid [String, nil] Vlan id for this subnet
|
1046
|
-
|
1047
|
-
</li>
|
1048
|
-
</ul>
|
955
|
+
— <div class='inline'>
|
956
|
+
<p>allowed keys are:</p>
|
957
|
+
<ul><li>
|
958
|
+
<p>dhcp_id [String, nil] Dhcp proxy to use within this subnet</p>
|
959
|
+
</li><li>
|
960
|
+
<p>dns_id [String, nil] Dns proxy to use within this subnet</p>
|
961
|
+
</li><li>
|
962
|
+
<p>domain_ids [String, nil] Domains in which this subnet is part</p>
|
963
|
+
</li><li>
|
964
|
+
<p>tftp_id [String, nil] Tftp proxy to use within this subnet</p>
|
965
|
+
</li><li>
|
966
|
+
<p>dns_primary [String, nil] Primary dns for this subnet</p>
|
967
|
+
</li><li>
|
968
|
+
<p>dns_secondary [String, nil] Secondary dns for this subnet</p>
|
969
|
+
</li><li>
|
970
|
+
<p>from [String, nil] Starting ip address for ip auto suggestion</p>
|
971
|
+
</li><li>
|
972
|
+
<p>gateway [String, nil] Primary dns for this subnet</p>
|
973
|
+
</li><li>
|
974
|
+
<p>mask [String] Netmask for this subnet</p>
|
975
|
+
</li><li>
|
976
|
+
<p>name [String] Subnet name</p>
|
977
|
+
</li><li>
|
978
|
+
<p>network [String] Subnet network</p>
|
979
|
+
</li><li>
|
980
|
+
<p>to [String, nil] Ending ip address for ip auto suggestion</p>
|
981
|
+
</li><li>
|
982
|
+
<p>vlanid [String, nil] Vlan id for this subnet</p>
|
983
|
+
</li></ul>
|
1049
984
|
</div>
|
1050
985
|
|
1051
986
|
</li>
|
@@ -1066,9 +1001,8 @@ allowed keys are:
|
|
1066
1001
|
|
1067
1002
|
|
1068
1003
|
—
|
1069
|
-
<div class='inline'
|
1070
|
-
First item: parsed data; second item: raw body
|
1071
|
-
</p>
|
1004
|
+
<div class='inline'>
|
1005
|
+
<p>First item: parsed data; second item: raw body</p>
|
1072
1006
|
</div>
|
1073
1007
|
|
1074
1008
|
</li>
|
@@ -1088,10 +1022,9 @@ First item: parsed data; second item: raw body
|
|
1088
1022
|
<td>
|
1089
1023
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/subnet.rb', line 72</span>
|
1090
1024
|
|
1091
|
-
<span class='
|
1092
|
-
<span class='
|
1093
|
-
<span class='
|
1094
|
-
</pre>
|
1025
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1026
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1027
|
+
<span class='kw'>end</span></pre>
|
1095
1028
|
</td>
|
1096
1029
|
</tr>
|
1097
1030
|
</table>
|
@@ -1102,9 +1035,9 @@ First item: parsed data; second item: raw body
|
|
1102
1035
|
</div>
|
1103
1036
|
|
1104
1037
|
<div id="footer">
|
1105
|
-
Generated on
|
1038
|
+
Generated on Thu Jun 20 12:05:21 2013 by
|
1106
1039
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1107
|
-
0.8.
|
1040
|
+
0.8.3 (ruby-1.9.3).
|
1108
1041
|
</div>
|
1109
1042
|
|
1110
1043
|
</body>
|