Project

General

Profile

Download (50.5 KB) Statistics
| Branch: | Tag: | Revision:

hammer-cli-csv / test / fixtures / vcr_cassettes / setup / setup_domains / setup.yml @ 1327c177

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:changeme@satlap.example.com/api/status
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept-Encoding:
11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
      Accept:
13
      - "*/*"
14
      User-Agent:
15
      - Ruby
16
      Host:
17
      - satlap.example.com
18
  response:
19
    status:
20
      code: 200
21
      message: OK
22
    headers:
23
      Date:
24
      - Tue, 13 Dec 2016 14:48:39 GMT
25
      Server:
26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27
      X-Frame-Options:
28
      - SAMEORIGIN
29
      X-Xss-Protection:
30
      - 1; mode=block
31
      X-Content-Type-Options:
32
      - nosniff
33
      Foreman-Version:
34
      - 1.11.0.54
35
      Foreman-Api-Version:
36
      - '2'
37
      Apipie-Checksum:
38
      - e1df2e8d43e22495b02a53b48e3b5298
39
      Cache-Control:
40
      - max-age=0, private, must-revalidate
41
      X-Request-Id:
42
      - 4aee9de9-46a4-4c47-870a-c7e64a7bc74b
43
      X-Runtime:
44
      - '0.035978'
45
      X-Powered-By:
46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=98de882bc33e872853da9d907a536a5d; path=/; secure; HttpOnly
49
      Etag:
50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
51
      Status:
52
      - 200 OK
53
      Content-Length:
54
      - '66'
55
      Content-Type:
56
      - application/json; charset=utf-8
57
    body:
58
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
60
    http_version: 
61
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
62
- request:
63
    method: get
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
65
    body:
66
      encoding: US-ASCII
67
      string: ''
68
    headers:
69
      Accept-Encoding:
70
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
71
      Accept:
72
      - "*/*"
73
      User-Agent:
74
      - Ruby
75
      Host:
76
      - satlap.example.com
77
  response:
78
    status:
79
      code: 200
80
      message: OK
81
    headers:
82
      Date:
83
      - Tue, 13 Dec 2016 14:48:39 GMT
84
      Server:
85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86
      X-Frame-Options:
87
      - SAMEORIGIN
88
      X-Xss-Protection:
89
      - 1; mode=block
90
      X-Content-Type-Options:
91
      - nosniff
92
      Foreman-Version:
93
      - 1.11.0.54
94
      Foreman-Api-Version:
95
      - '2'
96
      Apipie-Checksum:
97
      - e1df2e8d43e22495b02a53b48e3b5298
98
      Cache-Control:
99
      - max-age=0, private, must-revalidate
100
      X-Request-Id:
101
      - 895347e1-2ef8-48b9-a6c9-2604ad47d7be
102
      X-Runtime:
103
      - '0.033046'
104
      X-Powered-By:
105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=85775b81115543395a607b1c84734db7; path=/; secure; HttpOnly
108
      Etag:
109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110
      Status:
111
      - 200 OK
112
      Vary:
113
      - Accept-Encoding
114
      Content-Length:
115
      - '1338'
116
      Content-Type:
117
      - application/json; charset=utf-8
118
    body:
119
      encoding: ASCII-8BIT
120
      string: !binary |-
121
        ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
122
        MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
123
        dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
124
        ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
125
        b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
126
        dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
127
        ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
128
        ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
129
        cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
130
        IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
131
        b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
132
        ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
133
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
136
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
137
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
138
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
139
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
140
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
141
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
142
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
143
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
144
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
145
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
146
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
147
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
148
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
149
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
150
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
151
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
152
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
153
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
154
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
155
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
156
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
157
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
158
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
159
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
160
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
161
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
162
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
163
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
164
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
165
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
166
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
167
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
168
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
169
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
170
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
171
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
172
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
173
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
174
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
175
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
176
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
177
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
178
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
179
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
180
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
181
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
182
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
183
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
184
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
185
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
186
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
187
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
188
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
189
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
190
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
191
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
192
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195
    http_version: 
196
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
197
- request:
198
    method: get
199
    uri: https://admin:changeme@satlap.example.com/api/domains?per_page=999999
200
    body:
201
      encoding: US-ASCII
202
      string: ''
203
    headers:
204
      Accept:
205
      - application/json;version=2
206
      Accept-Encoding:
207
      - gzip, deflate
208
      User-Agent:
209
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
210
      Content-Type:
211
      - application/json
212
      Accept-Language:
213
      - en
214
      Host:
215
      - satlap.example.com
216
  response:
217
    status:
218
      code: 200
219
      message: OK
220
    headers:
221
      Date:
222
      - Tue, 13 Dec 2016 14:48:39 GMT
223
      Server:
224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225
      X-Frame-Options:
226
      - SAMEORIGIN
227
      X-Xss-Protection:
228
      - 1; mode=block
229
      X-Content-Type-Options:
230
      - nosniff
231
      Foreman-Version:
232
      - 1.11.0.54
233
      Foreman-Api-Version:
234
      - '2'
235
      Apipie-Checksum:
236
      - e1df2e8d43e22495b02a53b48e3b5298
237
      Cache-Control:
238
      - max-age=0, private, must-revalidate
239
      X-Request-Id:
240
      - 3d0f4552-ee6a-4946-bdf7-7351ffb428cd
241
      X-Runtime:
242
      - '0.049929'
243
      X-Powered-By:
244
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=678a564a74cdeb7d266c3ce34a114692; path=/; secure; HttpOnly
247
      Etag:
248
      - '"ad08fff5266de368c5b0dee0fd22ec96-gzip"'
249
      Status:
250
      - 200 OK
251
      Vary:
252
      - Accept-Encoding
253
      Content-Length:
254
      - '425'
255
      Content-Type:
256
      - application/json; charset=utf-8
257
    body:
258
      encoding: ASCII-8BIT
259
      string: |
260
        {
261
          "total": 2,
262
          "subtotal": 2,
263
          "page": 1,
264
          "per_page": 999999,
265
          "search": null,
266
          "sort": {
267
            "by": null,
268
            "order": null
269
          },
270
          "results": [{"fullname":null,"dns_id":null,"created_at":"2016-12-07 03:11:13 UTC","updated_at":"2016-12-07 03:11:13 UTC","id":1,"name":"example.com"},{"fullname":"","dns_id":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-13 10:58:23 UTC","id":2,"name":"test.com"}]
271
        }
272
    http_version: 
273
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
274
- request:
275
    method: put
276
    uri: https://admin:changeme@satlap.example.com/api/domains/2
277
    body:
278
      encoding: UTF-8
279
      string: '{"domain":{"name":"test.com","fullname":"","dns_id":null}}'
280
    headers:
281
      Accept:
282
      - application/json;version=2
283
      Accept-Encoding:
284
      - gzip, deflate
285
      User-Agent:
286
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
287
      Content-Type:
288
      - application/json
289
      Accept-Language:
290
      - en
291
      Content-Length:
292
      - '58'
293
      Host:
294
      - satlap.example.com
295
  response:
296
    status:
297
      code: 200
298
      message: OK
299
    headers:
300
      Date:
301
      - Tue, 13 Dec 2016 14:48:39 GMT
302
      Server:
303
      - Apache/2.4.6 (Red Hat Enterprise Linux)
304
      X-Frame-Options:
305
      - SAMEORIGIN
306
      X-Xss-Protection:
307
      - 1; mode=block
308
      X-Content-Type-Options:
309
      - nosniff
310
      Foreman-Version:
311
      - 1.11.0.54
312
      Foreman-Api-Version:
313
      - '2'
314
      Apipie-Checksum:
315
      - e1df2e8d43e22495b02a53b48e3b5298
316
      Cache-Control:
317
      - max-age=0, private, must-revalidate
318
      X-Request-Id:
319
      - 78782135-3f40-475a-81e7-f854285693db
320
      X-Runtime:
321
      - '0.083546'
322
      X-Powered-By:
323
      - Phusion Passenger 4.0.18
324
      Set-Cookie:
325
      - _session_id=3c7d990f77d263052d82cfb705be1503; path=/; secure; HttpOnly
326
      - request_method=PUT; path=/
327
      Etag:
328
      - '"c4e5a74bd8e14093c1644355a0aa2140-gzip"'
329
      Status:
330
      - 200 OK
331
      Vary:
332
      - Accept-Encoding
333
      Content-Length:
334
      - '390'
335
      Content-Type:
336
      - application/json; charset=utf-8
337
    body:
338
      encoding: ASCII-8BIT
339
      string: '{"fullname":"","dns_id":null,"created_at":"2016-12-13 10:58:23 UTC","updated_at":"2016-12-13
340
        10:58:23 UTC","id":2,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"parameters":[],"interfaces":[],"locations":[],"organizations":[{"id":8,"name":"Test
341
        Corporation","title":"Test Corporation","description":"Testing today for a
342
        better tomorrow"}]}'
343
    http_version: 
344
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
345
- request:
346
    method: get
347
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
348
    body:
349
      encoding: US-ASCII
350
      string: ''
351
    headers:
352
      Accept:
353
      - application/json;version=2
354
      Accept-Encoding:
355
      - gzip, deflate
356
      User-Agent:
357
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
358
      Content-Type:
359
      - application/json
360
      Accept-Language:
361
      - en
362
      Host:
363
      - satlap.example.com
364
  response:
365
    status:
366
      code: 200
367
      message: OK
368
    headers:
369
      Date:
370
      - Tue, 13 Dec 2016 14:48:39 GMT
371
      Server:
372
      - Apache/2.4.6 (Red Hat Enterprise Linux)
373
      X-Frame-Options:
374
      - SAMEORIGIN
375
      X-Xss-Protection:
376
      - 1; mode=block
377
      X-Content-Type-Options:
378
      - nosniff
379
      Foreman-Version:
380
      - 1.11.0.54
381
      Foreman-Api-Version:
382
      - '2'
383
      Apipie-Checksum:
384
      - e1df2e8d43e22495b02a53b48e3b5298
385
      Cache-Control:
386
      - max-age=0, private, must-revalidate
387
      X-Request-Id:
388
      - af4faeb7-ba6b-413a-90ff-c77a2838dd06
389
      X-Runtime:
390
      - '0.034617'
391
      X-Powered-By:
392
      - Phusion Passenger 4.0.18
393
      Set-Cookie:
394
      - _session_id=9ef9e8d67c0add61d935ee96097f4992; path=/; secure; HttpOnly
395
      Etag:
396
      - '"679e32140c09b4b1376234e361ab87b0-gzip"'
397
      Status:
398
      - 200 OK
399
      Vary:
400
      - Accept-Encoding
401
      Content-Length:
402
      - '388'
403
      Content-Type:
404
      - application/json; charset=utf-8
405
    body:
406
      encoding: ASCII-8BIT
407
      string: |
408
        {
409
          "total": 2,
410
          "subtotal": 1,
411
          "page": 1,
412
          "per_page": 999999,
413
          "search": "name=\"Test Corporation\"",
414
          "sort": {
415
            "by": null,
416
            "order": null
417
          },
418
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 14:47:54 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
419
        }
420
    http_version: 
421
  recorded_at: Tue, 13 Dec 2016 14:48:36 GMT
422
- request:
423
    method: get
424
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
425
    body:
426
      encoding: US-ASCII
427
      string: ''
428
    headers:
429
      Accept:
430
      - application/json;version=2
431
      Accept-Encoding:
432
      - gzip, deflate
433
      User-Agent:
434
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
435
      Content-Type:
436
      - application/json
437
      Accept-Language:
438
      - en
439
      Host:
440
      - satlap.example.com
441
  response:
442
    status:
443
      code: 200
444
      message: OK
445
    headers:
446
      Date:
447
      - Tue, 13 Dec 2016 14:48:39 GMT
448
      Server:
449
      - Apache/2.4.6 (Red Hat Enterprise Linux)
450
      X-Frame-Options:
451
      - SAMEORIGIN
452
      X-Xss-Protection:
453
      - 1; mode=block
454
      X-Content-Type-Options:
455
      - nosniff
456
      Foreman-Version:
457
      - 1.11.0.54
458
      Foreman-Api-Version:
459
      - '2'
460
      Apipie-Checksum:
461
      - e1df2e8d43e22495b02a53b48e3b5298
462
      Cache-Control:
463
      - max-age=0, private, must-revalidate
464
      X-Request-Id:
465
      - 30f97f11-1bb2-4b38-af8c-5e03024c23f1
466
      X-Runtime:
467
      - '0.246648'
468
      X-Powered-By:
469
      - Phusion Passenger 4.0.18
470
      Set-Cookie:
471
      - _session_id=69bea9d104506f368f92bc326ac31bdf; path=/; secure; HttpOnly
472
      Etag:
473
      - '"02425a44ce14fa387a0d6ce61f0e8702-gzip"'
474
      Status:
475
      - 200 OK
476
      Vary:
477
      - Accept-Encoding
478
      Content-Length:
479
      - '18746'
480
      Content-Type:
481
      - application/json; charset=utf-8
482
    body:
483
      encoding: ASCII-8BIT
484
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
485
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"4028f99158f378890158f8a79a630b86","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
486
        RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnR41trDH6LJ4Tobp73rsvM7Sl+nMItXNW7HSjhKQg78nFotM\naGRB9XS3z7wzKtunqIHcj38UwGBE01qLIO7aBXJHAeDiZVJdRaq03fcpQU3OywCw\nzjzfIRxYP8u5S1bjE60QXwv+ao0nbEYJ45EBmFybL6NJBcATsvPTadRzy236kk0h\nnOJl+IXXU+29eGjY7GWXjm+QYf//CHN+ngEh8g/sxSafDM6w7ZlPi9HJSaXK363R\n/nuy+4KqYE0MHa/7Iyb+HnyQEn/XTuFLJk3/EKr7gwxOVV2in6CQEeXLNuWek1Xt\nUzBDL/jPNoowFM18kmYBBg5/M3gqMX4eXBVfxQIDAQABAoIBAAeWduecv/rH67F3\nKIMNP7OalWcKvnYMNz+vZcjAssP6Dkwza/w6o0jUWzAoGZx/QSiNJPa1H25u98Px\nQnjTsCnFLBK2JpjYEnMT3Go/znk95be+D8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END
488
        CERTIFICATE-----\n","id":"4028f99158f378890158f8a79a630b85","serial":{"id":8920514391689940460,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8920514391689940460,"created":"2016-12-13T14:48:03.426+0000","updated":"2016-12-13T14:48:03.426+0000"},"created":"2016-12-13T14:48:03.427+0000","updated":"2016-12-13T14:48:03.427+0000"},"type":{"id":"4028f99158d73c980158d7417b9c0005","label":"satellite","manifest":true,"created":"2016-12-07T03:09:02.748+0000","updated":"2016-12-07T03:09:02.748+0000"},"ownerId":"4028f99158f378890158f7d5665f03ed","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-12-13T14:48:03.427+0000","updated":"2016-12-13T14:48:03.427+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-13T14:48:03.496+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
489
        today for a better tomorrow","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13
490
        14:47:54 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
491
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat-rhel7.example.com","id":1,"url":"https://sat-rhel7.example.com:9090"}],"subnets":[{"id":1,"name":"Test
492
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
493
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
494
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
495
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
496
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
497
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
498
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
499
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
500
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
501
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
502
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
503
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
504
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
505
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
506
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
507
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
508
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
509
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
510
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
511
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
512
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
513
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
514
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
515
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
516
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
517
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
518
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
519
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
520
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
521
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
522
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
523
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
524
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
525
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
526
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
527
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
528
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
529
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
530
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
531
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
532
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
533
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
534
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
535
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
536
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
537
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
538
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
539
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
540
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
541
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
542
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
543
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
544
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
545
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
546
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
547
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
548
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
549
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
550
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
551
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
552
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
553
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
554
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
555
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
556
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
557
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
558
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
559
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
560
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
561
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
562
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
563
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
564
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
565
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
566
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
567
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
568
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
569
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
570
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
571
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
572
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
573
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
574
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
575
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
576
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
577
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
578
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
579
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
580
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
581
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
582
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
583
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
584
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
585
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
586
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
587
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
588
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
589
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
590
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
591
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
592
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
593
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
594
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
595
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
596
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
597
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
598
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
599
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
600
        Location","title":"Default Location","description":null}],"parameters":[],"default_content_view_id":2,"library_id":2}'
601
    http_version: 
602
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
603
- request:
604
    method: put
605
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8
606
    body:
607
      encoding: UTF-8
608
      string: '{"organization":{"domain_ids":[2]}}'
609
    headers:
610
      Accept:
611
      - application/json;version=2
612
      Accept-Encoding:
613
      - gzip, deflate
614
      User-Agent:
615
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
616
      Content-Type:
617
      - application/json
618
      Accept-Language:
619
      - en
620
      Content-Length:
621
      - '35'
622
      Host:
623
      - satlap.example.com
624
  response:
625
    status:
626
      code: 200
627
      message: OK
628
    headers:
629
      Date:
630
      - Tue, 13 Dec 2016 14:48:39 GMT
631
      Server:
632
      - Apache/2.4.6 (Red Hat Enterprise Linux)
633
      X-Frame-Options:
634
      - SAMEORIGIN
635
      X-Xss-Protection:
636
      - 1; mode=block
637
      X-Content-Type-Options:
638
      - nosniff
639
      Foreman-Version:
640
      - 1.11.0.54
641
      Foreman-Api-Version:
642
      - '2'
643
      Apipie-Checksum:
644
      - e1df2e8d43e22495b02a53b48e3b5298
645
      Cache-Control:
646
      - max-age=0, private, must-revalidate
647
      X-Request-Id:
648
      - a4b4e445-e979-42f5-b5c0-a01545159834
649
      X-Runtime:
650
      - '0.295935'
651
      X-Powered-By:
652
      - Phusion Passenger 4.0.18
653
      Set-Cookie:
654
      - _session_id=e2db396e9354aeb01a5ffc59d08ca094; path=/; secure; HttpOnly
655
      - request_method=PUT; path=/
656
      Etag:
657
      - '"c210fe19d223128583909b5a172926ed-gzip"'
658
      Status:
659
      - 200 OK
660
      Vary:
661
      - Accept-Encoding
662
      Content-Length:
663
      - '13546'
664
      Content-Type:
665
      - application/json; charset=utf-8
666
    body:
667
      encoding: ASCII-8BIT
668
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-12-13
669
        10:58:26 UTC","updated_at":"2016-12-13 14:48:39 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":8,"name":"Test
670
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"sat-rhel7.example.com","id":1,"url":"https://sat-rhel7.example.com:9090"}],"subnets":[{"id":1,"name":"Test
671
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":7,"name":"Alterator
672
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
673
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
674
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
675
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
676
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
677
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
678
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
679
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
680
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
681
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
682
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
683
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
684
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
685
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
686
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
687
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
688
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
689
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
690
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
691
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
692
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
693
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
694
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
695
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
696
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
697
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
698
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
699
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
700
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
701
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
702
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
703
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
704
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
705
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
706
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
707
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
708
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
709
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
710
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
711
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
712
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
713
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
714
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
715
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
716
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Suse","created_at":"2016-12-07
717
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire
718
        SCSI disk","id":54},{"os_family":"Suse","created_at":"2016-12-07 03:03:57
719
        UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"AutoYaST entire virtual
720
        disk","id":55},{"os_family":"Suse","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
721
        03:03:57 UTC","name":"AutoYaST LVM","id":56},{"os_family":"Coreos","created_at":"2016-12-07
722
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"CoreOS default
723
        fake","id":57},{"os_family":"Freebsd","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
724
        03:03:57 UTC","name":"FreeBSD","id":58},{"os_family":"Solaris","created_at":"2016-12-07
725
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart default","id":59},{"os_family":"Solaris","created_at":"2016-12-07
726
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Jumpstart mirrored","id":60},{"os_family":"Junos","created_at":"2016-12-07
727
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Junos default
728
        fake","id":64},{"os_family":"Redhat","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
729
        03:03:57 UTC","name":"Kickstart default","id":61},{"os_family":"NXOS","created_at":"2016-12-07
730
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"NX-OS default
731
        fake","id":65},{"os_family":"Debian","created_at":"2016-12-07 03:03:57 UTC","updated_at":"2016-12-07
732
        03:03:57 UTC","name":"Preseed custom LVM","id":63},{"os_family":"Debian","created_at":"2016-12-07
733
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","name":"Preseed default","id":62}],"provisioning_templates":[{"id":7,"name":"Alterator
734
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":8,"name":"Alterator
735
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":9,"name":"Alterator
736
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":41,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":10,"name":"Atomic
737
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":11,"name":"AutoYaST
738
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
739
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":13,"name":"AutoYaST
740
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":12,"name":"AutoYaST
741
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"Boot
742
        disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":71,"name":"Boot
743
        disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":42,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":15,"name":"CoreOS
744
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":16,"name":"CoreOS
745
        PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":73,"name":"Discovery
746
        Red Hat kexec","template_kind_id":11,"template_kind_name":"kexec"},{"id":44,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"FreeBSD
747
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":18,"name":"FreeBSD
748
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":19,"name":"FreeBSD
749
        (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":46,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":20,"name":"Grubby
750
        default","template_kind_id":7,"template_kind_name":"script"},{"id":47,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":89,"name":"idm_register","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Jumpstart
751
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Jumpstart
752
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":23,"name":"Jumpstart
753
        default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":39,"name":"Junos
754
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":37,"name":"Junos
755
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"Junos
756
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":26,"name":"Kickstart
757
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Kickstart
758
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":27,"name":"Kickstart
759
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":29,"name":"Kickstart
760
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":48,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":40,"name":"NX-OS
761
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":30,"name":"Preseed
762
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":31,"name":"Preseed
763
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Preseed
764
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":32,"name":"Preseed
765
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":34,"name":"Preseed
766
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":49,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub
767
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":5,"name":"PXELinux
768
        chain iPXE","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":6,"name":"PXELinux
769
        chain iPXE UNDI","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":2,"name":"PXELinux
770
        default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux
771
        default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux
772
        global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":51,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":90,"name":"Satellite
773
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":86,"name":"Satellite
774
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":88,"name":"Satellite
775
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Satellite
776
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":69,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":35,"name":"UserData
777
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"WAIK
778
        default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[{"id":2,"name":"Default
779
        Location","title":"Default Location","description":null}],"parameters":[]}'
780
    http_version: 
781
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
782
recorded_with: VCR 3.0.3