rucio 37.3.0__py3-none-any.whl → 37.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rucio might be problematic. Click here for more details.

Files changed (128) hide show
  1. rucio/cli/rule.py +1 -1
  2. rucio/client/accountclient.py +205 -60
  3. rucio/client/accountlimitclient.py +84 -25
  4. rucio/client/baseclient.py +85 -48
  5. rucio/client/client.py +49 -41
  6. rucio/client/configclient.py +36 -13
  7. rucio/client/credentialclient.py +16 -6
  8. rucio/client/didclient.py +321 -133
  9. rucio/client/diracclient.py +13 -6
  10. rucio/client/downloadclient.py +435 -165
  11. rucio/client/exportclient.py +8 -2
  12. rucio/client/fileclient.py +10 -3
  13. rucio/client/importclient.py +4 -1
  14. rucio/client/lifetimeclient.py +48 -31
  15. rucio/client/lockclient.py +22 -7
  16. rucio/client/metaconventionsclient.py +59 -21
  17. rucio/client/pingclient.py +3 -1
  18. rucio/client/replicaclient.py +213 -96
  19. rucio/client/requestclient.py +124 -16
  20. rucio/client/rseclient.py +385 -160
  21. rucio/client/ruleclient.py +147 -51
  22. rucio/client/scopeclient.py +35 -10
  23. rucio/client/subscriptionclient.py +60 -27
  24. rucio/client/touchclient.py +16 -7
  25. rucio/common/constants.py +14 -17
  26. rucio/common/utils.py +18 -2
  27. rucio/core/permission/generic.py +40 -1
  28. rucio/core/replica.py +6 -6
  29. rucio/core/request.py +2 -2
  30. rucio/core/rule.py +5 -3
  31. rucio/core/transfer.py +4 -5
  32. rucio/daemons/conveyor/throttler.py +2 -1
  33. rucio/daemons/judge/evaluator.py +1 -1
  34. rucio/db/sqla/constants.py +3 -3
  35. rucio/db/sqla/migrate_repo/versions/13d4f70c66a9_introduce_transfer_limits.py +1 -1
  36. rucio/db/sqla/models.py +1 -1
  37. rucio/gateway/replica.py +129 -41
  38. rucio/gateway/request.py +177 -103
  39. rucio/gateway/subscription.py +90 -108
  40. rucio/rse/rsemanager.py +2 -2
  41. rucio/vcsversion.py +3 -3
  42. rucio/web/rest/flaskapi/v1/accountlimits.py +22 -22
  43. rucio/web/rest/flaskapi/v1/accounts.py +157 -157
  44. rucio/web/rest/flaskapi/v1/archives.py +10 -10
  45. rucio/web/rest/flaskapi/v1/auth.py +106 -106
  46. rucio/web/rest/flaskapi/v1/config.py +37 -37
  47. rucio/web/rest/flaskapi/v1/credentials.py +25 -25
  48. rucio/web/rest/flaskapi/v1/dids.py +381 -381
  49. rucio/web/rest/flaskapi/v1/dirac.py +8 -8
  50. rucio/web/rest/flaskapi/v1/export.py +6 -6
  51. rucio/web/rest/flaskapi/v1/heartbeats.py +14 -14
  52. rucio/web/rest/flaskapi/v1/identities.py +25 -25
  53. rucio/web/rest/flaskapi/v1/import.py +19 -19
  54. rucio/web/rest/flaskapi/v1/lifetime_exceptions.py +54 -54
  55. rucio/web/rest/flaskapi/v1/locks.py +60 -60
  56. rucio/web/rest/flaskapi/v1/meta_conventions.py +29 -29
  57. rucio/web/rest/flaskapi/v1/nongrid_traces.py +4 -4
  58. rucio/web/rest/flaskapi/v1/ping.py +4 -4
  59. rucio/web/rest/flaskapi/v1/redirect.py +17 -17
  60. rucio/web/rest/flaskapi/v1/replicas.py +282 -282
  61. rucio/web/rest/flaskapi/v1/requests.py +424 -229
  62. rucio/web/rest/flaskapi/v1/rses.py +427 -427
  63. rucio/web/rest/flaskapi/v1/rules.py +129 -129
  64. rucio/web/rest/flaskapi/v1/scopes.py +21 -21
  65. rucio/web/rest/flaskapi/v1/subscriptions.py +122 -122
  66. rucio/web/rest/flaskapi/v1/traces.py +18 -18
  67. rucio/web/rest/flaskapi/v1/vos.py +32 -32
  68. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio.cfg.template +0 -1
  69. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio_multi_vo.cfg.template +0 -1
  70. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/requirements.server.txt +1 -1
  71. {rucio-37.3.0.dist-info → rucio-37.5.0.dist-info}/METADATA +1 -1
  72. {rucio-37.3.0.dist-info → rucio-37.5.0.dist-info}/RECORD +128 -128
  73. {rucio-37.3.0.dist-info → rucio-37.5.0.dist-info}/WHEEL +1 -1
  74. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/alembic.ini.template +0 -0
  75. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/alembic_offline.ini.template +0 -0
  76. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/globus-config.yml.template +0 -0
  77. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/ldap.cfg.template +0 -0
  78. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approval_request.tmpl +0 -0
  79. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approved_admin.tmpl +0 -0
  80. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approved_user.tmpl +0 -0
  81. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_denied_admin.tmpl +0 -0
  82. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_denied_user.tmpl +0 -0
  83. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_ok_notification.tmpl +0 -0
  84. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/rse-accounts.cfg.template +0 -0
  85. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio.cfg.atlas.client.template +0 -0
  86. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/tools/bootstrap.py +0 -0
  87. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/tools/merge_rucio_configs.py +0 -0
  88. {rucio-37.3.0.data → rucio-37.5.0.data}/data/rucio/tools/reset_database.py +0 -0
  89. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio +0 -0
  90. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-account +0 -0
  91. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-collection-replica +0 -0
  92. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-rse +0 -0
  93. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-admin +0 -0
  94. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-atropos +0 -0
  95. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-auditor +0 -0
  96. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-automatix +0 -0
  97. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-bb8 +0 -0
  98. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-cache-client +0 -0
  99. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-cache-consumer +0 -0
  100. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-finisher +0 -0
  101. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-poller +0 -0
  102. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-preparer +0 -0
  103. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-receiver +0 -0
  104. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-stager +0 -0
  105. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-submitter +0 -0
  106. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-throttler +0 -0
  107. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-dark-reaper +0 -0
  108. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-dumper +0 -0
  109. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-follower +0 -0
  110. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-hermes +0 -0
  111. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-judge-cleaner +0 -0
  112. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-judge-evaluator +0 -0
  113. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-judge-injector +0 -0
  114. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-judge-repairer +0 -0
  115. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-kronos +0 -0
  116. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-minos +0 -0
  117. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-minos-temporary-expiration +0 -0
  118. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-necromancer +0 -0
  119. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-oauth-manager +0 -0
  120. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-reaper +0 -0
  121. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-replica-recoverer +0 -0
  122. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-rse-decommissioner +0 -0
  123. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-storage-consistency-actions +0 -0
  124. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-transmogrifier +0 -0
  125. {rucio-37.3.0.data → rucio-37.5.0.data}/scripts/rucio-undertaker +0 -0
  126. {rucio-37.3.0.dist-info → rucio-37.5.0.dist-info}/licenses/AUTHORS.rst +0 -0
  127. {rucio-37.3.0.dist-info → rucio-37.5.0.dist-info}/licenses/LICENSE +0 -0
  128. {rucio-37.3.0.dist-info → rucio-37.5.0.dist-info}/top_level.txt +0 -0
@@ -79,96 +79,96 @@ class RSEs(ErrorHandlingMethodView):
79
79
  """
80
80
  ---
81
81
  summary: List RSEs
82
- description: Lists all RSEs.
82
+ description: "Lists all RSEs."
83
83
  tags:
84
84
  - Rucio Storage Elements
85
85
  parameters:
86
86
  - name: expression
87
87
  in: query
88
- description: RSE expression to select RSEs.
88
+ description: "RSE expression to select RSEs."
89
89
  schema:
90
90
  type: string
91
91
  responses:
92
92
  200:
93
- description: OK
93
+ description: "OK"
94
94
  content:
95
95
  application/json:
96
96
  schema:
97
- description: A list with the corresponding rses.
97
+ description: "A list with the corresponding rses."
98
98
  type: array
99
99
  items:
100
100
  type: object
101
101
  properties:
102
102
  id:
103
- description: The rse id.
103
+ description: "The rse id."
104
104
  type: string
105
105
  rse:
106
- description: The name of the rse.
106
+ description: "The name of the rse."
107
107
  type: string
108
108
  rse_type:
109
- description: The type of the rse.
109
+ description: "The type of the rse."
110
110
  type: string
111
111
  deterministic:
112
- description: If the rse is deterministic.
112
+ description: "If the rse is deterministic."
113
113
  type: boolean
114
114
  volatile:
115
- description: If the rse is volatile.
115
+ description: "If the rse is volatile."
116
116
  type: boolean
117
117
  staging_area:
118
- description: Is this rse a staging area?
118
+ description: "Is this rse a staging area?"
119
119
  type: boolean
120
120
  city:
121
- description: The city of the rse.
121
+ description: "The city of the rse."
122
122
  type: string
123
123
  region_code:
124
- description: The region_code of the rse.
124
+ description: "The region_code of the rse."
125
125
  type: string
126
126
  country_name:
127
- description: The country name of the rse.
127
+ description: "The country name of the rse."
128
128
  type: string
129
129
  continent:
130
- description: The continent of the rse.
130
+ description: "The continent of the rse."
131
131
  type: string
132
132
  time_zone:
133
- description: The time zone of the rse.
133
+ description: "The time zone of the rse."
134
134
  type: string
135
135
  ISP:
136
- description: The isp of the rse.
136
+ description: "The isp of the rse."
137
137
  type: string
138
138
  ASN:
139
- description: The asn of the rse.
139
+ description: "The asn of the rse."
140
140
  type: string
141
141
  longitude:
142
- description: The longitude of the rse.
142
+ description: "The longitude of the rse."
143
143
  type: number
144
144
  latitude:
145
- description: The latitude of the rse.
145
+ description: "The latitude of the rse."
146
146
  type: number
147
147
  availability:
148
- description: The availability of the rse.
148
+ description: "The availability of the rse."
149
149
  type: integer
150
150
  deprecated: true
151
151
  availability_read:
152
- description: If the RSE is readable.
152
+ description: "If the RSE is readable."
153
153
  type: integer
154
154
  availability_write:
155
- description: If the RSE is writable.
155
+ description: "If the RSE is writable."
156
156
  type: integer
157
157
  availability_delete:
158
- description: If the RSE is deletable.
158
+ description: "If the RSE is deletable."
159
159
  type: integer
160
160
  usage:
161
- description: The usage of the rse.
161
+ description: "The usage of the rse."
162
162
  type: integer
163
163
  qos_class:
164
- description: The quality of service class.
164
+ description: "The quality of service class."
165
165
  type: string
166
166
  400:
167
- description: Invalid RSE expression
167
+ description: "Invalid RSE expression"
168
168
  401:
169
- description: Invalid Auth Token
169
+ description: "Invalid Auth Token"
170
170
  406:
171
- description: Not acceptable
171
+ description: "Not acceptable"
172
172
  """
173
173
  expression = request.args.get('expression', default=None)
174
174
 
@@ -197,13 +197,13 @@ class RSE(ErrorHandlingMethodView):
197
197
  """
198
198
  ---
199
199
  summary: Create RSE
200
- description: Creates a RSE with all the metadata.
200
+ description: "Creates a RSE with all the metadata."
201
201
  tags:
202
202
  - Rucio Storage Elements
203
203
  parameters:
204
204
  - name: rse
205
205
  in: path
206
- description: The name of the Rucio Storage Element name.
206
+ description: "The name of the Rucio Storage Element name."
207
207
  schema:
208
208
  type: string
209
209
  style: simple
@@ -214,74 +214,74 @@ class RSE(ErrorHandlingMethodView):
214
214
  type: object
215
215
  properties:
216
216
  deterministic:
217
- description: If the pfn is generated deterministicly.
217
+ description: "If the pfn is generated deterministically."
218
218
  type: boolean
219
219
  volatile:
220
- description: RSE cache.
220
+ description: "RSE cache."
221
221
  type: boolean
222
222
  city:
223
- description: The city of the RSE.
223
+ description: "The city of the RSE."
224
224
  type: string
225
225
  staging_area:
226
- description: Staging area.
226
+ description: "Staging area."
227
227
  type: string
228
228
  region_code:
229
- description: The region code of the RSE.
229
+ description: "The region code of the RSE."
230
230
  type: string
231
231
  country_name:
232
- description: The country name of the RSE.
232
+ description: "The country name of the RSE."
233
233
  type: string
234
234
  continent:
235
- description: The continent of the RSE.
235
+ description: "The continent of the RSE."
236
236
  type: string
237
237
  time_zone:
238
- description: The time zone of the RSE.
238
+ description: "The time zone of the RSE."
239
239
  type: string
240
240
  ISP:
241
- description: The internet service provider of the RSE.
241
+ description: "The internet service provider of the RSE."
242
242
  type: string
243
243
  rse_type:
244
- description: The rse type.
244
+ description: "The rse type."
245
245
  type: string
246
246
  enum: ["DISK", "TAPE"]
247
247
  latitude:
248
- description: The latitude of the RSE.
248
+ description: "The latitude of the RSE."
249
249
  type: number
250
250
  longitude:
251
- description: The longitude of the RSE.
251
+ description: "The longitude of the RSE."
252
252
  type: number
253
253
  ASN:
254
- description: The access service network of the RSE.
254
+ description: "The access service network of the RSE."
255
255
  type: string
256
256
  availability:
257
- description: The availability of the RSE.
257
+ description: "The availability of the RSE."
258
258
  type: integer
259
259
  deprecated: true
260
260
  availability_read:
261
- description: If the RSE is readable.
261
+ description: "If the RSE is readable."
262
262
  type: boolean
263
263
  availability_write:
264
- description: If the RSE is writable.
264
+ description: "If the RSE is writable."
265
265
  type: boolean
266
266
  availability_delete:
267
- description: If the RSE is deletable.
267
+ description: "If the RSE is deletable."
268
268
  type: boolean
269
269
  responses:
270
270
  201:
271
- description: OK
271
+ description: "OK"
272
272
  content:
273
273
  application/json:
274
274
  schema:
275
275
  type: string
276
276
  enum: ["Created"]
277
277
  400:
278
- description: Cannot decode json parameter dictionary
278
+ description: "Cannot decode json parameter dictionary"
279
279
  401:
280
- description: Invalid Auth Token
280
+ description: "Invalid Auth Token"
281
281
  404:
282
- description: RSE not found
282
+ description: "RSE not found"
283
283
  409:
284
- description: RSE already exists.
284
+ description: "RSE already exists."
285
285
  """
286
286
  kwargs = {
287
287
  'deterministic': True,
@@ -335,13 +335,13 @@ class RSE(ErrorHandlingMethodView):
335
335
  """
336
336
  ---
337
337
  summary: Update RSE
338
- description: Update RSE properties.
338
+ description: "Update RSE properties."
339
339
  tags:
340
340
  - Rucio Storage Elements
341
341
  parameters:
342
342
  - name: rse
343
343
  in: path
344
- description: The name of the Rucio Storage Element name.
344
+ description: "The name of the Rucio Storage Element name."
345
345
  schema:
346
346
  type: string
347
347
  style: simple
@@ -352,59 +352,59 @@ class RSE(ErrorHandlingMethodView):
352
352
  type: object
353
353
  properties:
354
354
  availability_read:
355
- description: The vailability of the RSE.
355
+ description: "The availability of the RSE."
356
356
  type: boolean
357
357
  availability_write:
358
- description: The vailability of the RSE.
358
+ description: "The availability of the RSE."
359
359
  type: boolean
360
360
  availability_delete:
361
- description: The vailability of the RSE.
361
+ description: "The availability of the RSE."
362
362
  type: boolean
363
363
  deterministic:
364
- description: If the pfn is generated deterministicly.
364
+ description: "If the pfn is generated deterministically."
365
365
  type: boolean
366
366
  volatile:
367
- description: RSE cache.
367
+ description: "RSE cache."
368
368
  type: boolean
369
369
  city:
370
- description: The city of the RSE.
370
+ description: "The city of the RSE."
371
371
  type: string
372
372
  staging_area:
373
- description: Staging area.
373
+ description: "Staging area."
374
374
  type: string
375
375
  region_code:
376
- description: The region code of the RSE.
376
+ description: "The region code of the RSE."
377
377
  type: string
378
378
  country_name:
379
- description: The country name of the RSE.
379
+ description: "The country name of the RSE."
380
380
  type: string
381
381
  time_zone:
382
- description: The time zone of the RSE.
382
+ description: "The time zone of the RSE."
383
383
  type: string
384
384
  rse_type:
385
- description: The rse type.
385
+ description: "The rse type."
386
386
  type: string
387
387
  enum: ["DISK", "TAPE"]
388
388
  latitude:
389
- description: The latitude of the RSE.
389
+ description: "The latitude of the RSE."
390
390
  type: number
391
391
  longitude:
392
- description: The longitude of the RSE.
392
+ description: "The longitude of the RSE."
393
393
  type: number
394
394
  responses:
395
395
  201:
396
- description: OK
396
+ description: "OK"
397
397
  content:
398
398
  application/json:
399
399
  schema:
400
400
  type: string
401
401
  enum: ["Created"]
402
402
  400:
403
- description: Cannot decode json parameter dictionary or invalid option provided
403
+ description: "Cannot decode json parameter dictionary or invalid option provided"
404
404
  401:
405
- description: Invalid Auth Token
405
+ description: "Invalid Auth Token"
406
406
  404:
407
- description: RSE not found
407
+ description: "RSE not found"
408
408
  """
409
409
  kwargs = {
410
410
  'parameters': json_parameters(optional=True),
@@ -429,83 +429,83 @@ class RSE(ErrorHandlingMethodView):
429
429
  """
430
430
  ---
431
431
  summary: Get RSE
432
- description: Get details about a specific RSE.
432
+ description: "Get details about a specific RSE."
433
433
  tags:
434
434
  - Rucio Storage Elements
435
435
  parameters:
436
436
  - name: rse
437
437
  in: path
438
- description: The name of the Rucio Storage Element name.
438
+ description: "The name of the Rucio Storage Element name."
439
439
  schema:
440
440
  type: string
441
441
  style: simple
442
442
  responses:
443
443
  200:
444
- description: OK
444
+ description: "OK"
445
445
  content:
446
446
  application/json:
447
447
  schema:
448
- description: The RSE properties.
448
+ description: "The RSE properties."
449
449
  type: object
450
450
  properties:
451
451
  deterministic:
452
- description: If the pfn is generated deterministicly.
452
+ description: "If the pfn is generated deterministically."
453
453
  type: boolean
454
454
  volatile:
455
- description: RSE cache.
455
+ description: "RSE cache."
456
456
  type: boolean
457
457
  city:
458
- description: The city of the RSE.
458
+ description: "The city of the RSE."
459
459
  type: string
460
460
  staging_area:
461
- description: Staging area.
461
+ description: "Staging area."
462
462
  type: string
463
463
  region_code:
464
- description: The region code of the RSE.
464
+ description: "The region code of the RSE."
465
465
  type: string
466
466
  country_name:
467
- description: The country name of the RSE.
467
+ description: "The country name of the RSE."
468
468
  type: string
469
469
  continent:
470
- description: The continent of the RSE.
470
+ description: "The continent of the RSE."
471
471
  type: string
472
472
  time_zone:
473
- description: The time zone of the RSE.
473
+ description: "The time zone of the RSE."
474
474
  type: string
475
475
  ISP:
476
- description: The internet service provider of the RSE.
476
+ description: "The internet service provider of the RSE."
477
477
  type: string
478
478
  rse_type:
479
- description: The rse type.
479
+ description: "The rse type."
480
480
  type: string
481
481
  enum: ["DISK", "TAPE"]
482
482
  latitude:
483
- description: The latitude of the RSE.
483
+ description: "The latitude of the RSE."
484
484
  type: number
485
485
  longitude:
486
- description: The longitude of the RSE.
486
+ description: "The longitude of the RSE."
487
487
  type: number
488
488
  ASN:
489
- description: The access service network of the RSE.
489
+ description: "The access service network of the RSE."
490
490
  type: string
491
491
  availability:
492
- description: The availability of the RSE.
492
+ description: "The availability of the RSE."
493
493
  type: integer
494
494
  deprecated: true
495
495
  availability_read:
496
- description: If the RSE is readable.
496
+ description: "If the RSE is readable."
497
497
  type: integer
498
498
  availability_write:
499
- description: If the RSE is writable.
499
+ description: "If the RSE is writable."
500
500
  type: integer
501
501
  availability_delete:
502
- description: If the RSE is deletable.
502
+ description: "If the RSE is deletable."
503
503
  401:
504
- description: Invalid Auth Token
504
+ description: "Invalid Auth Token"
505
505
  404:
506
- description: RSE not found
506
+ description: "RSE not found"
507
507
  406:
508
- description: Not acceptable
508
+ description: "Not acceptable"
509
509
  """
510
510
  try:
511
511
  rse = get_rse(rse=rse, vo=request.environ['vo'])
@@ -518,23 +518,23 @@ class RSE(ErrorHandlingMethodView):
518
518
  """
519
519
  ---
520
520
  summary: Disable RSE
521
- description: Disable a specific RSE.
521
+ description: "Disable a specific RSE."
522
522
  tags:
523
523
  - Rucio Storage Elements
524
524
  parameters:
525
525
  - name: rse
526
526
  in: path
527
- description: The name of the Rucio Storage Element name.
527
+ description: "The name of the Rucio Storage Element name."
528
528
  schema:
529
529
  type: string
530
530
  style: simple
531
531
  responses:
532
532
  200:
533
- description: OK
533
+ description: "OK"
534
534
  401:
535
- description: Invalid Auth Token
535
+ description: "Invalid Auth Token"
536
536
  404:
537
- description: RSE not found
537
+ description: "RSE not found"
538
538
  """
539
539
  try:
540
540
  del_rse(rse=rse, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -553,19 +553,19 @@ class Attributes(ErrorHandlingMethodView):
553
553
  """
554
554
  ---
555
555
  summary: Create RSE Attribute
556
- description: Create a RSE attribute with given RSE name.
556
+ description: "Create a RSE attribute with given RSE name."
557
557
  tags:
558
558
  - Rucio Storage Elements
559
559
  parameters:
560
560
  - name: rse
561
561
  in: path
562
- description: The name of the Rucio Storage Element name.
562
+ description: "The name of the Rucio Storage Element name."
563
563
  schema:
564
564
  type: string
565
565
  style: simple
566
566
  - name: key
567
567
  in: path
568
- description: The name of the attribute of the RSE.
568
+ description: "The name of the attribute of the RSE."
569
569
  schema:
570
570
  type: string
571
571
  style: simple
@@ -578,24 +578,24 @@ class Attributes(ErrorHandlingMethodView):
578
578
  - value
579
579
  properties:
580
580
  value:
581
- description: The value of the RSE attribute.
581
+ description: "The value of the RSE attribute."
582
582
  type: string
583
583
  responses:
584
584
  201:
585
- description: OK
585
+ description: "OK"
586
586
  content:
587
587
  application/json:
588
588
  schema:
589
589
  type: string
590
590
  enum: ["Created"]
591
591
  400:
592
- description: Cannot decode json parameter dictionary
592
+ description: "Cannot decode json parameter dictionary"
593
593
  401:
594
- description: Invalid Auth Token
594
+ description: "Invalid Auth Token"
595
595
  404:
596
- description: RSE not found
596
+ description: "RSE not found"
597
597
  409:
598
- description: Attribute already exists
598
+ description: "Attribute already exists"
599
599
  """
600
600
  parameters = json_parameters()
601
601
  value = param_get(parameters, 'value')
@@ -615,32 +615,32 @@ class Attributes(ErrorHandlingMethodView):
615
615
  """
616
616
  ---
617
617
  summary: Get RSE Attributes
618
- description: Lists all RSE attributes for a RSE.
618
+ description: "Lists all RSE attributes for a RSE."
619
619
  tags:
620
620
  - Rucio Storage Elements
621
621
  parameters:
622
622
  - name: rse
623
623
  in: path
624
- description: The name of the Rucio Storage Element name.
624
+ description: "The name of the Rucio Storage Element name."
625
625
  schema:
626
626
  type: string
627
627
  style: simple
628
628
  responses:
629
629
  200:
630
- description: OK
630
+ description: "OK"
631
631
  content:
632
632
  application/json:
633
633
  schema:
634
- description: The RSE attribute list. Returns a dictionary with the attribute names as keys and the values as values.
634
+ description: "The RSE attribute list. Returns a dictionary with the attribute names as keys and the values as values."
635
635
  type: object
636
636
  additionalProperties:
637
637
  type: string
638
638
  401:
639
- description: Invalid Auth Token
639
+ description: "Invalid Auth Token"
640
640
  404:
641
- description: RSE not found
641
+ description: "RSE not found"
642
642
  406:
643
- description: Not acceptable
643
+ description: "Not acceptable"
644
644
  """
645
645
  try:
646
646
  rse_attr = list_rse_attributes(rse, vo=request.environ['vo'])
@@ -655,29 +655,29 @@ class Attributes(ErrorHandlingMethodView):
655
655
  """
656
656
  ---
657
657
  summary: Delete RSE Attribute
658
- description: Delete an RSE attribute for given RSE name.
658
+ description: "Delete an RSE attribute for given RSE name."
659
659
  tags:
660
660
  - Rucio Storage Elements
661
661
  parameters:
662
662
  - name: rse
663
663
  in: path
664
- description: The name of the Rucio Storage Element name.
664
+ description: "The name of the Rucio Storage Element name."
665
665
  schema:
666
666
  type: string
667
667
  style: simple
668
668
  - name: key
669
669
  in: path
670
- description: The name of the attribute of the RSE.
670
+ description: "The name of the attribute of the RSE."
671
671
  schema:
672
672
  type: string
673
673
  style: simple
674
674
  responses:
675
675
  200:
676
- description: OK
676
+ description: "OK"
677
677
  401:
678
- description: Invalid Auth Token
678
+ description: "Invalid Auth Token"
679
679
  404:
680
- description: RSE or RSE attribute not found
680
+ description: "RSE or RSE attribute not found"
681
681
  """
682
682
  try:
683
683
  del_rse_attribute(rse=rse, key=key, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -697,138 +697,138 @@ class ProtocolList(ErrorHandlingMethodView):
697
697
  """
698
698
  ---
699
699
  summary: List RSE Protocols
700
- description: List all supported protocols of the given RSE.
700
+ description: "List all supported protocols of the given RSE."
701
701
  tags:
702
702
  - Rucio Storage Elements
703
703
  parameters:
704
704
  - name: rse
705
705
  in: path
706
- description: The name of the Rucio Storage Element name.
706
+ description: "The name of the Rucio Storage Element name."
707
707
  schema:
708
708
  type: string
709
709
  style: simple
710
710
  responses:
711
711
  200:
712
- description: OK
712
+ description: "OK"
713
713
  content:
714
714
  application/json:
715
715
  schema:
716
- description: Supported RSE Protocols and other information.
716
+ description: "Supported RSE Protocols and other information."
717
717
  type: object
718
718
  properties:
719
719
  deterministic:
720
- description: If the pfn is generated deterministicly.
720
+ description: "If the pfn is generated deterministically."
721
721
  type: boolean
722
722
  volatile:
723
- description: RSE cache.
723
+ description: "RSE cache."
724
724
  type: boolean
725
725
  staging_area:
726
- description: Staging area.
726
+ description: "Staging area."
727
727
  type: string
728
728
  rse_type:
729
- description: The rse type.
729
+ description: "The rse type."
730
730
  type: string
731
731
  enum: ["DISK", "TAPE"]
732
732
  availability_read:
733
- description: The read availability of the RSE.
733
+ description: "The read availability of the RSE."
734
734
  type: boolean
735
735
  availability_write:
736
- description: The write availability of the RSE.
736
+ description: "The write availability of the RSE."
737
737
  type: boolean
738
738
  availability_delete:
739
- description: The delete availability of the RSE.
739
+ description: "The delete availability of the RSE."
740
740
  type: boolean
741
741
  credentials:
742
- description: The credentials, currently None.
742
+ description: "The credentials, currently None."
743
743
  type: string
744
744
  domain:
745
- description: The domains of the RSE protocols.
745
+ description: "The domains of the RSE protocols."
746
746
  type: array
747
747
  id:
748
- description: The RSE id.
748
+ description: "The RSE id."
749
749
  type: string
750
750
  lfn2pfn_algorithm:
751
- description: The algorithm used to translate the logical file names to the physical ones.
751
+ description: "The algorithm used to translate the logical file names to the physical ones."
752
752
  type: string
753
753
  qos_class:
754
- description: The qos class of the RSE.
754
+ description: "The qos class of the RSE."
755
755
  type: string
756
756
  rse:
757
- description: The name of the RSE.
757
+ description: "The name of the RSE."
758
758
  type: string
759
759
  sign_url:
760
- description: The sign url of the RSE.
760
+ description: "The sign url of the RSE."
761
761
  type: string
762
762
  verify_checksum:
763
- description: If the checksum of the files should be verified.
763
+ description: "If the checksum of the files should be verified."
764
764
  type: boolean
765
765
  protocols:
766
- description: All supported protocols of the RSE.
766
+ description: "All supported protocols of the RSE."
767
767
  type: array
768
768
  items:
769
769
  type: object
770
- description: A supported RSE protocol.
770
+ description: "A supported RSE protocol."
771
771
  properties:
772
772
  hostname:
773
- description: The hostname of the protocol.
773
+ description: "The hostname of the protocol."
774
774
  type: string
775
775
  scheme:
776
- description: The scheme of the protocol.
776
+ description: "The scheme of the protocol."
777
777
  type: string
778
778
  port:
779
- description: The port of the protocol.
779
+ description: "The port of the protocol."
780
780
  type: integer
781
781
  prefix:
782
- description: The prefix of the protocol.
782
+ description: "The prefix of the protocol."
783
783
  type: string
784
784
  impl:
785
- description: The implementation of the protocol.
785
+ description: "The implementation of the protocol."
786
786
  type: string
787
787
  domains:
788
- description: The domains of the protocol.
788
+ description: "The domains of the protocol."
789
789
  type: object
790
790
  properties:
791
791
  lan:
792
- description: The lan domain
792
+ description: "The lan domain"
793
793
  type: object
794
794
  properties:
795
795
  read:
796
- description: The read value of the lan protocol.
796
+ description: "The read value of the lan protocol."
797
797
  type: integer
798
798
  write:
799
- description: The write value of the lan protocol.
799
+ description: "The write value of the lan protocol."
800
800
  type: integer
801
801
  delete:
802
- description: The delete value of the lan protocol.
802
+ description: "The delete value of the lan protocol."
803
803
  type: integer
804
804
  wan:
805
- description: The wan domain
805
+ description: "The wan domain"
806
806
  type: object
807
807
  properties:
808
808
  read:
809
- description: The read value of the wan protocol.
809
+ description: "The read value of the wan protocol."
810
810
  type: integer
811
811
  write:
812
- description: The read value of the wan protocol.
812
+ description: "The read value of the wan protocol."
813
813
  type: integer
814
814
  delete:
815
- description: The read value of the wan protocol.
815
+ description: "The read value of the wan protocol."
816
816
  type: integer
817
817
  third_party_copy_read:
818
- description: The third party copy read value of the wan protocol.
818
+ description: "The third party copy read value of the wan protocol."
819
819
  type: integer
820
820
  third_party_copy_write:
821
- description: The third party copy write value of the wan protocol.
821
+ description: "The third party copy write value of the wan protocol."
822
822
  type: integer
823
823
  extended_attributes:
824
- description: The extended attributes of the protocol.
824
+ description: "The extended attributes of the protocol."
825
825
  type: string
826
826
  401:
827
- description: Invalid Auth Token
827
+ description: "Invalid Auth Token"
828
828
  404:
829
- description: RSE not found or RSE Operation, RSE Protocol Domain, RSE Protocol not supported
829
+ description: "RSE not found or RSE Operation, RSE Protocol Domain, RSE Protocol not supported"
830
830
  406:
831
- description: Not acceptable
831
+ description: "Not acceptable"
832
832
  """
833
833
  try:
834
834
  p_list = get_rse_protocols(rse, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -849,54 +849,54 @@ class LFNS2PFNS(ErrorHandlingMethodView):
849
849
  """
850
850
  ---
851
851
  summary: Translate LFNs to PFNs
852
- description: Return PFNs for a set of LFNs. Formatted as a JSON object where the key is a LFN and the value is the corresponding PFN.
852
+ description: "Return PFNs for a set of LFNs. Formatted as a JSON object where the key is a LFN and the value is the corresponding PFN."
853
853
  tags:
854
854
  - Rucio Storage Elements
855
855
  parameters:
856
856
  - name: rse
857
857
  in: path
858
- description: The name of the Rucio Storage Element name.
858
+ description: "The name of the Rucio Storage Element name."
859
859
  schema:
860
860
  type: string
861
861
  style: simple
862
862
  - name: lfn
863
863
  in: query
864
- description: The lfns of the request.
864
+ description: "The lfns of the request."
865
865
  schema:
866
866
  type: string
867
867
  required: True
868
868
  - name: scheme
869
869
  in: query
870
- description: Optional argument to help with the protocol selection (e.g., http / gsiftp / srm)
870
+ description: "Optional argument to help with the protocol selection (e.g., http / gsiftp / srm)"
871
871
  schema:
872
872
  type: string
873
873
  - name: domain
874
874
  in: query
875
- description: Optional argument used to select the protocol for wan or lan use cases.
875
+ description: "Optional argument used to select the protocol for wan or lan use cases."
876
876
  schema:
877
877
  type: string
878
878
  - name: operation
879
879
  in: query
880
- description: Optional query argument to select the protocol for read-vs-writes.
880
+ description: "Optional query argument to select the protocol for read-vs-writes."
881
881
  schema:
882
882
  type: string
883
883
  responses:
884
884
  200:
885
- description: OK
885
+ description: "OK"
886
886
  content:
887
887
  application/json:
888
888
  schema:
889
- description: The PFNs to the LFNs. Dictionary with lfns as keys and pfns as values.
889
+ description: "The PFNs to the LFNs. Dictionary with lfns as keys and pfns as values."
890
890
  type: object
891
891
  additionalProperties:
892
892
  type:
893
893
  string
894
894
  401:
895
- description: Invalid Auth Token
895
+ description: "Invalid Auth Token"
896
896
  404:
897
- description: RSE not found or RSE Protocol or RSE Protocol Domain not supported
897
+ description: "RSE not found or RSE Protocol or RSE Protocol Domain not supported"
898
898
  406:
899
- description: Not acceptable
899
+ description: "Not acceptable"
900
900
  """
901
901
  lfns = request.args.getlist('lfn')
902
902
  lfns = list(map(lambda lfn: lfn.split(":", 1), lfns))
@@ -927,19 +927,19 @@ class Protocol(ErrorHandlingMethodView):
927
927
  """
928
928
  ---
929
929
  summary: Create RSE Protocol
930
- description: Create a protocol for a given RSE.
930
+ description: "Create a protocol for a given RSE."
931
931
  tags:
932
932
  - Rucio Storage Elements
933
933
  parameters:
934
934
  - name: rse
935
935
  in: path
936
- description: The name of the Rucio Storage Element name.
936
+ description: "The name of the Rucio Storage Element name."
937
937
  schema:
938
938
  type: string
939
939
  style: simple
940
940
  - name: scheme
941
941
  in: path
942
- description: The protocol identifier.
942
+ description: "The protocol identifier."
943
943
  schema:
944
944
  type: string
945
945
  style: simple
@@ -951,57 +951,57 @@ class Protocol(ErrorHandlingMethodView):
951
951
  type: object
952
952
  properties:
953
953
  domains:
954
- description: The domains for the protocol.
954
+ description: "The domains for the protocol."
955
955
  type: array
956
956
  port:
957
- description: The port the protocol uses.
957
+ description: "The port the protocol uses."
958
958
  type: integer
959
959
  hostname:
960
- description: The hostname of the protocol.
960
+ description: "The hostname of the protocol."
961
961
  type: string
962
962
  extended_attributes:
963
- description: Extended attributes for the protocol.
963
+ description: "Extended attributes for the protocol."
964
964
  type: string
965
965
  prefix:
966
- description: The prefix of the Protocol.
966
+ description: "The prefix of the Protocol."
967
967
  type: string
968
968
  impl:
969
- description: The impl used by the Protocol.
969
+ description: "The impl used by the Protocol."
970
970
  type: string
971
971
  read_lan:
972
- description: If the protocol is readable via lan.
972
+ description: "If the protocol is readable via lan."
973
973
  type: integer
974
974
  write_lan:
975
- description: If the protocol is writable via lan.
975
+ description: "If the protocol is writable via lan."
976
976
  type: integer
977
977
  delete_lan:
978
- description: If the protocol is deletable via lan.
978
+ description: "If the protocol is deletable via lan."
979
979
  type: integer
980
980
  read_wan:
981
- description: If the protocol is readable via wan.
981
+ description: "If the protocol is readable via wan."
982
982
  type: integer
983
983
  write_wan:
984
- description: If the protocol is writable via wan.
984
+ description: "If the protocol is writable via wan."
985
985
  type: integer
986
986
  delete_wan:
987
- description: If the protocol is deletable via wan.
987
+ description: "If the protocol is deletable via wan."
988
988
  type: integer
989
989
  responses:
990
990
  201:
991
- description: OK
991
+ description: "OK"
992
992
  content:
993
993
  application/json:
994
994
  schema:
995
995
  type: string
996
996
  enum: ["Created"]
997
997
  400:
998
- description: Cannot decode json parameter dictionary
998
+ description: "Cannot decode json parameter dictionary"
999
999
  401:
1000
- description: Invalid Auth Token
1000
+ description: "Invalid Auth Token"
1001
1001
  404:
1002
- description: RSE not found or RSE Protocol Domain not supported
1002
+ description: "RSE not found or RSE Protocol Domain not supported"
1003
1003
  409:
1004
- description: RSE protocol priority error
1004
+ description: "RSE protocol priority error"
1005
1005
  """
1006
1006
  parameters = json_parameters()
1007
1007
 
@@ -1026,145 +1026,145 @@ class Protocol(ErrorHandlingMethodView):
1026
1026
  """
1027
1027
  ---
1028
1028
  summary: Get Protocols
1029
- description: List all references of the provided RSE for the given protocol.
1029
+ description: "List all references of the provided RSE for the given protocol."
1030
1030
  tags:
1031
1031
  - Rucio Storage Elements
1032
1032
  parameters:
1033
1033
  - name: rse
1034
1034
  in: path
1035
- description: The name of the Rucio Storage Element name.
1035
+ description: "The name of the Rucio Storage Element name."
1036
1036
  schema:
1037
1037
  type: string
1038
1038
  style: simple
1039
1039
  - name: scheme
1040
1040
  in: path
1041
- description: The protocol identifier.
1041
+ description: "The protocol identifier."
1042
1042
  schema:
1043
1043
  type: string
1044
1044
  style: simple
1045
1045
  required: False
1046
1046
  responses:
1047
1047
  200:
1048
- description: OK
1048
+ description: "OK"
1049
1049
  content:
1050
1050
  application/json:
1051
1051
  schema:
1052
- description: A dict with RSE information and supported protocols.
1052
+ description: "A dict with RSE information and supported protocols."
1053
1053
  type: object
1054
1054
  properties:
1055
1055
  deterministic:
1056
- description: If the pfn is generated deterministicly.
1056
+ description: "If the pfn is generated deterministically."
1057
1057
  type: boolean
1058
1058
  volatile:
1059
- description: RSE cache.
1059
+ description: "RSE cache."
1060
1060
  type: boolean
1061
1061
  staging_area:
1062
- description: Staging area.
1062
+ description: "Staging area."
1063
1063
  type: string
1064
1064
  rse_type:
1065
- description: The rse type.
1065
+ description: "The rse type."
1066
1066
  type: string
1067
1067
  enum: ["DISK", "TAPE"]
1068
1068
  availability_read:
1069
- description: The read availability of the RSE.
1069
+ description: "The read availability of the RSE."
1070
1070
  type: boolean
1071
1071
  availability_write:
1072
- description: The write availability of the RSE.
1072
+ description: "The write availability of the RSE."
1073
1073
  type: boolean
1074
1074
  availability_delete:
1075
- description: The delete availability of the RSE.
1075
+ description: "The delete availability of the RSE."
1076
1076
  type: boolean
1077
1077
  credentials:
1078
- description: The credentials, currently None.
1078
+ description: "The credentials, currently None."
1079
1079
  type: string
1080
1080
  domain:
1081
- description: The domains of the RSE protocols.
1081
+ description: "The domains of the RSE protocols."
1082
1082
  type: array
1083
1083
  id:
1084
- description: The RSE id.
1084
+ description: "The RSE id."
1085
1085
  type: string
1086
1086
  lfn2pfn_algorithm:
1087
- description: The algorithm used to translate the logical file names to the physical ones.
1087
+ description: "The algorithm used to translate the logical file names to the physical ones."
1088
1088
  type: string
1089
1089
  qos_class:
1090
- description: The qos class of the RSE.
1090
+ description: "The qos class of the RSE."
1091
1091
  type: string
1092
1092
  rse:
1093
- description: The name of the RSE.
1093
+ description: "The name of the RSE."
1094
1094
  type: string
1095
1095
  sign_url:
1096
- description: The sign url of the RSE.
1096
+ description: "The sign url of the RSE."
1097
1097
  type: string
1098
1098
  verify_checksum:
1099
- description: If the checksum of the files should be verified.
1099
+ description: "If the checksum of the files should be verified."
1100
1100
  type: boolean
1101
1101
  protocols:
1102
- description: All supported protocols of the RSE.
1102
+ description: "All supported protocols of the RSE."
1103
1103
  type: array
1104
1104
  items:
1105
1105
  type: object
1106
- description: A supported RSE protocol.
1106
+ description: "A supported RSE protocol."
1107
1107
  properties:
1108
1108
  hostname:
1109
- description: The hostname of the protocol.
1109
+ description: "The hostname of the protocol."
1110
1110
  type: string
1111
1111
  scheme:
1112
- description: The scheme of the protocol.
1112
+ description: "The scheme of the protocol."
1113
1113
  type: string
1114
1114
  port:
1115
- description: The port of the protocol.
1115
+ description: "The port of the protocol."
1116
1116
  type: integer
1117
1117
  prefix:
1118
- description: The prefix of the protocol.
1118
+ description: "The prefix of the protocol."
1119
1119
  type: string
1120
1120
  impl:
1121
- description: The implementation of the protocol.
1121
+ description: "The implementation of the protocol."
1122
1122
  type: string
1123
1123
  domains:
1124
- description: The domains of the protocol.
1124
+ description: "The domains of the protocol."
1125
1125
  type: object
1126
1126
  properties:
1127
1127
  lan:
1128
- description: The lan domain
1128
+ description: "The lan domain"
1129
1129
  type: object
1130
1130
  properties:
1131
1131
  read:
1132
- description: The read value of the lan protocol.
1132
+ description: "The read value of the lan protocol."
1133
1133
  type: integer
1134
1134
  write:
1135
- description: The write value of the lan protocol.
1135
+ description: "The write value of the lan protocol."
1136
1136
  type: integer
1137
1137
  delete:
1138
- description: The delete value of the lan protocol.
1138
+ description: "The delete value of the lan protocol."
1139
1139
  type: integer
1140
1140
  wan:
1141
- description: The wan domain
1141
+ description: "The wan domain"
1142
1142
  type: object
1143
1143
  properties:
1144
1144
  read:
1145
- description: The read value of the wan protocol.
1145
+ description: "The read value of the wan protocol."
1146
1146
  type: integer
1147
1147
  write:
1148
- description: The read value of the wan protocol.
1148
+ description: "The read value of the wan protocol."
1149
1149
  type: integer
1150
1150
  delete:
1151
- description: The read value of the wan protocol.
1151
+ description: "The read value of the wan protocol."
1152
1152
  type: integer
1153
1153
  third_party_copy_read:
1154
- description: The third party copy read value of the wan protocol.
1154
+ description: "The third party copy read value of the wan protocol."
1155
1155
  type: integer
1156
1156
  third_party_copy_write:
1157
- description: The third party copy write value of the wan protocol.
1157
+ description: "The third party copy write value of the wan protocol."
1158
1158
  type: integer
1159
1159
  extended_attributes:
1160
- description: The extended attributes of the protocol.
1160
+ description: "The extended attributes of the protocol."
1161
1161
  type: string
1162
1162
  401:
1163
- description: Invalid Auth Token
1163
+ description: "Invalid Auth Token"
1164
1164
  404:
1165
- description: RSE not found or Protocol or Protocol domain not Supported.
1165
+ description: "RSE not found or Protocol or Protocol domain not Supported."
1166
1166
  406:
1167
- description: Not acceptable
1167
+ description: "Not acceptable"
1168
1168
  """
1169
1169
  try:
1170
1170
  p_list = get_rse_protocols(rse, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -1177,158 +1177,158 @@ class Protocol(ErrorHandlingMethodView):
1177
1177
  """
1178
1178
  ---
1179
1179
  summary: Update Protocol Attributes
1180
- description: Updates attributes of an existing protocol entry. Because protocol identifier, hostname, and port are used as unique identifier they are immutable.
1180
+ description: "Updates attributes of an existing protocol entry. Because protocol identifier, hostname, and port are used as unique identifiers, they are immutable."
1181
1181
  tags:
1182
1182
  - Rucio Storage Elements
1183
1183
  parameters:
1184
1184
  - name: rse
1185
1185
  in: path
1186
- description: The name of the Rucio Storage Element name.
1186
+ description: "The name of the Rucio Storage Element name."
1187
1187
  schema:
1188
1188
  type: string
1189
1189
  style: simple
1190
1190
  - name: scheme
1191
1191
  in: path
1192
- description: The protocol identifier.
1192
+ description: "The protocol identifier."
1193
1193
  schema:
1194
1194
  type: string
1195
1195
  style: simple
1196
1196
  - name: hostname
1197
1197
  in: path
1198
- description: The hostname of the protocol.
1198
+ description: "The hostname of the protocol."
1199
1199
  schema:
1200
1200
  type: string
1201
1201
  style: simple
1202
1202
  required: False
1203
1203
  - name: port
1204
1204
  in: path
1205
- description: The port of the protocol.
1205
+ description: "The port of the protocol."
1206
1206
  schema:
1207
1207
  type: integer
1208
1208
  style: simple
1209
1209
  required: False
1210
1210
  responses:
1211
1211
  200:
1212
- description: OK
1212
+ description: "OK"
1213
1213
  content:
1214
1214
  application/json:
1215
1215
  schema:
1216
- description: A dict with RSE information and supported protocols.
1216
+ description: "A dict with RSE information and supported protocols."
1217
1217
  type: object
1218
1218
  properties:
1219
1219
  deterministic:
1220
- description: If the pfn is generated deterministicly.
1220
+ description: "If the pfn is generated deterministically."
1221
1221
  type: boolean
1222
1222
  volatile:
1223
- description: RSE cache.
1223
+ description: "RSE cache."
1224
1224
  type: boolean
1225
1225
  staging_area:
1226
- description: Staging area.
1226
+ description: "Staging area."
1227
1227
  type: string
1228
1228
  rse_type:
1229
- description: The rse type.
1229
+ description: "The rse type."
1230
1230
  type: string
1231
1231
  enum: ["DISK", "TAPE"]
1232
1232
  availability_read:
1233
- description: The read availability of the RSE.
1233
+ description: "The read availability of the RSE."
1234
1234
  type: boolean
1235
1235
  availability_write:
1236
- description: The write availability of the RSE.
1236
+ description: "The write availability of the RSE."
1237
1237
  type: boolean
1238
1238
  availability_delete:
1239
- description: The delete availability of the RSE.
1239
+ description: "The delete availability of the RSE."
1240
1240
  type: boolean
1241
1241
  credentials:
1242
- description: The credentials, currently None.
1242
+ description: "The credentials, currently None."
1243
1243
  type: string
1244
1244
  domain:
1245
- description: The domains of the RSE protocols.
1245
+ description: "The domains of the RSE protocols."
1246
1246
  type: array
1247
1247
  id:
1248
- description: The RSE id.
1248
+ description: "The RSE id."
1249
1249
  type: string
1250
1250
  lfn2pfn_algorithm:
1251
- description: The algorithm used to translate the logical file names to the physical ones.
1251
+ description: "The algorithm used to translate the logical file names to the physical ones."
1252
1252
  type: string
1253
1253
  qos_class:
1254
- description: The qos class of the RSE.
1254
+ description: "The qos class of the RSE."
1255
1255
  type: string
1256
1256
  rse:
1257
- description: The name of the RSE.
1257
+ description: "The name of the RSE."
1258
1258
  type: string
1259
1259
  sign_url:
1260
- description: The sign url of the RSE.
1260
+ description: "The sign url of the RSE."
1261
1261
  type: string
1262
1262
  verify_checksum:
1263
- description: If the checksum of the files should be verified.
1263
+ description: "If the checksum of the files should be verified."
1264
1264
  type: boolean
1265
1265
  protocols:
1266
- description: All supported protocols of the RSE.
1266
+ description: "All supported protocols of the RSE."
1267
1267
  type: array
1268
1268
  items:
1269
1269
  type: object
1270
- description: A supported RSE protocol.
1270
+ description: "A supported RSE protocol."
1271
1271
  properties:
1272
1272
  hostname:
1273
- description: The hostname of the protocol.
1273
+ description: "The hostname of the protocol."
1274
1274
  type: string
1275
1275
  scheme:
1276
- description: The scheme of the protocol.
1276
+ description: "The scheme of the protocol."
1277
1277
  type: string
1278
1278
  port:
1279
- description: The port of the protocol.
1279
+ description: "The port of the protocol."
1280
1280
  type: integer
1281
1281
  prefix:
1282
- description: The prefix of the protocol.
1282
+ description: "The prefix of the protocol."
1283
1283
  type: string
1284
1284
  impl:
1285
- description: The implementation of the protocol.
1285
+ description: "The implementation of the protocol."
1286
1286
  type: string
1287
1287
  domains:
1288
- description: The domains of the protocol.
1288
+ description: "The domains of the protocol."
1289
1289
  type: object
1290
1290
  properties:
1291
1291
  lan:
1292
- description: The lan domain
1292
+ description: "The lan domain"
1293
1293
  type: object
1294
1294
  properties:
1295
1295
  read:
1296
- description: The read value of the lan protocol.
1296
+ description: "The read value of the lan protocol."
1297
1297
  type: integer
1298
1298
  write:
1299
- description: The write value of the lan protocol.
1299
+ description: "The write value of the lan protocol."
1300
1300
  type: integer
1301
1301
  delete:
1302
- description: The delete value of the lan protocol.
1302
+ description: "The delete value of the lan protocol."
1303
1303
  type: integer
1304
1304
  wan:
1305
- description: The wan domain
1305
+ description: "The wan domain"
1306
1306
  type: object
1307
1307
  properties:
1308
1308
  read:
1309
- description: The read value of the wan protocol.
1309
+ description: "The read value of the wan protocol."
1310
1310
  type: integer
1311
1311
  write:
1312
- description: The read value of the wan protocol.
1312
+ description: "The read value of the wan protocol."
1313
1313
  type: integer
1314
1314
  delete:
1315
- description: The read value of the wan protocol.
1315
+ description: "The read value of the wan protocol."
1316
1316
  type: integer
1317
1317
  third_party_copy_read:
1318
- description: The third party copy read value of the wan protocol.
1318
+ description: "The third party copy read value of the wan protocol."
1319
1319
  type: integer
1320
1320
  third_party_copy_write:
1321
- description: The third party copy write value of the wan protocol.
1321
+ description: "The third party copy write value of the wan protocol."
1322
1322
  type: integer
1323
1323
  extended_attributes:
1324
- description: The extended attributes of the protocol.
1324
+ description: "The extended attributes of the protocol."
1325
1325
  type: string
1326
1326
  401:
1327
- description: Invalid Auth Token
1327
+ description: "Invalid Auth Token"
1328
1328
  404:
1329
- description: RSE not found or Protocol or Protocol domain not Supported.
1329
+ description: "RSE not found or Protocol or Protocol domain not Supported."
1330
1330
  406:
1331
- description: Not acceptable
1331
+ description: "Not acceptable"
1332
1332
  """
1333
1333
  parameters = json_parameters()
1334
1334
  try:
@@ -1354,43 +1354,43 @@ class Protocol(ErrorHandlingMethodView):
1354
1354
  """
1355
1355
  ---
1356
1356
  summary: Delete Protocol Attributes
1357
- description: Delete all protocol attributes.
1357
+ description: "Delete all protocol attributes."
1358
1358
  tags:
1359
1359
  - Rucio Storage Elements
1360
1360
  parameters:
1361
1361
  - name: rse
1362
1362
  in: path
1363
- description: The name of the Rucio Storage Element name.
1363
+ description: "The name of the Rucio Storage Element name."
1364
1364
  schema:
1365
1365
  type: string
1366
1366
  style: simple
1367
1367
  - name: scheme
1368
1368
  in: path
1369
- description: The protocol identifier.
1369
+ description: "The protocol identifier."
1370
1370
  schema:
1371
1371
  type: string
1372
1372
  style: simple
1373
1373
  - name: hostname
1374
1374
  in: path
1375
- description: The hostname of the protocol.
1375
+ description: "The hostname of the protocol."
1376
1376
  schema:
1377
1377
  type: string
1378
1378
  style: simple
1379
1379
  required: False
1380
1380
  - name: port
1381
1381
  in: path
1382
- description: The port of the protocol.
1382
+ description: "The port of the protocol."
1383
1383
  schema:
1384
1384
  type: integer
1385
1385
  style: simple
1386
1386
  required: False
1387
1387
  responses:
1388
1388
  200:
1389
- description: OK
1389
+ description: "OK"
1390
1390
  401:
1391
- description: Invalid Auth Token
1391
+ description: "Invalid Auth Token"
1392
1392
  404:
1393
- description: Rse not found or protocol not supported
1393
+ description: "Rse not found or protocol not supported"
1394
1394
  """
1395
1395
  try:
1396
1396
  del_protocols(
@@ -1415,67 +1415,67 @@ class Usage(ErrorHandlingMethodView):
1415
1415
  """
1416
1416
  ---
1417
1417
  summary: Get Rse Usage Information
1418
- description: Get rse usage information.
1418
+ description: "Get rse usage information."
1419
1419
  tags:
1420
1420
  - Rucio Storage Elements
1421
1421
  parameters:
1422
1422
  - name: rse
1423
1423
  in: path
1424
- description: The name of the Rucio Storage Element name.
1424
+ description: "The name of the Rucio Storage Element name."
1425
1425
  schema:
1426
1426
  type: string
1427
1427
  style: simple
1428
1428
  - name: per_account
1429
1429
  in: query
1430
- description: Boolean whether the usage should be also calculated per account or not.
1430
+ description: "Boolean whether the usage should be also calculated per account or not."
1431
1431
  schema:
1432
1432
  type: boolean
1433
1433
  - name: source
1434
1434
  in: query
1435
- description: The information source, e.g., srm.
1435
+ description: "The information source, e.g., srm."
1436
1436
  schema:
1437
1437
  type: string
1438
1438
  responses:
1439
1439
  200:
1440
- description: OK
1440
+ description: "OK"
1441
1441
  content:
1442
1442
  application/x-json-stream:
1443
1443
  schema:
1444
- description: A list with the rse usage.
1444
+ description: "A list with the rse usage."
1445
1445
  type: array
1446
1446
  items:
1447
1447
  type: object
1448
1448
  properties:
1449
1449
  rse_id:
1450
- description: The id of the rse.
1450
+ description: "The id of the rse."
1451
1451
  type: string
1452
1452
  rse:
1453
- description: The name of the rse.
1453
+ description: "The name of the rse."
1454
1454
  type: string
1455
1455
  source:
1456
- description: The source of the rse.
1456
+ description: "The source of the rse."
1457
1457
  type: string
1458
1458
  used:
1459
- description: The number of used bytes.
1459
+ description: "The number of used bytes."
1460
1460
  type: integer
1461
1461
  free:
1462
- description: The number of free bytes.
1462
+ description: "The number of free bytes."
1463
1463
  type: integer
1464
1464
  total:
1465
- description: The number of total bytes.
1465
+ description: "The number of total bytes."
1466
1466
  type: integer
1467
1467
  files:
1468
- description: The number of files.
1468
+ description: "The number of files."
1469
1469
  type: integer
1470
1470
  updated_at:
1471
- description: The last time it got updated.
1471
+ description: "The last time it got updated."
1472
1472
  type: string
1473
1473
  401:
1474
- description: Invalid Auth Token
1474
+ description: "Invalid Auth Token"
1475
1475
  404:
1476
- description: Rse not found
1476
+ description: "Rse not found"
1477
1477
  406:
1478
- description: Not acceptable
1478
+ description: "Not acceptable"
1479
1479
  """
1480
1480
  per_account = request.args.get('per_account') == 'True'
1481
1481
  try:
@@ -1498,13 +1498,13 @@ class Usage(ErrorHandlingMethodView):
1498
1498
  """
1499
1499
  ---
1500
1500
  summary: Update Rse Usage
1501
- description: Update the RSE Update information.
1501
+ description: "Update the RSE Update information."
1502
1502
  tags:
1503
1503
  - Rucio Storage Elements
1504
1504
  parameters:
1505
1505
  - name: rse
1506
1506
  in: path
1507
- description: The name of the Rucio Storage Element name.
1507
+ description: "The name of the Rucio Storage Element name."
1508
1508
  schema:
1509
1509
  type: string
1510
1510
  style: simple
@@ -1515,28 +1515,28 @@ class Usage(ErrorHandlingMethodView):
1515
1515
  type: object
1516
1516
  properties:
1517
1517
  source:
1518
- description: The information source, e.g. srm.
1518
+ description: "The information source, e.g. srm."
1519
1519
  type: string
1520
1520
  used:
1521
- description: The number of used bytes.
1521
+ description: "The number of used bytes."
1522
1522
  type: integer
1523
1523
  free:
1524
- description: The number of free bytes.
1524
+ description: "The number of free bytes."
1525
1525
  type: integer
1526
1526
  files:
1527
- description: The number of files.
1527
+ description: "The number of files."
1528
1528
  type: integer
1529
1529
  responses:
1530
1530
  200:
1531
- description: OK
1531
+ description: "OK"
1532
1532
  400:
1533
- description: Can not decode json parameter list.
1533
+ description: "Can not decode json parameter list."
1534
1534
  401:
1535
- description: Invalid Auth Token
1535
+ description: "Invalid Auth Token"
1536
1536
  404:
1537
- description: Rse not found
1537
+ description: "Rse not found"
1538
1538
  406:
1539
- description: Not acceptable
1539
+ description: "Not acceptable"
1540
1540
  """
1541
1541
  parameters = json_parameters()
1542
1542
  kwargs = {'source': None, 'used': None, 'free': None, 'files': None}
@@ -1561,54 +1561,54 @@ class UsageHistory(ErrorHandlingMethodView):
1561
1561
  """
1562
1562
  ---
1563
1563
  summary: Get Rse Usage History
1564
- description: Get the rse usage history
1564
+ description: "Get the rse usage history"
1565
1565
  tags:
1566
1566
  - Rucio Storage Elements
1567
1567
  parameters:
1568
1568
  - name: rse
1569
1569
  in: path
1570
- description: The name of the Rucio Storage Element name.
1570
+ description: "The name of the Rucio Storage Element name."
1571
1571
  schema:
1572
1572
  type: string
1573
1573
  style: simple
1574
1574
  responses:
1575
1575
  200:
1576
- description: OK
1576
+ description: "OK"
1577
1577
  content:
1578
1578
  application/x-json-stream:
1579
1579
  schema:
1580
- description: A list with the rse usage history items.
1580
+ description: "A list with the rse usage history items."
1581
1581
  type: array
1582
1582
  items:
1583
1583
  type: object
1584
1584
  properties:
1585
1585
  rse_id:
1586
- description: The id of the rse.
1586
+ description: "The id of the rse."
1587
1587
  type: string
1588
1588
  rse:
1589
- description: The name of the rse.
1589
+ description: "The name of the rse."
1590
1590
  type: string
1591
1591
  source:
1592
- description: The source of the rse.
1592
+ description: "The source of the rse."
1593
1593
  type: string
1594
1594
  used:
1595
- description: The number of used bytes.
1595
+ description: "The number of used bytes."
1596
1596
  type: integer
1597
1597
  free:
1598
- description: The number of free bytes.
1598
+ description: "The number of free bytes."
1599
1599
  type: integer
1600
1600
  total:
1601
- description: The number of total bytes.
1601
+ description: "The number of total bytes."
1602
1602
  type: integer
1603
1603
  updated_at:
1604
- description: The last time it got updated.
1604
+ description: "The last time it got updated."
1605
1605
  type: string
1606
1606
  401:
1607
- description: Invalid Auth Token
1607
+ description: "Invalid Auth Token"
1608
1608
  404:
1609
- description: Rse not found
1609
+ description: "Rse not found"
1610
1610
  406:
1611
- description: Not acceptable
1611
+ description: "Not acceptable"
1612
1612
  """
1613
1613
  try:
1614
1614
  def generate(issuer, source, vo):
@@ -1628,34 +1628,34 @@ class Limits(ErrorHandlingMethodView):
1628
1628
  """
1629
1629
  ---
1630
1630
  summary: Get Rse Limits
1631
- description: Get the rse limits.
1631
+ description: "Get the rse limits."
1632
1632
  tags:
1633
1633
  - Rucio Storage Elements
1634
1634
  parameters:
1635
1635
  - name: rse
1636
1636
  in: path
1637
- description: The name of the Rucio Storage Element name.
1637
+ description: "The name of the Rucio Storage Element name."
1638
1638
  schema:
1639
1639
  type: string
1640
1640
  style: simple
1641
1641
  responses:
1642
1642
  200:
1643
- description: OK
1643
+ description: "OK"
1644
1644
  content:
1645
1645
  application/json:
1646
1646
  schema:
1647
- description: The limits.
1647
+ description: "The limits."
1648
1648
  type: object
1649
1649
  additionalProperties:
1650
1650
  x-additionalPropertiesName: limit name
1651
- description: An item with the name as key and the value as value.
1651
+ description: "An item with the name as key and the value as value."
1652
1652
  type: integer
1653
1653
  401:
1654
- description: Invalid Auth Token
1654
+ description: "Invalid Auth Token"
1655
1655
  404:
1656
- description: Rse not found
1656
+ description: "Rse not found"
1657
1657
  406:
1658
- description: Not acceptable
1658
+ description: "Not acceptable"
1659
1659
  """
1660
1660
  try:
1661
1661
  limits = get_rse_limits(rse=rse, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -1667,13 +1667,13 @@ class Limits(ErrorHandlingMethodView):
1667
1667
  """
1668
1668
  ---
1669
1669
  summary: Update Rse Limit
1670
- description: Update an rse limit.
1670
+ description: "Update an rse limit."
1671
1671
  tags:
1672
1672
  - Rucio Storage Elements
1673
1673
  parameters:
1674
1674
  - name: rse
1675
1675
  in: path
1676
- description: The name of the Rucio Storage Element name.
1676
+ description: "The name of the Rucio Storage Element name."
1677
1677
  schema:
1678
1678
  type: string
1679
1679
  style: simple
@@ -1684,20 +1684,20 @@ class Limits(ErrorHandlingMethodView):
1684
1684
  type: object
1685
1685
  properties:
1686
1686
  name:
1687
- description: The name of the limit.
1687
+ description: "The name of the limit."
1688
1688
  type: string
1689
1689
  value:
1690
- description: The value of the limit.
1690
+ description: "The value of the limit."
1691
1691
  type: integer
1692
1692
  responses:
1693
1693
  200:
1694
- description: OK
1694
+ description: "OK"
1695
1695
  401:
1696
- description: Invalid Auth Token
1696
+ description: "Invalid Auth Token"
1697
1697
  404:
1698
- description: Rse not found
1698
+ description: "Rse not found"
1699
1699
  406:
1700
- description: Not acceptable
1700
+ description: "Not acceptable"
1701
1701
  """
1702
1702
  parameters = json_parameters()
1703
1703
  kwargs = {'name': None, 'value': None}
@@ -1717,13 +1717,13 @@ class Limits(ErrorHandlingMethodView):
1717
1717
  """
1718
1718
  ---
1719
1719
  summary: Delete Rse Limit
1720
- description: Delete an rse limit
1720
+ description: "Delete an rse limit"
1721
1721
  tags:
1722
1722
  - Rucio Storage Elements
1723
1723
  parameters:
1724
1724
  - name: rse
1725
1725
  in: path
1726
- description: The name of the Rucio Storage Element name.
1726
+ description: "The name of the Rucio Storage Element name."
1727
1727
  schema:
1728
1728
  type: string
1729
1729
  style: simple
@@ -1736,17 +1736,17 @@ class Limits(ErrorHandlingMethodView):
1736
1736
  - name
1737
1737
  properties:
1738
1738
  name:
1739
- description: The name of the limit.
1739
+ description: "The name of the limit."
1740
1740
  type: string
1741
1741
  responses:
1742
1742
  200:
1743
- description: OK
1743
+ description: "OK"
1744
1744
  401:
1745
- description: Invalid Auth Token
1745
+ description: "Invalid Auth Token"
1746
1746
  404:
1747
- description: Rse not found
1747
+ description: "Rse not found"
1748
1748
  406:
1749
- description: Not acceptable
1749
+ description: "Not acceptable"
1750
1750
  """
1751
1751
  parameters = json_parameters()
1752
1752
  name = param_get(parameters, 'name')
@@ -1769,51 +1769,51 @@ class RSEAccountUsageLimit(ErrorHandlingMethodView):
1769
1769
  """
1770
1770
  ---
1771
1771
  summary: Get Rse Account Usage and Limit
1772
- description: Returns the usage and limit of an account for a rse.
1772
+ description: "Returns the usage and limit of an account for a rse."
1773
1773
  tags:
1774
1774
  - Rucio Storage Elements
1775
1775
  parameters:
1776
1776
  - name: rse
1777
1777
  in: path
1778
- description: The name of the Rucio Storage Element name.
1778
+ description: "The name of the Rucio Storage Element name."
1779
1779
  schema:
1780
1780
  type: string
1781
1781
  style: simple
1782
1782
  responses:
1783
1783
  200:
1784
- description: OK
1784
+ description: "OK"
1785
1785
  content:
1786
1786
  application/json:
1787
1787
  schema:
1788
- description: A list with the rse account limits and usages.
1788
+ description: "A list with the rse account limits and usages."
1789
1789
  type: array
1790
1790
  items:
1791
1791
  type: object
1792
1792
  properties:
1793
1793
  rse_id:
1794
- description: The id of the rse.
1794
+ description: "The id of the rse."
1795
1795
  type: string
1796
1796
  rse:
1797
- description: The name of the rse.
1797
+ description: "The name of the rse."
1798
1798
  type: string
1799
1799
  account:
1800
- description: The account.
1800
+ description: "The account."
1801
1801
  type: string
1802
1802
  used_files:
1803
- description: The number of used files.
1803
+ description: "The number of used files."
1804
1804
  type: integer
1805
1805
  used_bytes:
1806
- description: The number of used bytes.
1806
+ description: "The number of used bytes."
1807
1807
  type: integer
1808
1808
  quota_bytes:
1809
- description: The number of quota bytes.
1809
+ description: "The number of quota bytes."
1810
1810
  type: integer
1811
1811
  401:
1812
- description: Invalid Auth Token
1812
+ description: "Invalid Auth Token"
1813
1813
  404:
1814
- description: Rse not found
1814
+ description: "Rse not found"
1815
1815
  406:
1816
- description: Not acceptable
1816
+ description: "Not acceptable"
1817
1817
  """
1818
1818
  try:
1819
1819
  def generate(vo):
@@ -1833,53 +1833,53 @@ class Distance(ErrorHandlingMethodView):
1833
1833
  """
1834
1834
  ---
1835
1835
  summary: Get Rse Distances
1836
- description: Returns the distances between a source and destination rse.
1836
+ description: "Returns the distances between a source and destination rse."
1837
1837
  tags:
1838
1838
  - Rucio Storage Elements
1839
1839
  parameters:
1840
1840
  - name: source
1841
1841
  in: path
1842
- description: The name of the source Rucio Storage Element.
1842
+ description: "The name of the source Rucio Storage Element."
1843
1843
  schema:
1844
1844
  type: string
1845
1845
  style: simple
1846
1846
  - name: destination
1847
1847
  in: path
1848
- description: The name of the destination Rucio Storage Element.
1848
+ description: "The name of the destination Rucio Storage Element."
1849
1849
  schema:
1850
1850
  type: string
1851
1851
  style: simple
1852
1852
  responses:
1853
1853
  200:
1854
- description: OK
1854
+ description: "OK"
1855
1855
  content:
1856
1856
  application/json:
1857
1857
  schema:
1858
- description: The distances between the Rses.
1858
+ description: "The distances between the Rses."
1859
1859
  type: array
1860
1860
  items:
1861
1861
  type: object
1862
- description: One distance between source and destination.
1862
+ description: "One distance between source and destination."
1863
1863
  properties:
1864
1864
  src_rse_id:
1865
- description: The source rse id.
1865
+ description: "The source rse id."
1866
1866
  type: string
1867
1867
  dest_rse_id:
1868
- description: The destination rse id.
1868
+ description: "The destination rse id."
1869
1869
  type: string
1870
1870
  distance:
1871
- description: The distance between RSEs.
1871
+ description: "The distance between RSEs."
1872
1872
  type: integer
1873
1873
  ranking:
1874
1874
  deprecated: true
1875
- description: Same as distance.
1875
+ description: "Same as distance."
1876
1876
  type: integer
1877
1877
  401:
1878
- description: Invalid Auth Token
1878
+ description: "Invalid Auth Token"
1879
1879
  404:
1880
- description: Rse not found
1880
+ description: "Rse not found"
1881
1881
  406:
1882
- description: Not acceptable
1882
+ description: "Not acceptable"
1883
1883
  """
1884
1884
  try:
1885
1885
  distance = get_distance(source=source, destination=destination, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -1891,19 +1891,19 @@ class Distance(ErrorHandlingMethodView):
1891
1891
  """
1892
1892
  ---
1893
1893
  summary: Create Rse Distance
1894
- description: Post a rse distance.
1894
+ description: "Post a rse distance."
1895
1895
  tags:
1896
1896
  - Rucio Storage Elements
1897
1897
  parameters:
1898
1898
  - name: source
1899
1899
  in: path
1900
- description: The name of the source Rucio Storage Element.
1900
+ description: "The name of the source Rucio Storage Element."
1901
1901
  schema:
1902
1902
  type: string
1903
1903
  style: simple
1904
1904
  - name: destination
1905
1905
  in: path
1906
- description: The name of the destination Rucio Storage Element.
1906
+ description: "The name of the destination Rucio Storage Element."
1907
1907
  schema:
1908
1908
  type: string
1909
1909
  style: simple
@@ -1914,26 +1914,26 @@ class Distance(ErrorHandlingMethodView):
1914
1914
  type: object
1915
1915
  properties:
1916
1916
  distance:
1917
- description: The distance between RSEs.
1917
+ description: "The distance between RSEs."
1918
1918
  type: integer
1919
1919
  ranking:
1920
1920
  deprecated: true
1921
- description: Same as distance.
1921
+ description: "Same as distance."
1922
1922
  type: integer
1923
1923
  responses:
1924
1924
  201:
1925
- description: OK
1925
+ description: "OK"
1926
1926
  content:
1927
1927
  application/json:
1928
1928
  schema:
1929
1929
  type: string
1930
1930
  enum: ["Created"]
1931
1931
  401:
1932
- description: Invalid Auth Token
1932
+ description: "Invalid Auth Token"
1933
1933
  404:
1934
- description: Rse not found
1934
+ description: "Rse not found"
1935
1935
  406:
1936
- description: Not acceptable
1936
+ description: "Not acceptable"
1937
1937
  """
1938
1938
  parameters = json_parameters()
1939
1939
 
@@ -1962,19 +1962,19 @@ class Distance(ErrorHandlingMethodView):
1962
1962
  """
1963
1963
  ---
1964
1964
  summary: Update Rse Distance
1965
- description: Update rse distance information.
1965
+ description: "Update rse distance information."
1966
1966
  tags:
1967
1967
  - Rucio Storage Elements
1968
1968
  parameters:
1969
1969
  - name: source
1970
1970
  in: path
1971
- description: The name of the source Rucio Storage Element.
1971
+ description: "The name of the source Rucio Storage Element."
1972
1972
  schema:
1973
1973
  type: string
1974
1974
  style: simple
1975
1975
  - name: destination
1976
1976
  in: path
1977
- description: The name of the destination Rucio Storage Element.
1977
+ description: "The name of the destination Rucio Storage Element."
1978
1978
  schema:
1979
1979
  type: string
1980
1980
  style: simple
@@ -1985,26 +1985,26 @@ class Distance(ErrorHandlingMethodView):
1985
1985
  type: object
1986
1986
  properties:
1987
1987
  distance:
1988
- description: The distance between the RSEs.
1988
+ description: "The distance between the RSEs."
1989
1989
  type: integer
1990
1990
  ranking:
1991
1991
  deprecated: true
1992
- description: Same as distance.
1992
+ description: "Same as distance."
1993
1993
  type: integer
1994
1994
  responses:
1995
1995
  201:
1996
- description: OK
1996
+ description: "OK"
1997
1997
  content:
1998
1998
  application/json:
1999
1999
  schema:
2000
2000
  type: string
2001
2001
  enum: ["Created"]
2002
2002
  401:
2003
- description: Invalid Auth Token
2003
+ description: "Invalid Auth Token"
2004
2004
  404:
2005
- description: Rse not found
2005
+ description: "Rse not found"
2006
2006
  406:
2007
- description: Not acceptable
2007
+ description: "Not acceptable"
2008
2008
  """
2009
2009
  parameters = json_parameters()
2010
2010
 
@@ -2031,36 +2031,36 @@ class Distance(ErrorHandlingMethodView):
2031
2031
  """
2032
2032
  ---
2033
2033
  summary: Delete Rse Distance
2034
- description: Delete distance information between source RSE and destination RSE.
2034
+ description: "Delete distance information between source RSE and destination RSE."
2035
2035
  tags:
2036
2036
  - Rucio Storage Elements
2037
2037
  parameters:
2038
2038
  - name: source
2039
2039
  in: path
2040
- description: The name of the source Rucio Storage Element.
2040
+ description: "The name of the source Rucio Storage Element."
2041
2041
  schema:
2042
2042
  type: string
2043
2043
  style: simple
2044
2044
  - name: destination
2045
2045
  in: path
2046
- description: The name of the destination Rucio Storage Element.
2046
+ description: "The name of the destination Rucio Storage Element."
2047
2047
  schema:
2048
2048
  type: string
2049
2049
  style: simple
2050
2050
  responses:
2051
2051
  200:
2052
- description: OK
2052
+ description: "OK"
2053
2053
  content:
2054
2054
  application/json:
2055
2055
  schema:
2056
2056
  type: string
2057
2057
  enum: ["Deleted"]
2058
2058
  401:
2059
- description: Invalid Auth Token
2059
+ description: "Invalid Auth Token"
2060
2060
  404:
2061
- description: Rse not found
2061
+ description: "Rse not found"
2062
2062
  406:
2063
- description: Not acceptable
2063
+ description: "Not acceptable"
2064
2064
  """
2065
2065
  try:
2066
2066
  delete_distance(
@@ -2085,36 +2085,36 @@ class QoSPolicy(ErrorHandlingMethodView):
2085
2085
  """
2086
2086
  ---
2087
2087
  summary: Add QoS policy
2088
- description: Add a QoS Policy to a RSE.
2088
+ description: "Add a QoS Policy to a RSE."
2089
2089
  tags:
2090
2090
  - Rucio Storage Elements
2091
2091
  parameters:
2092
2092
  - name: rse
2093
2093
  in: path
2094
- description: The name of the Rucio Storage Element name.
2094
+ description: "The name of the Rucio Storage Element name."
2095
2095
  schema:
2096
2096
  type: string
2097
2097
  style: simple
2098
2098
  - name: policy
2099
2099
  in: path
2100
- description: The QoS policy to add to and rse.
2100
+ description: "The QoS policy to add to and rse."
2101
2101
  schema:
2102
2102
  type: string
2103
2103
  style: simple
2104
2104
  responses:
2105
2105
  201:
2106
- description: OK
2106
+ description: "OK"
2107
2107
  content:
2108
2108
  application/json:
2109
2109
  schema:
2110
2110
  type: string
2111
2111
  enum: ["Created"]
2112
2112
  401:
2113
- description: Invalid Auth Token
2113
+ description: "Invalid Auth Token"
2114
2114
  404:
2115
- description: Rse not found
2115
+ description: "Rse not found"
2116
2116
  406:
2117
- description: Not acceptable
2117
+ description: "Not acceptable"
2118
2118
  """
2119
2119
  try:
2120
2120
  add_qos_policy(rse=rse, qos_policy=policy, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -2128,31 +2128,31 @@ class QoSPolicy(ErrorHandlingMethodView):
2128
2128
  """
2129
2129
  ---
2130
2130
  summary: Delete QoS Policy
2131
- description: Delete QoS policy from RSE.
2131
+ description: "Delete QoS policy from RSE."
2132
2132
  tags:
2133
2133
  - Rucio Storage Elements
2134
2134
  parameters:
2135
2135
  - name: rse
2136
2136
  in: path
2137
- description: The name of the Rucio Storage Element name.
2137
+ description: "The name of the Rucio Storage Element name."
2138
2138
  schema:
2139
2139
  type: string
2140
2140
  style: simple
2141
2141
  - name: policy
2142
2142
  in: path
2143
- description: The QoS policy to add to and rse.
2143
+ description: "The QoS policy to add to and rse."
2144
2144
  schema:
2145
2145
  type: string
2146
2146
  style: simple
2147
2147
  responses:
2148
2148
  200:
2149
- description: OK
2149
+ description: "OK"
2150
2150
  401:
2151
- description: Invalid Auth Token
2151
+ description: "Invalid Auth Token"
2152
2152
  404:
2153
- description: Rse not found
2153
+ description: "Rse not found"
2154
2154
  406:
2155
- description: Not acceptable
2155
+ description: "Not acceptable"
2156
2156
  """
2157
2157
  try:
2158
2158
  delete_qos_policy(rse=rse, qos_policy=policy, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -2166,39 +2166,39 @@ class QoSPolicy(ErrorHandlingMethodView):
2166
2166
  """
2167
2167
  ---
2168
2168
  summary: Gett QoS Policies
2169
- description: List all QoS policies for an Rse.
2169
+ description: "List all QoS policies for an Rse."
2170
2170
  tags:
2171
2171
  - Rucio Storage Elements
2172
2172
  parameters:
2173
2173
  - name: rse
2174
2174
  in: path
2175
- description: The name of the Rucio Storage Element name.
2175
+ description: "The name of the Rucio Storage Element name."
2176
2176
  schema:
2177
2177
  type: string
2178
2178
  style: simple
2179
2179
  responses:
2180
2180
  200:
2181
- description: OK
2181
+ description: "OK"
2182
2182
  content:
2183
2183
  application/json:
2184
2184
  schema:
2185
- description: A list with all the QoS policies for an Rse.
2185
+ description: "A list with all the QoS policies for an Rse."
2186
2186
  type: array
2187
2187
  items:
2188
2188
  type: object
2189
2189
  properties:
2190
2190
  rse_id:
2191
- description: The rse id.
2191
+ description: "The rse id."
2192
2192
  type: string
2193
2193
  qos_policy:
2194
- description: The qos policy.
2194
+ description: "The qos policy."
2195
2195
  type: string
2196
2196
  401:
2197
- description: Invalid Auth Token
2197
+ description: "Invalid Auth Token"
2198
2198
  404:
2199
- description: Rse not found
2199
+ description: "Rse not found"
2200
2200
  406:
2201
- description: Not acceptable
2201
+ description: "Not acceptable"
2202
2202
  """
2203
2203
  try:
2204
2204
  qos_policies = list_qos_policies(rse=rse, issuer=request.environ['issuer'], vo=request.environ['vo'])