-
Notifications
You must be signed in to change notification settings - Fork 8
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
Clarification on IS-08 activation response json schema #63
Comments
In this aspect, I think this is a difference from IS-05 primarily because there is no equivalent of the Connection API /staged endpoint. So I think the wording is correct. The Behaviour spec says "Immediate activations MUST NOT appear in the |
Then when should I respond with |
When there hasn't been any activation since last reboot, for example. |
That makes sense, Correct me if I'm wrong in the below scenario, I have the below activation post request,
So after 100 seconds, I need to respond with the below value in the
Now if the I/O map changed in the underlying device for some reason then I need to respond with the latest state of Am I right? |
This is a good point. I think the behaviour you propose is OK, but it might be better to either set the activation mode to activate_immediate with the activation_time of when the underlying channel map was changed (or null, I need to double check this point), or set the properties to null when it happened? |
Maybe I'm missing something in the point of control software, but why don't we just remove the instead of this,
like this?
So the active endpoint always returns what's the current state in the underlying device. Now the question is, How does the control software know whether the scheduled activation got applied to the underlying device or not? I'm not sure, But two things come to mind,
Both
I thought informing the client software (or nmos user) about the status of
I understand the core purpose of scheduled activation is to `execute a group of activation requests at once, but the client software (or even the nmos user) somehow needs to know clearly what happened to the activation that I scheduled. |
You're making a different point now, right?
This is already true. It is "rule zero" of NMOS APIs, "reflect the current configuration of the underlying system". In IS-08 /map/active, the As you said, the IS-05 requirements for interoperability with IS-04 and the Is it useful for a Controller to know when their specific scheduled activation was applied? I think not very, since it could have been immediately followed by another activation via the API or change to the config in the underlying system by other means. If a Controller wants a specific state to be maintained over a specific period of time, it needs to monitor all state changes to that resource over that time period. |
Let's say the client software scheduled a list of activations, how does the client software know Activations that are successful & Activations that are failed? Or in other words, What's the use of
If the controller software doesn't need to know about the status of I'm just trying to get the use case for the |
I agree with you, it's just informative/debugging. Same applies to IS-05 /active endpoint. |
👍 Will discuss in @AMWA-TV/nmos-architecture-review group. |
Architecture Review Group review: place on backlog |
ARG: propose to add a sentence or two in https://github.com/AMWA-TV/is-08/blob/v1.0.x/docs/Behaviour.md#activation-requests after...
The Behaviour documentation also says...
We think the required behaviour is actually more general than this, that the API always reflects the current channel mapping behaviour of the underlying Device, so I suggest adjusting that sentence first. For reference, the IS-05 equivalent text is...
My suggested additional sentences: Changes to the underlying Device's channel mapping behaviour (whether initiated by IS-08 or not) are reflected immediately into the Active Map If we could add normative language we might insist that changes not initiated by IS-08 caused the |
https://github.com/AMWA-TV/is-08/blob/v1.0.x/APIs/schemas/activation-response-schema.json#L13-L22
In the above activation response schema, the description for
mode
tells thatreturn null (no activation scheduled)
but it should be described as below isn't it?The text was updated successfully, but these errors were encountered: