Project

General

Profile

Revision 1327c177

Added by Thomas McKay about 6 years ago

vcr - full recording

View differences:

test/fixtures/vcr_cassettes/resources/subnets/update_subnets_continue.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@katello.example.com:50191/api/smart_proxies?per_page=999999&search=name=%22katello.example.com%22
5
    uri: https://admin:changeme@satlap.example.com/api/status
6 6
    body:
7 7
      encoding: US-ASCII
8 8
      string: ''
9 9
    headers:
10
      Accept:
11
      - application/json;version=2
12 10
      Accept-Encoding:
13
      - gzip, deflate
11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
      Accept:
13
      - "*/*"
14 14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
16
      Content-Type:
17
      - application/json
15
      - Ruby
18 16
      Host:
19
      - katello.example.com:50191
17
      - satlap.example.com
20 18
  response:
21 19
    status:
22 20
      code: 200
23 21
      message: OK
24 22
    headers:
25 23
      Date:
26
      - Mon, 12 Sep 2016 15:38:35 GMT
24
      - Tue, 13 Dec 2016 14:47:53 GMT
27 25
      Server:
28
      - Apache/2.4.6 (CentOS)
26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
29 27
      X-Frame-Options:
30 28
      - SAMEORIGIN
31 29
      X-Xss-Protection:
......
33 31
      X-Content-Type-Options:
34 32
      - nosniff
35 33
      Foreman-Version:
36
      - 1.14.0-develop
34
      - 1.11.0.54
37 35
      Foreman-Api-Version:
38 36
      - '2'
39
      Content-Type:
40
      - application/json; charset=utf-8
41 37
      Apipie-Checksum:
42
      - 9544abef9cf8343005f07ed8c9f1f8e7
43
      Etag:
44
      - W/"3202a4ce0538470b4314302cc490a116-gzip"
38
      - e1df2e8d43e22495b02a53b48e3b5298
45 39
      Cache-Control:
46 40
      - max-age=0, private, must-revalidate
47 41
      X-Request-Id:
48
      - 760b90cf-ac1b-45f8-9262-3c4b503eae69
42
      - 90b0e2b7-d0ba-49fd-ab55-b38d719c14d9
49 43
      X-Runtime:
50
      - '0.256880'
51
      Via:
52
      - 1.1 katello.example.com:50191
53
      Vary:
54
      - Accept-Encoding
55
      Content-Length:
56
      - '500'
44
      - '0.027071'
45
      X-Powered-By:
46
      - Phusion Passenger 4.0.18
57 47
      Set-Cookie:
58
      - _session_id=8865703210e40e7b2fcbcb815f9a2d55; path=/; HttpOnly
59
    body:
60
      encoding: ASCII-8BIT
61
      string: |
62
        {
63
          "total": 1,
64
          "subtotal": 1,
65
          "page": 1,
66
          "per_page": 999999,
67
          "search": "name=\"katello.example.com\"",
68
          "sort": {
69
            "by": null,
70
            "order": null
71
          },
72
          "results": [{"created_at":"2016-09-02 14:10:14 UTC","updated_at":"2016-09-02 14:10:14 UTC","name":"katello.example.com","id":1,"url":"https://katello.example.com:9090","features":[{"name":"Pulp","id":2},{"name":"TFTP","id":4},{"name":"Puppet","id":7},{"name":"Puppet CA","id":8},{"name":"Logs","id":12},{"name":"Dynflow","id":13}]}]
73
        }
74
    http_version: 
75
  recorded_at: Mon, 12 Sep 2016 15:38:35 GMT
76
- request:
77
    method: post
78
    uri: https://admin:changeme@katello.example.com:50191/api/subnets
79
    body:
80
      encoding: UTF-8
81
      string: '{"subnet":{"name":"Bad Subnet","network":"192.168.100.1","mask":"255.255.255.0","from":"bad","to":null,"domain_ids":[2],"tftp_id":1,"dns_id":null,"dhcp_id":null}}'
82
    headers:
83
      Accept:
84
      - application/json;version=2
85
      Accept-Encoding:
86
      - gzip, deflate
87
      User-Agent:
88
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
89
      Content-Type:
90
      - application/json
48
      - _session_id=6f52494af27bacbdf9b517e267fdc959; path=/; secure; HttpOnly
49
      Etag:
50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
51
      Status:
52
      - 200 OK
91 53
      Content-Length:
92
      - '162'
93
      Host:
94
      - katello.example.com:50191
95
  response:
96
    status:
97
      code: 422
98
      message: Unprocessable Entity
99
    headers:
100
      Date:
101
      - Mon, 12 Sep 2016 15:38:35 GMT
102
      Server:
103
      - Apache/2.4.6 (CentOS)
104
      X-Frame-Options:
105
      - SAMEORIGIN
106
      X-Xss-Protection:
107
      - 1; mode=block
108
      X-Content-Type-Options:
109
      - nosniff
110
      Foreman-Version:
111
      - 1.14.0-develop
112
      Foreman-Api-Version:
113
      - '2'
54
      - '66'
114 55
      Content-Type:
115 56
      - application/json; charset=utf-8
116
      Apipie-Checksum:
117
      - 9544abef9cf8343005f07ed8c9f1f8e7
118
      Cache-Control:
119
      - no-cache
120
      X-Request-Id:
121
      - efd6a172-05c5-4390-bf10-1bf44d850c72
122
      X-Runtime:
123
      - '0.254038'
124
      Via:
125
      - 1.1 katello.example.com:50191
126
      Set-Cookie:
127
      - _session_id=ea237045a6cef8874844756148c30560; path=/; HttpOnly
128
      - request_method=POST; path=/
129
      Transfer-Encoding:
130
      - chunked
131 57
    body:
132 58
      encoding: UTF-8
133
      string: |
134
        {
135
          "error": {"id":null,"errors":{"from":["is invalid"],"to":["must be specified if from is defined"]},"full_messages":["Start of IP range is invalid","End of IP range must be specified if from is defined"]}
136
        }
59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
137 60
    http_version: 
138
  recorded_at: Mon, 12 Sep 2016 15:38:35 GMT
61
  recorded_at: Tue, 13 Dec 2016 14:47:51 GMT
139 62
- request:
140 63
    method: get
141
    uri: https://admin:changeme@katello.example.com:50191/api/domains?per_page=999999&search=name=%22example.com%22
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
142 65
    body:
143 66
      encoding: US-ASCII
144 67
      string: ''
145 68
    headers:
146
      Accept:
147
      - application/json;version=2
148 69
      Accept-Encoding:
149
      - gzip, deflate
150
      User-Agent:
151
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
152
      Content-Type:
153
      - application/json
154
      Host:
155
      - katello.example.com:50191
156
  response:
157
    status:
158
      code: 200
159
      message: OK
160
    headers:
161
      Date:
162
      - Mon, 12 Sep 2016 15:38:35 GMT
163
      Server:
164
      - Apache/2.4.6 (CentOS)
165
      X-Frame-Options:
166
      - SAMEORIGIN
167
      X-Xss-Protection:
168
      - 1; mode=block
169
      X-Content-Type-Options:
170
      - nosniff
171
      Foreman-Version:
172
      - 1.14.0-develop
173
      Foreman-Api-Version:
174
      - '2'
175
      Content-Type:
176
      - application/json; charset=utf-8
177
      Apipie-Checksum:
178
      - 9544abef9cf8343005f07ed8c9f1f8e7
179
      Etag:
180
      - W/"c9d16f56519ba244d5862ac40d01a67b-gzip"
181
      Cache-Control:
182
      - max-age=0, private, must-revalidate
183
      X-Request-Id:
184
      - 73a9f913-d42d-4f9e-a936-1ea770623c22
185
      X-Runtime:
186
      - '0.219914'
187
      Via:
188
      - 1.1 katello.example.com:50191
189
      Vary:
190
      - Accept-Encoding
191
      Content-Length:
192
      - '308'
193
      Set-Cookie:
194
      - _session_id=05265b47d176bf083be30a666b532f82; path=/; HttpOnly
195
    body:
196
      encoding: ASCII-8BIT
197
      string: |
198
        {
199
          "total": 2,
200
          "subtotal": 1,
201
          "page": 1,
202
          "per_page": 999999,
203
          "search": "name=\"example.com\"",
204
          "sort": {
205
            "by": null,
206
            "order": null
207
          },
208
          "results": [{"fullname":"","dns_id":null,"created_at":"2016-09-02 15:11:17 UTC","updated_at":"2016-09-08 20:29:23 UTC","id":1,"name":"example.com"}]
209
        }
210
    http_version: 
211
  recorded_at: Mon, 12 Sep 2016 15:38:36 GMT
212
- request:
213
    method: put
214
    uri: https://admin:changeme@katello.example.com:50191/api/subnets/5
215
    body:
216
      encoding: UTF-8
217
      string: '{"subnet":{"name":"Test Subnet","network":"192.168.100.1","mask":"255.255.255.0","from":"","to":"","domain_ids":[1],"tftp_id":1,"dns_id":null,"dhcp_id":null}}'
218
    headers:
70
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
219 71
      Accept:
220
      - application/json;version=2
221
      Accept-Encoding:
222
      - gzip, deflate
72
      - "*/*"
223 73
      User-Agent:
224
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
225
      Content-Type:
226
      - application/json
227
      Content-Length:
228
      - '158'
74
      - Ruby
229 75
      Host:
230
      - katello.example.com:50191
76
      - satlap.example.com
231 77
  response:
232 78
    status:
233 79
      code: 200
234 80
      message: OK
235 81
    headers:
236 82
      Date:
237
      - Mon, 12 Sep 2016 15:38:35 GMT
83
      - Tue, 13 Dec 2016 14:47:53 GMT
238 84
      Server:
239
      - Apache/2.4.6 (CentOS)
85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
240 86
      X-Frame-Options:
241 87
      - SAMEORIGIN
242 88
      X-Xss-Protection:
......
244 90
      X-Content-Type-Options:
245 91
      - nosniff
246 92
      Foreman-Version:
247
      - 1.14.0-develop
93
      - 1.11.0.54
248 94
      Foreman-Api-Version:
249 95
      - '2'
250
      Content-Type:
251
      - application/json; charset=utf-8
252 96
      Apipie-Checksum:
253
      - 9544abef9cf8343005f07ed8c9f1f8e7
254
      Etag:
255
      - W/"720ba0a88deb0de5ec9ab0dfeab64a74-gzip"
97
      - e1df2e8d43e22495b02a53b48e3b5298
256 98
      Cache-Control:
257 99
      - max-age=0, private, must-revalidate
258 100
      X-Request-Id:
259
      - c2d14167-ff71-469f-a159-b77f0fdbaff9
101
      - f38ac198-3d20-4d1f-86f2-1be42df3aa16
260 102
      X-Runtime:
261
      - '1.424198'
262
      Via:
263
      - 1.1 katello.example.com:50191
264
      Vary:
265
      - Accept-Encoding
266
      Content-Length:
267
      - '771'
103
      - '0.031554'
104
      X-Powered-By:
105
      - Phusion Passenger 4.0.18
268 106
      Set-Cookie:
269
      - _session_id=10226b8de23515436ecfe7acd85a8b97; path=/; HttpOnly
270
      - request_method=PUT; path=/
271
    body:
272
      encoding: ASCII-8BIT
273
      string: '{"network":"192.168.100.1","network_type":"IPv4","cidr":24,"mask":"255.255.255.0","priority":null,"vlanid":null,"gateway":null,"dns_primary":null,"dns_secondary":null,"from":"","to":"","created_at":"2016-09-09
274
        19:21:18 UTC","updated_at":"2016-09-09 19:21:18 UTC","ipam":"None","boot_mode":"DHCP","id":5,"name":"Test
275
        Subnet","network_address":"192.168.100.1/24","dhcp":null,"tftp":{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"},"dns":null,"domains":[{"id":1,"name":"example.com"}],"interfaces":[],"parameters":[],"locations":[{"id":2,"name":"Default
276
        Location","title":"Default Location","description":null}],"organizations":[{"id":9,"name":"Test
277
        Corporation","title":"Test Corporation","description":"Testing today for a
278
        better tomorrow"}]}'
279
    http_version: 
280
  recorded_at: Mon, 12 Sep 2016 15:38:37 GMT
281
- request:
282
    method: get
283
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
284
    body:
285
      encoding: US-ASCII
286
      string: ''
287
    headers:
288
      Accept:
289
      - application/json;version=2
290
      Accept-Encoding:
291
      - gzip, deflate
292
      User-Agent:
293
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
294
      Content-Type:
295
      - application/json
296
      Host:
297
      - katello.example.com:50191
298
  response:
299
    status:
300
      code: 200
301
      message: OK
302
    headers:
303
      Date:
304
      - Mon, 12 Sep 2016 15:38:37 GMT
305
      Server:
306
      - Apache/2.4.6 (CentOS)
307
      X-Frame-Options:
308
      - SAMEORIGIN
309
      X-Xss-Protection:
310
      - 1; mode=block
311
      X-Content-Type-Options:
312
      - nosniff
313
      Foreman-Version:
314
      - 1.14.0-develop
315
      Foreman-Api-Version:
316
      - '2'
317
      Content-Type:
318
      - application/json; charset=utf-8
319
      Apipie-Checksum:
320
      - 9544abef9cf8343005f07ed8c9f1f8e7
107
      - _session_id=938ce4c3800b567b640b9285d381b962; path=/; secure; HttpOnly
321 108
      Etag:
322
      - W/"253ac9fa8c0d829e51da8f57b05de99d-gzip"
323
      Cache-Control:
324
      - max-age=0, private, must-revalidate
325
      X-Request-Id:
326
      - dce33044-25f1-4b15-8a11-63c347f420c7
327
      X-Runtime:
328
      - '3.694960'
329
      Via:
330
      - 1.1 katello.example.com:50191
109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110
      Status:
111
      - 200 OK
331 112
      Vary:
332 113
      - Accept-Encoding
333 114
      Content-Length:
334
      - '21851'
335
      Set-Cookie:
336
      - _session_id=a152ebb0ef581dd974205e8e238a88e0; path=/; HttpOnly
337
    body:
338
      encoding: ASCII-8BIT
339
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
340
        Corporation","contentPrefix":"/testcorp/$env","defaultServiceLevel":null,"upstreamConsumer":{"id":"ff80808156eb30a6015704818a920660","uuid":"d45ac754-56e8-425e-a6ef-2028953f6f2c","name":"TestCorp","idCert":{"key":"-----BEGIN
341
        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+ryhns1t7EPsLUk8+WZtsNq6eGXt\nN/sKfLY7+q6hRxyE+y6QQeyBexoe4OnELeeb9KFxpE9H8TV67Ed9jqLbtXsR/8Nq\nWZW7ZYHBuvYuGHgZQWY9wWks3HW1ygC+y1BpfeYA9z85HH+t1x7mG8lOBoe0eV95\nhmHDwQInPPdBB20szGTRB2UjKmFCIGX/EYn/RJZvi/kxlpTzSLTiBDDUKqjAyWC/\ngdRhp/0CgYEA7qh1ng34FXTXYs0otOpCTrjnB17vdJb1SAc2kvWSQiCr9Gr5etGR\nDu7g6EAAvsV8HbQkcBmXyqnVuDhR0Ijt0UaldqGWbpmAcspHMDsy1uDn24qjbZoI\ncC3wQhsy3+8zNRYlbELeJjgzacYRmmtZNc2ML5As5XX8VVji3JqmZUMCgYEAqIjv\nPV4SfqrOv4NFcEvQf32tyiVxXDH4H/WpjHM2ZcAklE4esQkyBqf/2lHcZPrhoaQm\n8OGrquMytXo2TRGypl0syZ49GFq/FUFQbkl8zZpt3OCMkud6RvBmmftYSVCNoyZc\nySBusvO3SgpZYZwJx3FmeH/2gp0YAldH+tQo0lcCgYEAjhkVdtcgaD4aZER9QULd\n2htzy0q2Tnf3cTyCPPwkamUjnTL4ei0/LmIC3aYGC5BwNwtkSq6iV1PJ4Zb+96gf\n2WQz7q+FbzLMbQyNWGVW/uQIiQpCBmcZMRnZHLMvFnBI0AnwnEYwGReLXSZGoufZ\nxRQurL8uTC104ag741fdTRsCgYAtWaOezMiHQykdCZLO0+fH1qbEJW0qlNuipfU4\nsOvrV1fAfIDvvHy0o9JKCgsXNRcv6r77xI3wDvDfOoKQHHoJIDtkCWuBOTH/4zJk\nauvlW2/Cpr3M7fLOUfQZ7TNljwJ9612+VTbUepZQmxZQGK/c9hvPwwcvQFxsjNX2\nnc5aQwKBgGZIGnz4X92HBVa0pR27q+2sebWCxjpREPoEE4HnPivn6Vgy6j40O3VB\nikaW6laDlWHPzYorQeLcZLoiI6yBn5v3unT4Aq74c/mgjBZbsJs+BC6WILWpeV3s\nlN7WgGVHSbBqaBAkMdIrH6IK8dnjYsHq5yO9xtdYmkVZoHEoah8h\n-----END
342
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIFqTCCA5GgAwIBAgIIBitiT9Rbj7QwDQYJKoZIhvcNAQEFBQAwgaQxCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMSQwIgYDVQQDDBtSZWQg\nSGF0IENhbmRsZXBpbiBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNhLXN1cHBv\ncnRAcmVkaGF0LmNvbTAeFw0xNjA4MTYxMjI5MzFaFw0xNzA4MTYxMjI5MzFaMC8x\nLTArBgNVBAMTJGQ0NWFjNzU0LTU2ZTgtNDI1ZS1hNmVmLTIwMjg5NTNmNmYyYzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ0eNbawx+iyeE6G6e967LzO\n0pfpzCLVzVux0o4SkIO/JxaLTGhkQfV0t8+8Myrbp6iB3I9/FMBgRNNaiyDu2gVy\nRwHg4mVSXUWqtN33KUFNzssAsM483yEcWD/LuUtW4xOtEF8L/mqNJ2xGCeORAZhc\nmy+jSQXAE7Lz02nUc8tt+pJNIZziZfiF11PtvXho2Oxll45vkGH//whzfp4BIfIP\n7MUmnwzOsO2ZT4vRyUmlyt+t0f57svuCqmBNDB2v+yMm/h58kBJ/107hSyZN/xCq\n+4MMTlVdop+gkBHlyzblnpNV7VMwQy/4zzaKMBTNfJJmAQYOfzN4KjF+HlwVX8UC\nAwEAAaOCAVEwggFNMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMCBLAwgd4G\nA1UdIwSB1jCB04AUdy6lzTcNqOHT6mHFVmdD6JHHbRyhgbekgbQwgbExCzAJBgNV\nBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEWMBQGA1UECgwNUmVkIEhh\ndCwgSW5jLjEYMBYGA1UECwwPUmVkIEhhdCBOZXR3b3JrMTEwLwYDVQQDDChSZWQg\nSGF0IEVudGl0bGVtZW50IE9wZXJhdGlvbnMgQXV0aG9yaXR5MSQwIgYJKoZIhvcN\nAQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb22CAT8wHQYDVR0OBBYEFI7UL/Bk0UoE\n9FSjYlUJle0cykonMBMGA1UdJQQMMAoGCCsGAQUFBwMCMBYGA1UdEQQPMA2GC0NO\nPVRlc3RDb3JwMA0GCSqGSIb3DQEBBQUAA4ICAQBp4djGKuE+NCfYE0Br3IlpKnrm\nCpDF8qs4/r9A/tr+PLLhDnRmzkygSJ7KsIUXYV8oW+QhU5fe2ggPaJFfynY2AVOc\nZHbwvHKoQoUUrVlZFkcwhWcL7vvTEJQUONaOOLUgAzGIdfAmBYPWBqbwf80croGh\nY5xBcNqRw3cxfi0joE+LY4brEW5vJF8DnxhEX0eIJtjas+zb3ckeUJgYIyirXdHJ\nqrAANWjUfh9JFehwjAigx6TnGK+pr+zpbKTX9O7lhmvsCf+82NVlZmY342IUE8Ss\npWjhsydl8NT80fGJV/1fwpgyos9EvpjayXh9bYxZhDkiHaUUL/WBInEdyi4xFJgf\nPXnaV+2q48/3oOVZa2Ng/vcaBG5nEZYvK+jTG205t9d9X9Tp46iH/mvyIH8VIF0H\np/OtIoRnGLjliYP0dHp91G4UTTEpg8Cxa77r77qlwASORsFF8MJGMKMJg/YNO7fQ\nCskpqb7UZfSXmvZ5AIZ/Kzncuj1IvZMLhjMr/QAwSO0/v/GnmSqLwMamM2viq8un\nef2TQy9Xcuxcp0n7mcDHUUaTpiW1tPc5ikUmCUQ2ZuNTjE6Noa0kSV3AHG3TbSkU\n+qT9B5RSL1YBAEw5xwttvjlju2jaYaYT6xI4LioXIVJ8lEwdrggxmqTj1ArgqP2c\nHAtS6vziTnwbP+sS3g==\n-----END
343
        CERTIFICATE-----\n","id":"ff80808156eb30a6015704818a91065f","serial":{"id":8261278538809906032,"revoked":false,"collected":false,"expiration":"2017-08-16T12:29:31.000+0000","serial":8261278538809906032,"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"created":"2016-09-07T11:56:21.009+0000","updated":"2016-09-07T11:56:21.009+0000"},"type":{"id":"ff80808156eb30a60156ebcdc4930005","label":"satellite","manifest":true,"created":"2016-09-02T16:49:06.195+0000","updated":"2016-09-02T16:49:06.195+0000"},"ownerId":"ff80808156eb30a60157024c785205e2","webUrl":"access.stage.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.stage.redhat.com/subscription/consumers/","created":"2016-09-07T11:56:21.010+0000","updated":"2016-09-07T11:56:21.010+0000"},"logLevel":null,"href":"/owners/testcorp","created":"2016-09-07T01:39:08.498+0000","updated":"2016-09-07T11:56:21.159+0000"},"redhat_repository_url":"https://cdn.redhat.com","service_levels":["Premium","Standard"],"service_level":null,"select_all_types":[],"description":"Testing
344
        today for a better tomorrow","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07
345
        01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
346
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
347
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
348
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
349
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
350
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
351
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
352
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
353
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
354
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
355
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
356
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
357
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
358
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
359
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
360
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
361
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
362
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
363
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
364
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
365
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
366
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
367
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
368
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
369
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
370
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
371
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
372
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
373
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
374
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
375
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
376
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
377
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
378
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
379
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
380
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
381
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
382
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
383
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
384
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
385
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
386
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
387
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
388
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
389
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
390
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
391
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
392
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
393
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
394
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
395
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
396
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
397
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
398
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
399
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
400
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
401
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
402
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
403
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
404
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
405
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
406
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
407
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
408
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
409
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
410
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
411
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
412
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
413
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
414
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
415
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
416
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
417
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
418
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
419
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
420
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
421
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
422
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
423
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
424
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
425
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
426
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
427
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
428
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
429
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
430
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
431
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
432
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
433
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
434
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
435
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
436
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
437
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
438
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
439
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
440
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
441
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
442
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
443
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
444
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
445
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
446
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
447
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
448
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
449
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
450
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
451
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
452
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
453
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
454
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
455
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
456
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
457
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
458
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
459
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
460
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
461
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
462
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
463
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
464
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
465
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
466
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
467
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
468
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
469
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
470
    http_version: 
471
  recorded_at: Mon, 12 Sep 2016 15:38:41 GMT
472
- request:
473
    method: put
474
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
475
    body:
476
      encoding: UTF-8
477
      string: '{"organization":{"subnet_ids":[5]}}'
478
    headers:
479
      Accept:
480
      - application/json;version=2
481
      Accept-Encoding:
482
      - gzip, deflate
483
      User-Agent:
484
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
485
      Content-Type:
486
      - application/json
487
      Content-Length:
488
      - '35'
489
      Host:
490
      - katello.example.com:50191
491
  response:
492
    status:
493
      code: 200
494
      message: OK
495
    headers:
496
      Date:
497
      - Mon, 12 Sep 2016 15:38:41 GMT
498
      Server:
499
      - Apache/2.4.6 (CentOS)
500
      X-Frame-Options:
501
      - SAMEORIGIN
502
      X-Xss-Protection:
503
      - 1; mode=block
504
      X-Content-Type-Options:
505
      - nosniff
506
      Foreman-Version:
507
      - 1.14.0-develop
508
      Foreman-Api-Version:
509
      - '2'
115
      - '1338'
510 116
      Content-Type:
511 117
      - application/json; charset=utf-8
512
      Apipie-Checksum:
513
      - 9544abef9cf8343005f07ed8c9f1f8e7
514
      Etag:
515
      - W/"629f8d491c90ac79b4b7bedb2e2e8c86-gzip"
516
      Cache-Control:
517
      - max-age=0, private, must-revalidate
518
      X-Request-Id:
519
      - 2e5dfd54-0265-43a3-8689-af0dd79b6136
520
      X-Runtime:
521
      - '4.052985'
522
      Via:
523
      - 1.1 katello.example.com:50191
524
      Vary:
525
      - Accept-Encoding
526
      Content-Length:
527
      - '16675'
528
      Set-Cookie:
529
      - _session_id=4154efed09a6e91b9a328ae27a39a241; path=/; HttpOnly
530
      - request_method=PUT; path=/
531 118
    body:
532 119
      encoding: ASCII-8BIT
533
      string: '{"select_all_types":[],"description":"Testing today for a better tomorrow","created_at":"2016-09-07
534
        01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":9,"name":"Test
535
        Corporation","title":"Test Corporation","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":5,"name":"Test
536
        Subnet","network_address":"192.168.100.1/24"}],"compute_resources":[],"media":[],"config_templates":[{"id":90,"name":"Katello
537
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
538
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
539
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
540
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
541
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
542
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
543
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
544
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
545
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
546
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
547
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
548
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
549
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
550
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
551
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
552
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
553
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
554
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
555
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
556
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
557
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
558
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
559
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
560
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
561
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
562
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
563
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
564
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
565
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
566
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
567
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
568
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
569
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
570
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
571
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
572
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
573
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
574
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
575
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
576
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
577
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
578
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
579
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
580
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
581
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
582
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
583
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
584
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
585
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
586
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
587
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
588
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
589
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
590
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
591
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
592
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
593
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
594
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
595
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
596
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
597
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
598
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
599
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
600
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
601
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
602
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
603
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
604
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
605
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
606
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":90,"name":"Katello
607
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":88,"name":"Katello
608
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":87,"name":"Katello
609
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":86,"name":"Katello
610
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
611
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
612
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
613
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
614
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
615
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":43,"name":"Preseed
616
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
617
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
618
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
619
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
620
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
621
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
622
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":36,"name":"Kickstart
623
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
624
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
625
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
626
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
627
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
628
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
629
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
630
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":28,"name":"Junos
631
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
632
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
633
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
634
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
635
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
636
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
637
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
638
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
639
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
640
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
641
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
642
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
643
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
644
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
645
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
646
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
647
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
648
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
649
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
650
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
651
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
652
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
653
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
654
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
655
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
656
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
657
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
658
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
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
659 195
    http_version: 
660
  recorded_at: Mon, 12 Sep 2016 15:38:45 GMT
196
  recorded_at: Tue, 13 Dec 2016 14:47:51 GMT
661 197
- request:
662 198
    method: get
663
    uri: https://admin:changeme@katello.example.com:50191/api/locations?per_page=999999&search=name=%22Default%20Location%22
199
    uri: https://satlap.example.com/apidoc/v2.en.json
664 200
    body:
665 201
      encoding: US-ASCII
666 202
      string: ''
667 203
    headers:
668 204
      Accept:
669
      - application/json;version=2
205
      - application/json
670 206
      Accept-Encoding:
671 207
      - gzip, deflate
672 208
      User-Agent:
673
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
209
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
674 210
      Content-Type:
675 211
      - application/json
212
      Accept-Language:
213
      - en
676 214
      Host:
677
      - katello.example.com:50191
215
      - satlap.example.com
678 216
  response:
679 217
    status:
680 218
      code: 200
681 219
      message: OK
682 220
    headers:
683 221
      Date:
684
      - Mon, 12 Sep 2016 15:38:45 GMT
222
      - Tue, 13 Dec 2016 14:47:54 GMT
685 223
      Server:
686
      - Apache/2.4.6 (CentOS)
224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
687 225
      X-Frame-Options:
688 226
      - SAMEORIGIN
689 227
      X-Xss-Protection:
690 228
      - 1; mode=block
691 229
      X-Content-Type-Options:
692 230
      - nosniff
693
      Foreman-Version:
694
      - 1.14.0-develop
695
      Foreman-Api-Version:
696
      - '2'
697
      Content-Type:
698
      - application/json; charset=utf-8
699
      Apipie-Checksum:
700
      - 9544abef9cf8343005f07ed8c9f1f8e7
701
      Etag:
702
      - W/"8a6c7a83b93140829fabf630e316542a-gzip"
231
      Content-Disposition:
232
      - inline; filename="v2.en.json"
233
      Content-Transfer-Encoding:
234
      - binary
703 235
      Cache-Control:
704
      - max-age=0, private, must-revalidate
236
      - private
237
      Apipie-Checksum:
238
      - e1df2e8d43e22495b02a53b48e3b5298
705 239
      X-Request-Id:
706
      - 38c6e109-239c-4812-a1d7-08b96a345dd7
240
      - 1f7dc703-c533-40a2-ba78-6192fa329fa9
707 241
      X-Runtime:
708
      - '0.343000'
709
      Via:
710
      - 1.1 katello.example.com:50191
242
      - '0.004444'
243
      X-Powered-By:
244
      - Phusion Passenger 4.0.18
245
      Status:
246
      - 200 OK
711 247
      Vary:
712 248
      - Accept-Encoding
713 249
      Content-Length:
714
      - '388'
715
      Set-Cookie:
716
      - _session_id=83adae3f752163911bda8a92cc6fd421; path=/; HttpOnly
250
      - '883045'
251
      Content-Type:
252
      - text/html; charset=UTF-8
717 253
    body:
718 254
      encoding: ASCII-8BIT
719
      string: |
720
        {
721
          "total": 6,
722
          "subtotal": 1,
723
          "page": 1,
724
          "per_page": 999999,
725
          "search": "name=\"Default Location\"",
726
          "sort": {
727
            "by": null,
728
            "order": null
729
          },
730
          "results": [{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":2,"name":"Default Location","title":"Default Location","description":null}]
731
        }
732
    http_version: 
733
  recorded_at: Mon, 12 Sep 2016 15:38:46 GMT
734
- request:
735
    method: get
736
    uri: https://admin:changeme@katello.example.com:50191/api/locations/2
737
    body:
738
      encoding: US-ASCII
739
      string: ''
740
    headers:
741
      Accept:
742
      - application/json;version=2
743
      Accept-Encoding:
744
      - gzip, deflate
745
      User-Agent:
746
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
747
      Content-Type:
748
      - application/json
749
      Host:
750
      - katello.example.com:50191
751
  response:
752
    status:
753
      code: 200
754
      message: OK
755
    headers:
756
      Date:
757
      - Mon, 12 Sep 2016 15:38:45 GMT
758
      Server:
759
      - Apache/2.4.6 (CentOS)
760
      X-Frame-Options:
761
      - SAMEORIGIN
762
      X-Xss-Protection:
763
      - 1; mode=block
764
      X-Content-Type-Options:
765
      - nosniff
766
      Foreman-Version:
767
      - 1.14.0-develop
768
      Foreman-Api-Version:
769
      - '2'
770
      Content-Type:
771
      - application/json; charset=utf-8
772
      Apipie-Checksum:
773
      - 9544abef9cf8343005f07ed8c9f1f8e7
774
      Etag:
775
      - W/"598b6f06291af1bfc5017d36b007adc3-gzip"
776
      Cache-Control:
777
      - max-age=0, private, must-revalidate
778
      X-Request-Id:
779
      - a02f801c-09ba-4359-813e-4872f547122b
780
      X-Runtime:
781
      - '3.579790'
782
      Via:
783
      - 1.1 katello.example.com:50191
784
      Vary:
785
      - Accept-Encoding
786
      Content-Length:
787
      - '17200'
788
      Set-Cookie:
789
      - _session_id=ea6e1c6418cde9ea106417d57bbd3175; path=/; HttpOnly
790
    body:
791
      encoding: ASCII-8BIT
792
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-09-02
793
        14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":2,"name":"Default
794
        Location","title":"Default Location","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":1,"name":"Desktop
795
        Provisioning","network_address":"192.168.100.1/24"},{"id":5,"name":"Test Subnet","network_address":"192.168.100.1/24"},{"id":3,"name":"YDesktop
796
        Provisioning","network_address":"192.168.200.1/24"}],"compute_resources":[{"id":3,"name":"Desktop
797
        Libvirt","provider":"Libvirt","provider_friendly_name":"Libvirt"}],"media":[{"id":9,"name":"Atomic
798
        Media"}],"config_templates":[{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
799
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":88,"name":"Katello
800
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
801
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":90,"name":"Katello
802
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
803
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
804
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
805
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
806
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
807
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":43,"name":"Preseed
808
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
809
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
810
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
811
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
812
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
813
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
814
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"Kickstart
815
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
816
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
817
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
818
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
819
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
820
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
821
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
822
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Junos
823
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
824
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
825
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
826
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
827
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
828
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
829
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
830
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
831
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
832
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
833
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
834
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
835
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
836
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
837
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
838
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
839
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
840
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
841
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
842
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
843
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
844
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
845
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
846
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
847
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
848
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
849
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
850
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
851
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
852
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
853
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
854
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
855
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
856
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
857
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
858
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
859
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
860
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
861
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
862
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
863
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
864
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
865
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
866
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
867
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
868
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
869
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":88,"name":"Katello
870
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
871
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":90,"name":"Katello
872
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
873
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
874
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
875
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
876
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
877
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":43,"name":"Preseed
878
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
879
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
880
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
881
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
882
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
883
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
884
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"Kickstart
885
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
886
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
887
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
888
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
889
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
890
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
891
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
892
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Junos
893
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
894
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
895
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
896
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
897
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
898
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
899
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
900
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
901
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
902
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
903
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
904
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
905
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
906
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
907
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
908
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
909
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
910
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
911
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
912
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
913
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
914
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
915
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
916
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
917
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
918
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
919
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
920
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"example.com"}],"realms":[],"environments":[{"name":"production","id":1}],"hostgroups":[],"organizations":[{"id":1,"name":"Default
921
        Organization","title":"Default Organization","description":null},{"id":3,"name":"Example
922
        Corporation","title":"Example Corporation","description":"The number one example
923
        company in the world!"}],"parameters":[]}'
924
    http_version: 
925
  recorded_at: Mon, 12 Sep 2016 15:38:49 GMT
926
- request:
927
    method: put
928
    uri: https://admin:changeme@katello.example.com:50191/api/locations/2
929
    body:
930
      encoding: UTF-8
931
      string: '{"location":{"subnet_ids":[1,5,3]}}'
932
    headers:
933
      Accept:
934
      - application/json;version=2
935
      Accept-Encoding:
936
      - gzip, deflate
937
      User-Agent:
938
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
939
      Content-Type:
940
      - application/json
941
      Content-Length:
942
      - '35'
943
      Host:
944
      - katello.example.com:50191
945
  response:
946
    status:
947
      code: 200
948
      message: OK
949
    headers:
950
      Date:
951
      - Mon, 12 Sep 2016 15:38:49 GMT
952
      Server:
953
      - Apache/2.4.6 (CentOS)
954
      X-Frame-Options:
955
      - SAMEORIGIN
956
      X-Xss-Protection:
957
      - 1; mode=block
958
      X-Content-Type-Options:
959
      - nosniff
960
      Foreman-Version:
961
      - 1.14.0-develop
962
      Foreman-Api-Version:
963
      - '2'
964
      Content-Type:
965
      - application/json; charset=utf-8
966
      Apipie-Checksum:
967
      - 9544abef9cf8343005f07ed8c9f1f8e7
968
      Etag:
969
      - W/"598b6f06291af1bfc5017d36b007adc3-gzip"
970
      Cache-Control:
971
      - max-age=0, private, must-revalidate
972
      X-Request-Id:
973
      - 3642d0a5-ce6c-4f37-82cc-a1e19e21b273
974
      X-Runtime:
975
      - '3.973672'
976
      Via:
977
      - 1.1 katello.example.com:50191
978
      Vary:
979
      - Accept-Encoding
980
      Content-Length:
981
      - '17200'
982
      Set-Cookie:
983
      - _session_id=dbda64272e4aea9cc838a5453752e3f3; path=/; HttpOnly
984
      - request_method=PUT; path=/
985
    body:
986
      encoding: ASCII-8BIT
987
      string: '{"select_all_types":["ProvisioningTemplate","Hostgroup"],"description":null,"created_at":"2016-09-02
988
        14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","ancestry":null,"parent_id":null,"parent_name":null,"id":2,"name":"Default
989
        Location","title":"Default Location","users":[],"smart_proxies":[{"name":"katello.example.com","id":1,"url":"https://katello.example.com:9090"}],"subnets":[{"id":1,"name":"Desktop
990
        Provisioning","network_address":"192.168.100.1/24"},{"id":5,"name":"Test Subnet","network_address":"192.168.100.1/24"},{"id":3,"name":"YDesktop
991
        Provisioning","network_address":"192.168.200.1/24"}],"compute_resources":[{"id":3,"name":"Desktop
992
        Libvirt","provider":"Libvirt","provider_friendly_name":"Libvirt"}],"media":[{"id":9,"name":"Atomic
993
        Media"}],"config_templates":[{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
994
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":88,"name":"Katello
995
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
996
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":90,"name":"Katello
997
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
998
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
999
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
1000
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
1001
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
1002
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":43,"name":"Preseed
1003
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
1004
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
1005
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
1006
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
1007
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
1008
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
1009
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"Kickstart
1010
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
1011
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
1012
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
1013
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
1014
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
1015
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
1016
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
1017
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Junos
1018
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
1019
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
1020
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
1021
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
1022
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
1023
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
1024
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
1025
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
1026
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
1027
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
1028
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
1029
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
1030
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
1031
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
1032
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
1033
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
1034
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
1035
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
1036
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
1037
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
1038
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
1039
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
1040
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
1041
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
1042
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
1043
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
1044
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1045
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"ptables":[{"os_family":"Xenserver","created_at":"2016-09-02
1046
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"XenServer default","id":85},{"os_family":"Debian","created_at":"2016-09-02
1047
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Preseed custom
1048
        LVM","id":84},{"os_family":"Debian","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
1049
        14:01:03 UTC","name":"Preseed default","id":83},{"os_family":"NXOS","created_at":"2016-09-02
1050
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"NX-OS default
1051
        fake","id":82},{"os_family":"Redhat","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
1052
        14:01:03 UTC","name":"Kickstart default","id":81},{"os_family":"Junos","created_at":"2016-09-02
1053
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Junos default
1054
        fake","id":80},{"os_family":"Solaris","created_at":"2016-09-02 14:01:03 UTC","updated_at":"2016-09-02
1055
        14:01:03 UTC","name":"Jumpstart mirrored","id":79},{"os_family":"Solaris","created_at":"2016-09-02
1056
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"Jumpstart default","id":78},{"os_family":"Freebsd","created_at":"2016-09-02
1057
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"FreeBSD","id":77},{"os_family":"Coreos","created_at":"2016-09-02
1058
        14:01:03 UTC","updated_at":"2016-09-02 14:01:03 UTC","name":"CoreOS default
1059
        fake","id":76},{"os_family":"Suse","created_at":"2016-09-02 14:01:02 UTC","updated_at":"2016-09-02
1060
        14:01:02 UTC","name":"AutoYaST LVM","id":75},{"os_family":"Suse","created_at":"2016-09-02
1061
        14:01:02 UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire
1062
        virtual disk","id":74},{"os_family":"Suse","created_at":"2016-09-02 14:01:02
1063
        UTC","updated_at":"2016-09-02 14:01:02 UTC","name":"AutoYaST entire SCSI disk","id":73}],"provisioning_templates":[{"id":89,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":87,"name":"Katello
1064
        Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":88,"name":"Katello
1065
        Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":86,"name":"Katello
1066
        Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":90,"name":"Katello
1067
        Atomic Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":72,"name":"pxegrub2_discovery","template_kind_id":null,"template_kind_name":null},{"id":71,"name":"pxegrub_discovery","template_kind_id":null,"template_kind_name":null},{"id":70,"name":"pxegrub2_chainload","template_kind_id":null,"template_kind_name":null},{"id":69,"name":"pxegrub_chainload","template_kind_id":null,"template_kind_name":null},{"id":68,"name":"pxelinux_chainload","template_kind_id":null,"template_kind_name":null},{"id":67,"name":"kickstart_cmdline","template_kind_id":null,"template_kind_name":null},{"id":66,"name":"saltstack_setup","template_kind_id":null,"template_kind_name":null},{"id":65,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":64,"name":"remote_execution_ssh_keys","template_kind_id":null,"template_kind_name":null},{"id":63,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":62,"name":"pxelinux_discovery","template_kind_id":null,"template_kind_name":null},{"id":61,"name":"puppetlabs_repo","template_kind_id":null,"template_kind_name":null},{"id":60,"name":"puppet_setup","template_kind_id":null,"template_kind_name":null},{"id":59,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":58,"name":"preseed_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":57,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":56,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":55,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":54,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":53,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":52,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"chef_client","template_kind_id":null,"template_kind_name":null},{"id":50,"name":"bmc_nic_setup","template_kind_id":null,"template_kind_name":null},{"id":49,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":48,"name":"XenServer
1068
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":47,"name":"XenServer
1069
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":46,"name":"XenServer
1070
        default answerfile","template_kind_id":5,"template_kind_name":"provision"},{"id":45,"name":"WAIK
1071
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":44,"name":"UserData
1072
        default","template_kind_id":8,"template_kind_name":"user_data"},{"id":43,"name":"Preseed
1073
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"Preseed
1074
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":41,"name":"Preseed
1075
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":40,"name":"Preseed
1076
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":39,"name":"Preseed
1077
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":38,"name":"NX-OS
1078
        default POAP setup","template_kind_id":10,"template_kind_name":"POAP"},{"id":37,"name":"Kickstart
1079
        default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":36,"name":"Kickstart
1080
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":35,"name":"Kickstart
1081
        default PXEGrub2","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":34,"name":"Kickstart
1082
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":33,"name":"Kickstart
1083
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":32,"name":"Kickstart
1084
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":31,"name":"Kickstart
1085
        RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":30,"name":"Kickstart
1086
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":29,"name":"Junos
1087
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":28,"name":"Junos
1088
        default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":27,"name":"Junos
1089
        default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Jumpstart
1090
        default PXEGrub","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":25,"name":"Jumpstart
1091
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Jumpstart
1092
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":23,"name":"Grubby
1093
        default","template_kind_id":7,"template_kind_name":"script"},{"id":22,"name":"FreeBSD
1094
        (mfsBSD) PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":21,"name":"FreeBSD
1095
        (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":20,"name":"FreeBSD
1096
        (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"CoreOS
1097
        PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"CoreOS
1098
        provision","template_kind_id":5,"template_kind_name":"provision"},{"id":17,"name":"AutoYaST
1099
        default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":16,"name":"AutoYaST
1100
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":15,"name":"AutoYaST
1101
        SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":14,"name":"AutoYaST
1102
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":13,"name":"Atomic
1103
        Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"Alterator
1104
        default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":11,"name":"Alterator
1105
        default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":10,"name":"Alterator
1106
        default","template_kind_id":5,"template_kind_name":"provision"},{"id":9,"name":"PXELinux
1107
        chain iPXE UNDI","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":8,"name":"PXELinux
1108
        chain iPXE","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":7,"name":"PXELinux
1109
        default memdisk","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":6,"name":"PXEGrub2
1110
        default local boot","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":5,"name":"PXEGrub
1111
        default local boot","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":4,"name":"PXELinux
1112
        default local boot","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":3,"name":"PXEGrub2
1113
        global default","template_kind_id":3,"template_kind_name":"PXEGrub2"},{"id":2,"name":"PXEGrub
1114
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1115
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"example.com"}],"realms":[],"environments":[{"name":"production","id":1}],"hostgroups":[],"organizations":[{"id":1,"name":"Default
1116
        Organization","title":"Default Organization","description":null},{"id":3,"name":"Example
1117
        Corporation","title":"Example Corporation","description":"The number one example
1118
        company in the world!"}],"parameters":[]}'
1119
    http_version: 
1120
  recorded_at: Mon, 12 Sep 2016 15:38:53 GMT
1121
- request:
1122
    method: get
1123
    uri: http://admin:changeme@centos7-devel.example.com:3000/api/status
1124
    body:
1125
      encoding: US-ASCII
1126
      string: ''
1127
    headers:
1128
      Accept-Encoding:
1129
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1130
      Accept:
1131
      - "*/*"
1132
      User-Agent:
1133
      - Ruby
1134
  response:
1135
    status:
1136
      code: 200
1137
      message: OK
1138
    headers:
1139
      Foreman-Version:
1140
      - 1.14.0-develop
1141
      Foreman-Api-Version:
1142
      - '2'
1143
      Content-Type:
1144
      - application/json; charset=utf-8
1145
      Apipie-Checksum:
1146
      - 974492cde78991fdc7ad9dfcc73ff358
1147
      Etag:
1148
      - W/"1316c9d778b9181476af8a9546423fb1"
1149
      Cache-Control:
1150
      - max-age=0, private, must-revalidate
1151
      Set-Cookie:
1152
      - _session_id=8ee6f61804147ea20f1bcc9f7a45678a; path=/; HttpOnly
1153
      X-Request-Id:
1154
      - 08e3bc6c-066d-4128-b640-86966511cf3b
1155
      X-Runtime:
1156
      - '0.125649'
1157
      Content-Security-Policy:
1158
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1159
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1160
        ''self''; style-src ''unsafe-inline'' ''self'''
1161
      X-Content-Type-Options:
1162
      - nosniff
1163
      X-Download-Options:
1164
      - noopen
1165
      X-Frame-Options:
1166
      - sameorigin
1167
      X-Permitted-Cross-Domain-Policies:
1168
      - none
1169
      X-Xss-Protection:
1170
      - 1; mode=block
1171
      Transfer-Encoding:
1172
      - chunked
1173
    body:
1174
      encoding: UTF-8
1175
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
1176
    http_version: 
1177
  recorded_at: Tue, 22 Nov 2016 10:45:55 GMT
1178
- request:
1179
    method: get
1180
    uri: http://admin:changeme@centos7-devel.example.com:3000/api/v2/plugins
1181
    body:
1182
      encoding: US-ASCII
1183
      string: ''
1184
    headers:
1185
      Accept-Encoding:
1186
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1187
      Accept:
1188
      - "*/*"
1189
      User-Agent:
1190
      - Ruby
1191
  response:
1192
    status:
1193
      code: 200
1194
      message: OK
1195
    headers:
1196
      Foreman-Version:
1197
      - 1.14.0-develop
1198
      Foreman-Api-Version:
1199
      - '2'
1200
      Content-Type:
1201
      - application/json; charset=utf-8
1202
      Apipie-Checksum:
1203
      - 974492cde78991fdc7ad9dfcc73ff358
1204
      Etag:
1205
      - W/"732bd55e4dc33460e7a4d4e0d0d81834"
1206
      Cache-Control:
1207
      - max-age=0, private, must-revalidate
1208
      Set-Cookie:
1209
      - _session_id=4ec15a2d55f47ae114f65409d5ed5463; path=/; HttpOnly
1210
      X-Request-Id:
1211
      - afd1d6bc-2bb2-4e01-9003-19a8385834bc
1212
      X-Runtime:
1213
      - '0.084722'
1214
      Content-Security-Policy:
1215
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1216
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1217
        ''self''; style-src ''unsafe-inline'' ''self'''
1218
      X-Content-Type-Options:
1219
      - nosniff
1220
      X-Download-Options:
1221
      - noopen
1222
      X-Frame-Options:
1223
      - sameorigin
1224
      X-Permitted-Cross-Domain-Policies:
1225
      - none
1226
      X-Xss-Protection:
1227
      - 1; mode=block
1228
      Transfer-Encoding:
1229
      - chunked
1230
    body:
1231
      encoding: ASCII-8BIT
1232
      string: !binary |-
1233
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
1234
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
1235
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
1236
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
1237
        ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
1238
        b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
1239
        d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
1240
        YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
1241
        bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
1242
        b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
1243
        a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
1244
        Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
1245
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
1246
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
1247
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
1248
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguNSJ9LHsiaWQiOiJmb3JlbWFu
1249
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
1250
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
1251
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
1252
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
1253
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
1254
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
1255
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
1256
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
1257
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
1258
    http_version: 
1259
  recorded_at: Tue, 22 Nov 2016 10:45:55 GMT
1260
- request:
1261
    method: get
1262
    uri: http://centos7-devel.example.com:3000/apidoc/v2.en.json
1263
    body:
1264
      encoding: US-ASCII
1265
      string: ''
1266
    headers:
1267
      Accept:
1268
      - application/json
1269
      Accept-Encoding:
1270
      - gzip, deflate
1271
      User-Agent:
1272
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.0p0
1273
      Content-Type:
1274
      - application/json
1275
      Accept-Language:
1276
      - en
1277
      Host:
1278
      - centos7-devel.example.com:3000
1279
  response:
1280
    status:
1281
      code: 200
1282
      message: OK
1283
    headers:
1284
      Content-Disposition:
1285
      - inline; filename="v2.en.json"
1286
      Content-Transfer-Encoding:
1287
      - binary
1288
      Content-Type:
1289
      - text/html
1290
      Cache-Control:
1291
      - private
1292
      Apipie-Checksum:
1293
      - 974492cde78991fdc7ad9dfcc73ff358
1294
      X-Request-Id:
1295
      - ace8ec35-3b69-4cc1-930a-650306ed5175
1296
      X-Runtime:
1297
      - '0.048999'
1298
      Content-Security-Policy:
1299
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1300
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1301
        ''self''; style-src ''unsafe-inline'' ''self'''
1302
      X-Content-Type-Options:
1303
      - nosniff
1304
      X-Download-Options:
1305
      - noopen
1306
      X-Frame-Options:
1307
      - sameorigin
1308
      X-Permitted-Cross-Domain-Policies:
1309
      - none
1310
      X-Xss-Protection:
1311
      - 1; mode=block
1312
      Transfer-Encoding:
1313
      - chunked
1314
    body:
1315
      encoding: ASCII-8BIT
1316
      string: !binary |-
1317
        eyJkb2NzIjp7Im5hbWUiOiJGb3JlbWFuIiwiaW5mbyI6IlxuXHUwMDNjcFx1
1318
        MDAzZUZvcmVtYW4gQVBJIHYyIGlzIGN1cnJlbnRseSB0aGUgZGVmYXVsdCBB
1319
        UEkgdmVyc2lvbi5cdTAwM2MvcFx1MDAzZVxuIiwiY29weXJpZ2h0IjoiIiwi
1320
        ZG9jX3VybCI6Ii4uL2FwaWRvYy92MiIsImFwaV91cmwiOiIvYXBpIiwicmVz
1321
        b3VyY2VzIjp7Imhvc3Rfc3Vic2NyaXB0aW9ucyI6eyJkb2NfdXJsIjoiLi4v
1322
        YXBpZG9jL3YyL2hvc3Rfc3Vic2NyaXB0aW9ucyIsImFwaV91cmwiOiIvYXBp
1323
        IiwibmFtZSI6Ikhvc3Qgc3Vic2NyaXB0aW9ucyIsInNob3J0X2Rlc2NyaXB0
1324
        aW9uIjpudWxsLCJmdWxsX2Rlc2NyaXB0aW9uIjoiIiwidmVyc2lvbiI6InYy
1325
        IiwiZm9ybWF0cyI6bnVsbCwibWV0YWRhdGEiOm51bGwsIm1ldGhvZHMiOlt7
1326
        ImRvY191cmwiOiIuLi9hcGlkb2MvdjIvaG9zdF9zdWJzY3JpcHRpb25zL2lu
1327
        ZGV4IiwibmFtZSI6ImluZGV4IiwiYXBpcyI6W3siYXBpX3VybCI6Ii9hcGkv
1328
        aG9zdHMvOmhvc3RfaWQvc3Vic2NyaXB0aW9ucyIsImh0dHBfbWV0aG9kIjoi
1329
        R0VUIiwic2hvcnRfZGVzY3JpcHRpb24iOiJMaXN0IGEgaG9zdCdzIHN1YnNj
1330
        cmlwdGlvbnMiLCJkZXByZWNhdGVkIjpudWxsfV0sImZvcm1hdHMiOm51bGws
1331
        ImZ1bGxfZGVzY3JpcHRpb24iOiIiLCJlcnJvcnMiOltdLCJwYXJhbXMiOlt7
1332
        Im5hbWUiOiJob3N0X2lkIiwiZnVsbF9uYW1lIjoiaG9zdF9pZCIsImRlc2Ny
1333
        aXB0aW9uIjoiXG5cdTAwM2NwXHUwMDNlSWQgb2YgdGhlIGhvc3RcdTAwM2Mv
1334
        cFx1MDAzZVxuIiwicmVxdWlyZWQiOnRydWUsImFsbG93X25pbCI6ZmFsc2Us
1335
        InZhbGlkYXRvciI6IkludGVnZXIiLCJleHBlY3RlZF90eXBlIjoibnVtZXJp
1336
        YyIsIm1ldGFkYXRhIjpudWxsLCJzaG93Ijp0cnVlLCJ2YWxpZGF0aW9ucyI6
1337
        W119XSwiZXhhbXBsZXMiOltdLCJtZXRhZGF0YSI6bnVsbCwic2VlIjpbXSwi
1338
        aGVhZGVycyI6W10sInNob3ciOnRydWV9LHsiZG9jX3VybCI6Ii4uL2FwaWRv
1339
        Yy92Mi9ob3N0X3N1YnNjcmlwdGlvbnMvYXV0b19hdHRhY2giLCJuYW1lIjoi
1340
        YXV0b19hdHRhY2giLCJhcGlzIjpbeyJhcGlfdXJsIjoiL2FwaS9ob3N0cy86
1341
        aG9zdF9pZC9zdWJzY3JpcHRpb25zL2F1dG9fYXR0YWNoIiwiaHR0cF9tZXRo
1342
        b2QiOiJQVVQiLCJzaG9ydF9kZXNjcmlwdGlvbiI6IlRyaWdnZXIgYW4gYXV0
1343
        by1hdHRhY2ggb2Ygc3Vic2NyaXB0aW9ucyIsImRlcHJlY2F0ZWQiOm51bGx9
1344
        XSwiZm9ybWF0cyI6bnVsbCwiZnVsbF9kZXNjcmlwdGlvbiI6IiIsImVycm9y
1345
        cyI6W10sInBhcmFtcyI6W3sibmFtZSI6Imhvc3RfaWQiLCJmdWxsX25hbWUi
1346
        OiJob3N0X2lkIiwiZGVzY3JpcHRpb24iOiJcblx1MDAzY3BcdTAwM2VJZCBv
1347
        ZiB0aGUgaG9zdFx1MDAzYy9wXHUwMDNlXG4iLCJyZXF1aXJlZCI6dHJ1ZSwi
1348
        YWxsb3dfbmlsIjpmYWxzZSwidmFsaWRhdG9yIjoiSW50ZWdlciIsImV4cGVj
1349
        dGVkX3R5cGUiOiJudW1lcmljIiwibWV0YWRhdGEiOm51bGwsInNob3ciOnRy
1350
        dWUsInZhbGlkYXRpb25zIjpbXX1dLCJleGFtcGxlcyI6W10sIm1ldGFkYXRh
1351
        IjpudWxsLCJzZWUiOltdLCJoZWFkZXJzIjpbXSwic2hvdyI6dHJ1ZX0seyJk
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff