CiscoDevNet / yang-explorer

An open-source Yang Browser and RPC Builder Application
Apache License 2.0
438 stars 177 forks source link

VPP from netconf #84

Open kawshiksark opened 6 years ago

kawshiksark commented 6 years ago

Hi ,

I am able to connect to my VPP server using basic ssh and do a capability exchange. But from the same server when i try to go through yang-explorer i get this error message. Is this because yang-explorer is using http/0.9 or something. Please suggest. The netconf port for VPP (honeycomb is 2831).

2018-02-11 01:42:31.933 EST [qtp1905209480-271] WARN org.eclipse.jetty.http.HttpParser - bad HTTP parsed: 400 HTTP/0.9 not supported for HttpChannelOverHttp@12cb2088{r=0,c=false,a=IDLE,uri=null} 2018-02-11 01:42:44.136 EST [qtp1905209480-18] WARN org.eclipse.jetty.http.HttpParser - bad HTTP parsed: 400 HTTP/0.9 not supported for HttpChannelOverHttp@298930aa{r=0,c=false,a=IDLE,uri=null} 2018-02-11 01:43:07.140 EST [qtp1905209480-18] WARN org.eclipse.jetty.http.HttpParser - bad HTTP parsed: 400 HTTP/0.9 not supported for HttpChannelOverHttp@1b001f73{r=0,c=false,a=IDLE,uri=null} 2018-02-11 01:43:26.393 EST [qtp1905209480-279] WARN org.eclipse.jetty.http.HttpParser - bad HTTP parsed: 400 HTTP/0.9 not supported for HttpChannelOverHttp@25d80fae{r=0,c=false,a=IDLE,uri=null} 2018-02-11 01:43:35.288 EST [pool-2-thread-1] WARN o.o.n.n.AbstractNetconfSessionNegotiator - Netconf session was not established after 20000 2018-02-11 01:43:07.140 EST [qtp1905209480-18] WARN org.eclipse.jetty.http.HttpParser - bad HTTP parsed: 400 HTTP/0.9 not supported for HttpChannelOverHttp@1b001f73{r=0,c=false,a=IDLE,uri=null}

eckelcu commented 6 years ago

VPP by itself does not support NETCONF or RESTCONF. You need to use Honeycomb in combination with VPP in order to access VPP via NETCONF or RESTCONF. Have you already done this?