Skip to content
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

[mock_uss/scd] Handle retrieval of op intent details when USS is down according to SCD0005+SD0010 #338

Merged
merged 5 commits into from
Nov 14, 2023

Conversation

mickmis
Copy link
Contributor

@mickmis mickmis commented Nov 10, 2023

This adds in the mock USS handling of retrieval of operational intent details in case the USS is declared as down at the and does not answer for the details.
This adds two values in the locality object regarding the lowest and highest bounds for the priority levels the regulation allows.
I've put values for the existing localities, I think Switzerland may be correct, but I have no idea for UnitedStatesIndustryCollaboration so I put the same values. Please LMK if that should be otherwise.

Note: this PR depends on interuss/dss#971 in order to be actually useful, since currently the DSS always returns "Unknown" for USS availability state in operational intents.

@mickmis mickmis marked this pull request as ready for review November 10, 2023 16:48
return -1

def highest_priority(self) -> int:
return 100
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not canonical and rather just trying to reflect choices that may not yet have been firmly made, but I think best guess is that only one priority level will be used. So, this is likely to be 0.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will update with a comment.

@mickmis mickmis merged commit 3b16511 into interuss:main Nov 14, 2023
8 checks passed
@mickmis mickmis deleted the mock_uss/down_uss branch November 14, 2023 14:06
github-actions bot added a commit that referenced this pull request Nov 14, 2023
… according to SCD0005+SD0010 (#338)

* [mock_uss/scd] Handle retrieval of op intent details when USS is down according to SCD0005+SD0010

* set US locality highest_priority to 0 3b16511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants