[NETCONF-662] [RFC8040] Implement RESTCONF Extensibility (discovery) Created: 08/Apr/20  Updated: 28/Apr/20  Resolved: 28/Apr/20

Status: Resolved
Project: netconf
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Medium
Reporter: Jamo Luhrsen Assignee: wang senxiao
Resolution: Duplicate Votes: 0
Labels: rfc8040
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates NETCONF-499 Support for Root Resource Discovery i... Resolved

 Description   

The discovery feature is not implemented.

link to RFC section

A brief email exchange:


Wang, please also open a Jira ticket for this or any other issue you find so we can track it.

BR/Luis


> On Apr 8, 2020, at 6:06 AM, <wang.senxiao@zte.com.cn> <wang.senxiao@zte.com.cn> wrote:
>
>
> Ok, I will try to fix it, and next time I send the mail to mail list.
>
>
> Best Regards
>
> Wang
>
>
>
>
>
>
> 原始邮件
> 发件人:RobertVarga <nite@hq.sk>
> 收件人:王森枭10200860;jluhrsen@gmail.com <jluhrsen@gmail.com>;ecelgp@gmail.com <ecelgp@gmail.com>;
> 抄送人:庄威10258030;
> 日 期 :2020年04月08日 20:35
> 主 题 :Re: odl-restconf-nb-rfc8040 feature not support URL  /.well-known/host-meta  query
> On 08/04/2020 14:30, wang.senxiao@zte.com.cn wrote:
> > 
> > Hi Robert, Luis and Jamo,
>
> Hello Wang,
>
> this is a known gap in the implementation, i.e. the discovery feature is
> not implemented. Please file an issue.
>
> Also, can you use the mailing lists, please? Point-to-point
> communications are contrary to our principles of openness.
>
> Thanks,
> Robert
>
>
> > 
> >     As the rfc8040 1.5 chapter description, the restconf should support
> > the /.well-known/host-meta  query:
> > 
> >                      The client might send the following:
> > 
> >                             GET /.well-known/host-meta HTTP/1.1
> > 
> >                             Host: example.com
> > 
> >                             Accept: application/xrd+xml
> > 
> > 
> >                      The server might respond as follows:
> > 
> >                             HTTP/1.1 200 OK
> > 
> >                             Content-Type: application/xrd+xml
> > 
> >                             Content-Length: nnn
> > 
> >                    
> > 
> >                       <XRD
> > xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
> > 
> >                               <Link rel='restconf' href='/restconf'/>
> > 
> >                               <Link rel='restconf2' href='/restconf2'/>
> > 
> >                       </XRD>
> > 
> > 
> >    If I install feature odl-restconf-nb-rfc8040, then I query use url
> > <http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,><http://127.0.0.1:8181/.well-known/host-meta,>http://127.0.0.1:8181/.well-known/host-meta, it
> > should return the body as follows, but return code 404:       
> > 
> >                       <XRD
> > xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
> > 
> >                               <Link rel='restconf' href='/rests'/>
> > 
> >                       </XRD>
> > 
> >    I have checked code, but no idea to fix it temporarily, could you
> > please help check it? Thanks.
> > 
> > 
> > 
> > Best Regards
> > 
> > Wang


 Comments   
Comment by Robert Varga [ 28/Apr/20 ]

Duplicate of NETCONF-499.

Generated at Wed Feb 07 20:15:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.