Re: [OpenDaylight TSC] [opendaylight-dev][release] OpenDaylight - Aluminium SR2 release status
Oleksii Mozghovyi <Oleksii.Mozghovyi@...>
Hello everyone,
This issue is related only to the RFC8040 implementation of the RESTconf, so you have to use a proper endpoint for the testing, for example:
http://127.0.0.1:8181/rests/data
The thing is that {apiRoot}/restconf is managed by a different web initializer and doesn't have such an issue.
From: release@... <release@...> on behalf of Venkatrangan Govindarajan <gvrangan@...>
Sent: Thursday, January 28, 2021 8:01:59 PM To: Luis Gomez Cc: Daniel de la Rosa; THOUENON Gilles TGI/OLN; integration-dev@...; Anil Belur; Casey Cain; Jordan Conway; LAMBERT Guillaume TGI/OLN; Release; Robert Varga; TSC; Transportpce-dev@... Subject: Re: [integration-dev] [OpenDaylight TSC] [opendaylight-dev][release] OpenDaylight - Aluminium SR2 release status Just downloaded SR2 and installed some project that uses topology model and executed this...
******************
curl
http://127.0.0.1:8181/restconf/operational/network-topology:network-topology -v
* Trying 127.0.0.1... * Connected to 127.0.0.1 (127.0.0.1) port 8181 (#0) > GET /restconf/operational/network-topology:network-topology HTTP/1.1 > Host: 127.0.0.1:8181 > User-Agent: curl/7.47.0 > Accept: */* > < HTTP/1.1 401 Unauthorized < WWW-Authenticate: BASIC realm="application" < Content-Length: 0 < * Connection #0 to host 127.0.0.1 left intact gvrangan@gvrangan-Latitude-3490:~\> curl http://127.0.0.1:8181/restconf/operational/network-topology:network-topology --user 'admin:admin; > ^C gvrangan@gvrangan-Latitude-3490:~\> curl http://127.0.0.1:8181/restconf/operational/network-topology:network-topology --user 'admin:admin' {"network-topology":{"topology":[{"topology-id":"hwvtep:1"},{"topology-id":"ovsdb:1"},{"topology-id":"netvirt:1"}]}}gvrangan@gvrangan-Latitude-3490:~\> gvrangan@gvrangan-Latitude-3490:~\> gvrangan@gvrangan-Latitude-3490:~\> gvrangan@gvrangan-Latitude-3490:~\> gvrangan@gvrangan-Latitude-3490:~\> curl http://127.0.0.1:8181/restconf/operational/network-topology:network-topology --user 'admin:admin' {"network-topology":{"topology":[{"topology-id":"hwvtep:1"},{"topology-id":"ovsdb:1"},{"topology-id":"netvirt:1"}]}}gvrangan@gvrangan-Latitude-3490:~\> gvrangan@gvrangan-Latitude-3490:~\> gvrangan@gvrangan-Latitude-3490:~\> curl http://127.0.0.1:8181/restconf/operational/network-topology:network-topology --user 'admin:admin' {"network-topology":{"topology":[{"topology-id":"hwvtep:1"},{"topology-id":"ovsdb:1"},{"topology-id":"netvirt:1"}]}} ************
The GET seems to require authorization. Also used wrong password which was also blocked.
வியா., 28 ஜன., 2021, பிற்பகல் 10:53 அன்று, Luis Gomez <ecelgp@...> எழுதியது:
Venkatrangan Govindarajan
( When there is no wind...Row ) |
|