Project

General

Profile

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

hammer-cli-csv / test / fixtures / vcr_cassettes / setup / setup_domains / setup.yml @ 4a6b2238

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
      - Mon, 19 Dec 2016 16:43:51 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.61
35
      Foreman-Api-Version:
36
      - '2'
37
      Apipie-Checksum:
38
      - 9793fd9909c89b81479655ed560c4340
39
      Cache-Control:
40
      - max-age=0, private, must-revalidate
41
      X-Request-Id:
42
      - 1b6a939a-9227-4448-85a3-afac7087c4b3
43
      X-Runtime:
44
      - '0.039954'
45
      X-Powered-By:
46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=5e187f237277f8bd597dea74122e76c1; path=/; secure; HttpOnly
49
      Etag:
50
      - '"6ec0375dc2b106a955e67a8139b7d9c5"'
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.61","api_version":2}'
60
    http_version: 
61
  recorded_at: Mon, 19 Dec 2016 16:43:35 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
      - Mon, 19 Dec 2016 16:43:51 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.61
94
      Foreman-Api-Version:
95
      - '2'
96
      Apipie-Checksum:
97
      - 9793fd9909c89b81479655ed560c4340
98
      Cache-Control:
99
      - max-age=0, private, must-revalidate
100
      X-Request-Id:
101
      - 7fdf513e-2efb-4c01-84e4-1bc15eec2c7c
102
      X-Runtime:
103
      - '0.040129'
104
      X-Powered-By:
105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=c653ca351384d8d15919cc8acf6d36cf; path=/; secure; HttpOnly
108
      Etag:
109
      - '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
110
      Status:
111
      - 200 OK
112
      Vary:
113
      - Accept-Encoding
114
      Content-Length:
115
      - '1339'
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
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC4xMSJ9LHsiaWQiOiJm
137
        b3JlbWFuX2Jvb3RkaXNrIiwibmFtZSI6ImZvcmVtYW5fYm9vdGRpc2siLCJh
138
        dXRob3IiOiJEb21pbmljIENsZWFsIiwiZGVzY3JpcHRpb24iOiJQbHVnaW4g
139
        Zm9yIEZvcmVtYW4gdGhhdCBjcmVhdGVzIGlQWEUtYmFzZWQgYm9vdCBkaXNr
140
        cyB0byBwcm92aXNpb24gaG9zdHMgd2l0aG91dCB0aGUgbmVlZCBmb3IgUFhF
141
        IGluZnJhc3RydWN0dXJlLiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
142
        ZWZvcmVtYW4vZm9yZW1hbl9ib290ZGlzayIsInZlcnNpb24iOiI2LjEuMC4z
143
        In0seyJpZCI6ImZvcmVtYW5fZGlzY292ZXJ5IiwibmFtZSI6ImZvcmVtYW5f
144
        ZGlzY292ZXJ5IiwiYXV0aG9yIjoiQW1vcyBCZW5hcmksQnJ5YW4gS2Vhcm5l
145
        eSxDaGFpcm1hblR1YmVBbXAsRGFuaWVsIExvYmF0byBHYXJjw61hLERvbWlu
146
        aWMgQ2xlYWwsRXJpYyBELiBIZWxtcyxGcmFuayBXYWxsLEdyZWcgU3V0Y2xp
147
        ZmZlLEltcmkgWnZpayxKb3NlcGggTWl0Y2hlbGwgTWFnZW4sTHVrYXMgWmFw
148
        bGV0YWwsTHVrw6HFoSBaYXBsZXRhbCxNYXJlayBIdWxhbixNYXJ0aW4gQmHE
149
        jW92c2vDvSxNYXR0IEphcnZpcyxNaWNoYWVsIE1vbGwsTmljayxPaGFkIExl
150
        dnksT3JpIFJhYmluLFBldHIgQ2hhbHVwYSxQaGlyaW5jZSBQaGlsaXAsU2N1
151
        YmFmbG95ZCxTaGxvbWkgWmFkb2ssU3RlcGhlbiBCZW5qYW1pbixZYW5uIEPD
152
        qXphcmQiLCJkZXNjcmlwdGlvbiI6Ik1hYVMgRGlzY292ZXJ5IFBsdWdpbiBl
153
        bmdpbmUgZm9yIEZvcmVtYW4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90
154
        aGVmb3JlbWFuL2ZvcmVtYW5fZGlzY292ZXJ5IiwidmVyc2lvbiI6IjUuMC4w
155
        LjkifSx7ImlkIjoiZm9yZW1hbl9kb2NrZXIiLCJuYW1lIjoiZm9yZW1hbl9k
156
        b2NrZXIiLCJhdXRob3IiOiJEYW5pZWwgTG9iYXRvLCBBbW9zIEJlbmFyaSIs
157
        ImRlc2NyaXB0aW9uIjoiUHJvdmlzaW9uIGFuZCBtYW5hZ2UgRG9ja2VyIGNv
158
        bnRhaW5lcnMgYW5kIGltYWdlcyBmcm9tIEZvcmVtYW4uIiwidXJsIjoiaHR0
159
        cDovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9mb3JlbWFuLWRvY2tlciIsInZl
160
        cnNpb24iOiIyLjAuMS4xMSJ9LHsiaWQiOiJmb3JlbWFuX2hvb2tzIiwibmFt
161
        ZSI6ImZvcmVtYW5faG9va3MiLCJhdXRob3IiOiJEb21pbmljIENsZWFsIiwi
162
        ZGVzY3JpcHRpb24iOiJQbHVnaW4gZW5naW5lIGZvciBGb3JlbWFuIHRoYXQg
163
        ZW5hYmxlcyBydW5uaW5nIGN1c3RvbSBob29rIHNjcmlwdHMgb24gRm9yZW1h
164
        biBldmVudHMiLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVmb3JlbWFu
165
        L2ZvcmVtYW5faG9va3MiLCJ2ZXJzaW9uIjoiMC4zLjExIn0seyJpZCI6ImZv
166
        cmVtYW5fb3BlbnNjYXAiLCJuYW1lIjoiZm9yZW1hbl9vcGVuc2NhcCIsImF1
167
        dGhvciI6IsWgaW1vbiBMdWthxaHDrWssU2hsb21pIFphZG9rLE1hcmVrIEh1
168
        bGFuLE9uZHJlaiBQcmF6YWsiLCJkZXNjcmlwdGlvbiI6IkZvcmVtYW4gcGx1
169
        Zy1pbiBmb3IgbWFuYWdpbmcgc2VjdXJpdHkgY29tcGxpYW5jZSByZXBvcnRz
170
        IiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL09wZW5TQ0FQL2ZvcmVtYW5f
171
        b3BlbnNjYXAiLCJ2ZXJzaW9uIjoiMC41LjMuMTgifSx7ImlkIjoiZm9yZW1h
172
        bl9yZW1vdGVfZXhlY3V0aW9uIiwibmFtZSI6ImZvcmVtYW5fcmVtb3RlX2V4
173
        ZWN1dGlvbiIsImF1dGhvciI6IkZvcmVtYW4gUmVtb3RlIEV4ZWN1dGlvbiB0
174
        ZWFtIiwiZGVzY3JpcHRpb24iOiJBIHBsdWdpbiBicmluZ2luZyByZW1vdGUg
175
        ZXhlY3V0aW9uIHRvIHRoZSBGb3JlbWFuLCBjb21wbGV0aW5nIHRoZSBjb25m
176
        aWcgbWFuYWdlbWVudCBmdW5jdGlvbmFsaXR5IHdpdGggcmVtb3RlIG1hbmFn
177
        ZW1lbnQgZnVuY3Rpb25hbGl0eS4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5j
178
        b20vdGhlZm9yZW1hbi9mb3JlbWFuX3JlbW90ZV9leGVjdXRpb24iLCJ2ZXJz
179
        aW9uIjoiMC4zLjAuMTIifSx7ImlkIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxp
180
        dGUiLCJuYW1lIjoiZm9yZW1hbl90aGVtZV9zYXRlbGxpdGUiLCJhdXRob3Ii
181
        OiJBbG9uIEdvbGRib2ltLCBTaGltb24gU3RlaW4iLCJkZXNjcmlwdGlvbiI6
182
        IlRoaXMgaXMgYSBwbHVnaW4gdGhhdCBlbmFibGVzIGJ1aWxkaW5nIGEgdGhl
183
        bWUgZm9yIEZvcmVtYW4uIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2Fs
184
        b25nb2xkYm9pbS9mb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsInZlcnNpb24i
185
        OiIwLjEuMzYifSx7ImlkIjoia2F0ZWxsbyIsIm5hbWUiOiJrYXRlbGxvIiwi
186
        YXV0aG9yIjoiTi9BIiwiZGVzY3JpcHRpb24iOiJDb250ZW50IGFuZCBTdWJz
187
        Y3JpcHRpb24gTWFuYWdlbWVudCBwbHVnaW4gZm9yIEZvcmVtYW4iLCJ1cmwi
188
        OiJodHRwOi8vd3d3LmthdGVsbG8ub3JnIiwidmVyc2lvbiI6IjMuMC4wLjkw
189
        In0seyJpZCI6InJlZGhhdF9hY2Nlc3MiLCJuYW1lIjoicmVkaGF0X2FjY2Vz
190
        cyIsImF1dGhvciI6IkxpbmRhbmkgUGhpcmkiLCJkZXNjcmlwdGlvbiI6IlRo
191
        aXMgcGx1Z2luIGFkZHMgUmVkIEhhdCBBY2Nlc3Mga25vd2xlZGdlIGJhc2Ug
192
        c2VhcmNoLCBjYXNlIG1hbmFnZW1lbnQgYW5kIGRpYWdub3N0aWNzIHRvIEZv
193
        cmVtYW4iLCJ1cmwiOiJodHRwOi8vd3d3LmxwaGlyaS5yZWRoYXQuY29tIiwi
194
        dmVyc2lvbiI6IjEuMC4xMyJ9XQp9Cg==
195
    http_version: 
196
  recorded_at: Mon, 19 Dec 2016 16:43:35 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
      - Mon, 19 Dec 2016 16:43:51 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.61
233
      Foreman-Api-Version:
234
      - '2'
235
      Apipie-Checksum:
236
      - 9793fd9909c89b81479655ed560c4340
237
      Cache-Control:
238
      - max-age=0, private, must-revalidate
239
      X-Request-Id:
240
      - e7b8c8e8-ab4e-4495-a6ff-8dd13aaa54ea
241
      X-Runtime:
242
      - '0.042181'
243
      X-Powered-By:
244
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=a24d457318489301703b9f29dcb68577; 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: Mon, 19 Dec 2016 16:43:35 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
      - Mon, 19 Dec 2016 16:43:52 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.61
312
      Foreman-Api-Version:
313
      - '2'
314
      Apipie-Checksum:
315
      - 9793fd9909c89b81479655ed560c4340
316
      Cache-Control:
317
      - max-age=0, private, must-revalidate
318
      X-Request-Id:
319
      - 9918dbb3-d98b-4dfa-b66b-54539d6801b2
320
      X-Runtime:
321
      - '0.063367'
322
      X-Powered-By:
323
      - Phusion Passenger 4.0.18
324
      Set-Cookie:
325
      - _session_id=467d53ea331d8a1cbc7c2442d032e945; 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: Mon, 19 Dec 2016 16:43:35 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
      - Mon, 19 Dec 2016 16:43:52 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.61
381
      Foreman-Api-Version:
382
      - '2'
383
      Apipie-Checksum:
384
      - 9793fd9909c89b81479655ed560c4340
385
      Cache-Control:
386
      - max-age=0, private, must-revalidate
387
      X-Request-Id:
388
      - 03e5fe11-4eb1-4f95-92d8-cc7ae9f8b0e4
389
      X-Runtime:
390
      - '0.051184'
391
      X-Powered-By:
392
      - Phusion Passenger 4.0.18
393
      Set-Cookie:
394
      - _session_id=5da3502213037e4e235b39e283477329; path=/; secure; HttpOnly
395
      Etag:
396
      - '"f1bc20326d93260c86807cfd4749cd80-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-19 16:42:44 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
419
        }
420
    http_version: 
421
  recorded_at: Mon, 19 Dec 2016 16:43:35 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
      - Mon, 19 Dec 2016 16:43:52 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.61
458
      Foreman-Api-Version:
459
      - '2'
460
      Apipie-Checksum:
461
      - 9793fd9909c89b81479655ed560c4340
462
      Cache-Control:
463
      - max-age=0, private, must-revalidate
464
      X-Request-Id:
465
      - f4188605-12f2-40cb-9fff-99399ecd65a9
466
      X-Runtime:
467
      - '0.287047'
468
      X-Powered-By:
469
      - Phusion Passenger 4.0.18
470
      Set-Cookie:
471
      - _session_id=1c6de5ea1b8429040b8af4024ae70407; path=/; secure; HttpOnly
472
      Etag:
473
      - '"c0f22016708fafb7b2a32908bd8c1cde-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":"4028f99159040819015917f7360505fe","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+D8vV+ryhns1t7EPsL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----\n","id":"4028f99159040819015917f7360405fd","serial":{"id":1876219475313738186,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":1876219475313738186,"created":"2016-12-19T16:43:14.305+0000","updated":"2016-12-19T16:43:14.305+0000"},"created":"2016-12-19T16:43:14.308+0000","updated":"2016-12-19T16:43:14.308+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-19T16:43:14.309+0000","updated":"2016-12-19T16:43:14.309+0000"},"logLevel":null,"autobindDisabled":null,"href":"/owners/testcorp","created":"2016-12-13T10:58:27.551+0000","updated":"2016-12-19T16:43:14.418+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-19
490
        16:42:44 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: Mon, 19 Dec 2016 16:43:36 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
      - Mon, 19 Dec 2016 16:43:52 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.61
641
      Foreman-Api-Version:
642
      - '2'
643
      Apipie-Checksum:
644
      - 9793fd9909c89b81479655ed560c4340
645
      Cache-Control:
646
      - max-age=0, private, must-revalidate
647
      X-Request-Id:
648
      - 292a6db0-04b2-4947-bc83-5d030b06c5b7
649
      X-Runtime:
650
      - '0.349277'
651
      X-Powered-By:
652
      - Phusion Passenger 4.0.18
653
      Set-Cookie:
654
      - _session_id=ad2e4d4bd7553ae28b135e8372851bcd; path=/; secure; HttpOnly
655
      - request_method=PUT; path=/
656
      Etag:
657
      - '"4ea0d498f88fab8b3056ca4a6e82c484-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-19 16:43:52 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: Mon, 19 Dec 2016 16:43:36 GMT
782
recorded_with: VCR 3.0.3