-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File transfer priority level configuration requirement clarification #239
Comments
Isn't this requirement just saying that the priority level for a file transfer can configured by the user... vs saying that the priority levels themselves (0-255 or whatever) can be changed to something else (like 0-10)? If it's the former, then it's right here: Line 42 in d84a3ee
Lines 323 to 339 in d84a3ee
|
I think it's the latter. CF5030: Each CF output channel shall have 256 file-transfer priority levels. Reading 5030.1 along with the others, it seems as though the required functionality is to limit the range of priorities. Plus, there are other requirements that already call out using the priority in a command argument. |
Let's get input from @astrogeco and @jphickey. I don't think there's any need to have a requirement to be able to change the number of priority levels by configuration (this really doesn't seem to add much in terms of useful functionality that I can tell). I do think the priority level for a file transfer shall be configurable. Maybe the requirement just needs to be rewritten? |
Note that if you can change the number of priority levels by configuration, then that configuration would fail CF5030. Could be as simple as removing an "s" in CF5030.1: The CF file-transfer priority level shall be configurable. |
Although it seems implied by the .1 relationship, might be better to say: I'm still guessing on intent here so we should get input from others... but that's how I understand it. It's explicitly requiring the priority as an element in the table for each output channel. |
Agreed on both your interpretation and that a rewrite is in order. However it doesn't seem that "configurable" is the appropriate term either. In the context of most other CF requirements, configuration items and actions typically denote behavior that is table driven. File transfer command arguments, such as class, channel, and priority level seem to capture the run-time behavior. I would suggest a modification similar to CF5030.1: The CF output channel file-transfer priority level shall be set by a CF command. While this is somewhat redundant with an existing requirement, CF3000: When CF receives a "Transfer File" command, CF shall play back the file indicated by the command-specified: filename, source path, destination path, keep/delete flag, service class, priority, channel, and peer-entity id, it could be left in for clarity. |
Maybe we should chat :) It's in the table per my link above... so doesn't that mean table driven hence, "configurable"? |
Basically, for the transfers that aren't commanded (polling or whatever) it uses the priority as specified in the config table doesn't it? |
Yes you are correct, priority is both a table item when polling and a parameter for commanded transfers. |
Ok cool, so maybe then: |
Agreed, this sounds like the optimal solution. |
Checklist (Please check before submitting)
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Per requirement CF5030.1, the CF file-transfer priority levels shall be configurable. This functionality is not currently implemented in CF.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Sergio Maldonado NASA/GSFC/Arctic Slope Technical Services
The text was updated successfully, but these errors were encountered: