Hi all
I've got back to looking at RESTCONF Server on ONOS again and I wanted to shake it out to see what all of the open issues are.
I don't know if anyone else is maintaing a list of issues, but it would be good to hold everything in the one place.
I'd like to get your opinions on these, whether you think they are real issues or not, or if I'm missing any. I did not get in to operations, streams or notifications.
I think some of them should not be too hard to fix, but I wanted to agree them before I expend any effort on them. Maybe we could discuss on tomorrow's Dyn Config call.
Best regards, Sean
===================================================================
--
You received this message because you are subscribed to the Google Groups "Dynamic configuration" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brigade-dynconfig+unsubscribe@onosproject.org.
To post to this group, send email to brigade-dynconfig@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/brigade-dynconfig/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/brigade-dynconfig/5efbce568c0f43b69ab173c7ffda4f70%40microsemi.com.
For more options, visit https://groups.google.com/a/onosproject.org/d/optout.
Hi Yuta - my mistake - Thursday for the meeting - not sure if I will be able to attend though, as I'm planning a day off. I will let you know closer to the time.
They are in the order that I found them (rather than priority)
I'm not sure that the lack of storing metadata is the problem (at least YANG model related metadata) - it's more a case of payloads should be analysed when it's transformed to and from Data Nodes, so that it's partitioned in to config and state data.
Talk tomorrow, Sean
So I guess there's nothing in DCS that could even do that? Is there a hash or a timestamp from the ConsistentMap that could be used?
EXTERNAL EMAIL
Hi Sean and all,
Per our discussion in the last Thursday’s meeting, I am trying to identify the items that can be implemented in the next few weeks, i.e., the items that may not require changes in the YANG datastore (e.g., DCS 2.0). Would you please review the following list? If we agree to work on them first, then I can raise JIRAs to track them.
3) The implementation does not support the /.well-known/host-meta as in Section 3.1
4) The media types for json are set wrong It should be "application/yang-data+json" instead of ""application/json"
11) Calling a PUT command with an empty body does not return an proper RESTCONF error message
13) Success on DELETE should return 204 (currently returns 200) - Section 4.7
14) Deleting a data resource when it has already been deleted does not produce the required 404 error message (Section 4.7)
15) Replacing a Data Node using PUT is not implemented - It should return 204. (Section 4.5) It is only possible through PATCH
17) Accept-Patch header is not given in response to the OPTIONS command
20) Cache-Control header is not included in every response - see Section 5.5
22) The "ietf-yang-library" YANG module is not loaded in to the YANG models for RESTCONF - see Section 10
@Sean: Could you please elaborate a bit more on the following item? And can it also be done without DCS 2.0?
19) When GET of /onos/restconf is requested the details of the API should be returned as per Section 8 grouping restconf
Thanks,
Henry
EXTERNAL EMAIL
EXTERNAL EMAIL
--
To unsubscribe from this group and stop receiving emails from it, send an email to brigade-dyncon...@onosproject.org.
To post to this group, send email to brigade-...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/brigade-dynconfig/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/brigade-dynconfig/5efbce568c0f43b69ab173c7ffda4f70%40microsemi.com.
For more options, visit https://groups.google.com/a/onosproject.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Dynamic configuration" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brigade-dyncon...@onosproject.org.
To post to this group, send email to brigade-...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/brigade-dynconfig/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/brigade-dynconfig/CAEJoDtMrkd8p_i2dbX2%3D5eKk-TUfTMQYn8W3Zmj_Ec3mOV2_pg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/onosproject.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Dynamic configuration" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
brigade-dyncon...@onosproject.org.
To post to this group, send email to
brigade-...@onosproject.org.
Visit this group at
https://groups.google.com/a/onosproject.org/group/brigade-dynconfig/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/brigade-dynconfig/CAEJoDtPGRs8VZRvWqNrwgY7oeeDk1MncDRBS9DVsp%3D%2BY7NE%3DMg%40mail.gmail.com.
Hi Henry
The list looks about right.
I think 9) is also possible without too much effort.
Regarding 19, I think what's meant here is that when I do a get on /onos/restconf, I should get back a JSON or XML structure that lists
--data
--operations
--yang-library-version
Like listed in Section 3.3. It should be possible without DCS 2.0
Sean
Thanks, Sean. So we can also add 9) and 19) to our list.
Henry
Hi Henry - can you take a look at patch
https://gerrit.onosproject.org/#/c/18517/
so that we can try to cross 4) off our list
Sean
Thanks for the patch, Sean. The changes look fine. (The git-review email notification sends to my gmail account, which I do not check regularly at work. So if you do not hear from me, please send a reminder email to this huawei email address.)
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/brigade-dynconfig/c3fa6e12ca4f4aec8aaee829ad92ca6f%40microsemi.com.
Hi Sean and all,
I created the JIRAs for track the list. They can be seen on the “To Do” column of the Kanban board below:
https://jira.onosproject.org/secure/RapidBoard.jspa?rapidView=28
Thanks,
Henry
From: Sean Condon [mailto:sean....@microsemi.com]
Sent: Monday, May 21, 2018 9:36 AM
To: Henry Yu <henr...@huawei.com>; Yuta Higuchi <y-hi...@opennetworking.org>
Cc: Dynamic configuration <brigade-...@onosproject.org>; Aihuaguo (Aihua Guo, CRC) <aihu...@huawei.com>
Thanks Henry - it's good to track them - Sean