Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

sankettandulwadkar's profile - activity

2016-08-10 09:22:30 -0700 asked a question Create a resubmit flow - No "nx-resubmit" or "go-to-level" nodes available in openflowplugin

Hi,

I want to create a resubmit flow. This is my payload -

POST https://127.0.0.1:8443/restconf/opera... -d ' { "input":{"node":"/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id\u003d\"openflow:1\"]", "hard-timeout":0, "idle-timeout":0, "table_id":1, "match":{ "ethernet-match":{ "ethernet-type":{ "type":2048 } }, "in-port":"openflow:1:2" }, "instructions":{ "instruction":[ {"apply-actions":{ "action":[ { "nx-resubmit": { "table": "5" }, "order": "0" } ]}, "order":0} ]}, "strict":true, "cookie":176202183, "priority":100 } }'

It gives me an error

{"errors":{"error":[{"error-type":"protocol","error-tag":"malformed-message","error-message":"Error parsing input: Schema node with name nx-resubmit wasn't found under (urn:opendaylight:flow:service?revision=2013-08-19)action.","error-info":"java.lang.IllegalStateException: Schema node with name nx-resubmit wasn't found under (urn:opendaylight:flow:service?revision=2013-08-19)action.\

Can someone please help with this resubmit flow?

2016-06-24 04:39:07 -0700 received badge  Notable Question (source)
2016-06-24 04:39:07 -0700 received badge  Famous Question (source)
2016-05-09 07:08:59 -0700 received badge  Famous Question (source)
2015-12-04 12:49:16 -0700 received badge  Notable Question (source)
2015-11-11 11:11:30 -0700 received badge  Popular Question (source)
2015-11-06 07:41:32 -0700 commented answer Building ODL with minimum installed features

I am trying to get either the Openflow working with OvS or get the NETCONF working. I need either of these two features with their dependencies built into the ODL. I am using a AWS free VM which is unfortunately only 1G. Does that clarify a little better?

2015-11-05 07:04:44 -0700 asked a question Building ODL with minimum installed features

Hi,

I am new to ODL and trying to build a minimal ODL using only a few features. When I downloaded the tarball from the opendaylight website, although it only has a few necessary features installed, it "predicts" the full capacity of the application, thus providing that much space in advance. Am I correct? I am using a ubuntu VM with one VCPU and 1GB RAM. I need the build to be as compact as possible.

How do I do this?

2015-10-30 06:44:04 -0700 received badge  Famous Question (source)
2015-10-17 07:03:51 -0700 marked best answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

Hi,

I am trying to add TLS support to ODL. When I try to check if the connection is established, I get a handshake failure at ODL.

On OvS VM: openssl s_client -connect 172.31.1.2:6633 -ssl3

On ODL log:

2015-08-18 09:43:14,828 | WARN | entLoopGroup-6-1 | OFFrameDecoder | 213 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.Lithium | Unexpected exception from downstream. io.netty.handler.codec.DecoderException: OFFrameDecoder.decode() did not read anything but decoded a message. at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:334)[144:io.netty.codec:4.0.26.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:229)[144:io.netty.codec:4.0.26.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[118:io.netty.transport:4.0.26.Final] at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)[145:io.netty.handler:4.0.26.Final] at org.opendaylight.openflowjava.protocol.impl.core.IdleHandler.channelRead(IdleHandler.java:39)[213:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.Lithium] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[118:io.netty.transport:4.0.26.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:349)[118:io.netty.transport:4.0.26.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)[119:io.netty.common:4.0.26.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[119:io.netty.common:4.0.26.Final] at java.lang.Thread.run(Thread.java:745)[:1.7.079] 2015-08-18 09:43:14,828 | WARN | entLoopGroup-6-1 | OFFrameDecoder | 213 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.Lithium | Closing connection. 2015-08-18 09:43:14,833 | WARN | entLoopGroup-6-1 | SessionManagerOFImpl | 216 - org.opendaylight.openflowplugin - 0.1.0.Lithium | context for invalidation not found 2015-08-18 09:43:14,834 | WARN | entLoopGroup-6-1 | OFFrameDecoder | 213 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.Lithium | Unexpected exception from downstream. io.netty.handler.codec.DecoderException: OFFrameDecoder.decode() did not ... (more)

2015-10-02 13:54:26 -0700 received badge  Famous Question (source)
2015-10-02 02:45:43 -0700 received badge  Famous Question (source)
2015-09-29 06:26:56 -0700 received badge  Notable Question (source)
2015-09-04 07:27:33 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

Solved by rebuilding ODL after making changes to 42-openflowplugin-new.xml

2015-09-04 07:26:29 -0700 commented answer TLS Support Issue: br0<->ssl:172.31.1.2:6633: connection dropped (conneciton refused) error in ovs-vswitchd.log file

The issue was not building ODL again after changing the config file. After doing so, the above steps work.

2015-09-04 07:26:29 -0700 marked best answer TLS Support Issue: br0<->ssl:172.31.1.2:6633: connection dropped (conneciton refused) error in ovs-vswitchd.log file

Trying to add TLS support to ODL. Followed the steps on link: https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:TLSSupport

I get no errors when I run any of the steps but when I complete it after the "set-controller" step, and ovs-vsctl show, I get

sanket@sanket-ubuntu-ovs:/var/log/openvswitch$ sudo ovs-vsctl show cdf33b4e-420b-434d-87ba-d0e2183c9d47 Bridge "br0" Controller "ssl:172.31.1.2:6633" Port "eth1" Interface "eth1" Port "br0" Interface "br0" type: internal ovs_version: "2.3.1"

There is no is_connected parameter.

2015-09-04 07:04:30 -0700 received badge  Famous Question (source)
2015-09-03 08:28:20 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

How do I unset this? opendaylight-user@root> set TRACE org.opendaylight.openflowjava It gives me a log of log, wich I dont understand anything of.

2015-09-03 08:26:52 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

No, but it does connect using TCP. It should connect using TLS if I mention in the 42-openflowplugin-new.xml to use <transport-protocol> as TLS. However, it doesnt. If I set-controller br0 ssl:<ip>:6633, there is no connection. If I set-controller br0 tcp:<ip>:6633, is_connected is trure

2015-09-01 07:34:40 -0700 asked a question adding flows from ODL to OvS

Hi,

I am trying to add flows from ODL to OvS using the rest API. I am using the following command:

curl -X POST -d @/home/abc/flow.txt -H "Content-Type: application/xml" -H "Accept: application/xml" --user admin:admin http://<controller-ip>:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/1</controller-ip>

When I try to execute this through ODL, I get "command not found:curl" error. Am I missing any feature here?

Also, is that the correct way to identify the path to the file which has my XML data?

2015-08-31 07:52:19 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

What I understand is that the message sent from OvS to ODL is lesser than 256(225) B and hence the flushing out of message

2015-08-31 07:50:40 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

Port 6633 and 6653 are now open and accepting connections. However, this is what I found in the log after setting TRACE as you suggested: 2015-08-31 10:46:38,528 | DEBUG | config-pusher | SwitchConnectionProviderImpl | 175 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | setSwitchConnectionHandler 2015-08-31 10:46:38,528 | DEBUG | config-pusher | SwitchConnectionProviderImpl | 175 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | Startup summoned 2015-08-31 10:46:38,528 | DEBUG | config-pusher | SwitchConnectionProviderImpl | 175 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | Configuring .. 2015-08-31 10:46:38,536 | DEBUG | config-pusher | SwitchConnectionProviderImpl | 175 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.0.SNAPSHOT | setSwitchConnectionHandler 2015-08-31 10:46:38,536 | DEBUG | config-pusher | SwitchConnectionProviderImpl | 175 - org.opendaylight

2015-08-28 10:51:25 -0700 received badge  Popular Question (source)
2015-08-28 09:36:43 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

I built ODL with OFPlugin and made changes to 42-openflowplugin-new.xml file. However when I run ODL, the port 6633 is not open. Why is that so? Do I need to install any other features for that?

2015-08-28 07:08:45 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

It was a maven issue. Figured it out. I shall try what you suggested right away!

2015-08-28 06:54:01 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

I found the repository. However, when I try to "mvn clean install," I get this error: sanket@sanket-ubuntu-ovs:~/ofplugin/openflowplugin$ mvn clean install [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.opendaylight.openflowplugin:openflowplugin-aggregator:0.2.0-SNAPSHOT (/home/sanket/ofplugin/openflowplugin/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.opendaylight.openflowplugin:openflowplugin-parent:0.2.0-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.6.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ org.opendaylight.openflowplugin:openflowplugin-parent:0.2.0-SNAPSHOT, /home/sanket/ofplugin/openflowplugin/parent/pom.xml, line 12, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more informa

2015-08-28 06:28:33 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

Can you post the link for the openflowplugin repository here? I downloaded it directly from the ODL website. I believe Lithium comes with OFplugin installed

2015-08-28 06:26:56 -0700 commented answer HTTPS for ODL's REST interfaces

I see. That could definitely be a reason. I shall try following the wiki guidelines to check if it works without VTN

2015-08-27 18:55:03 -0700 received badge  Notable Question (source)
2015-08-27 15:56:34 -0700 marked best answer HTTPS for ODL's REST interfaces

Hi,

I am trying to add HTTPS for ODL's REST interfaces. I am following this link.

http://www.frank-durr.de/?p=75

I have created the KeyStore and put the path in configuration/tomcat-server.xml file in the "connector" section. I am not able to connect to port 8443. The port is not even up for some reason. Why is that so?

Restconf is up on 8181

sanket@sanket-ubuntu-odl:~$ curl -I -v http://localhost:8181/restconf/ * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 8181 (#0)

HEAD /restconf/ HTTP/1.1 User-Agent: curl/7.37.1 Host: localhost:8181 Accept: /

< HTTP/1.1 401 Unauthorized HTTP/1.1 401 Unauthorized < WWW-Authenticate: Basic realm="opendaylight" WWW-Authenticate: Basic realm="opendaylight" < Content-Type: text/html;charset=ISO-8859-1 Content-Type: text/html;charset=ISO-8859-1 < Cache-Control: must-revalidate,no-cache,no-store Cache-Control: must-revalidate,no-cache,no-store < Content-Length: 1380 Content-Length: 1380 * Server Jetty(8.1.15.v20140411) is not blacklisted < Server: Jetty(8.1.15.v20140411) Server: Jetty(8.1.15.v20140411)

< * Connection #0 to host localhost left intact

But I dont see port 8443 up.

Here is the tomcat-server.xml

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS"
           keystoreFile="/home/sanket/KeyStore"
           keystorePass="changeit"/>

Am I missing something?

2015-08-27 13:31:09 -0700 received badge  Scholar (source)
2015-08-27 13:30:57 -0700 commented answer HTTPS for ODL's REST interfaces

But that worked. How so? Thank you for the answer though. Have you worked on SSL for OvS connection for OF? I have a couple questions up. If you dont mind, I would like for you to look into them and give me some pointers about the same. Thank you

2015-08-27 13:08:32 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

I am using lithium, I downloaded it straight from the OpenDaylight website. I start it using "bin/karaf" command

2015-08-27 11:04:55 -0700 commented question Can't find JDK bin directory for TLS support.

No, I have not. But I believe I found it. I can make correct keys using keytool.

2015-08-27 10:53:31 -0700 commented answer Error in adding TLS support: OFFrameDecoder.Decode() did not read anything but decoded a message

Hi, Thanks for the reponse. However, I am not able to find the src directory in the controller-config sanket@sanket-ubuntu-ovs:~/lithium/distribution-karaf-0.3.0-Lithium/system/org/opendaylight/openflowplugin$ cd openflowplugin-controller-config/ sanket@sanket-ubuntu-ovs:~/lithium/distribution-karaf-0.3.0-Lithium/system/org/opendaylight/openflowplugin/openflowplugin-controller-config$ ls 0.1.0-Lithium maven-metadata-local.xml sanket@sanket-ubuntu-ovs:~/lithium/distribution-karaf-0.3.0-Lithium/system/org/opendaylight/openflowplugin/openflowplugin-controller-config/0.1.0-Lithium$ ls openflowplugin-controller-config-0.1.0-Lithium-config-He.xml openflowplugin-controller-config-0.1.0-Lithium-config-Li.xml openflowplugin-controller-config-0.1.0-Lithium-configmsgspy.xml _remote.repositories Should I change the config-Li.xml file here?

2015-08-27 10:46:05 -0700 received badge  Famous Question (source)
2015-08-27 10:44:01 -0700 received badge  Popular Question (source)
2015-08-27 10:27:57 -0700 received badge  Popular Question (source)
2015-08-27 10:27:57 -0700 received badge  Notable Question (source)
2015-08-27 10:26:51 -0700 received badge  Notable Question (source)
2015-08-27 10:26:51 -0700 received badge  Famous Question (source)
2015-08-27 08:02:28 -0700 received badge  Popular Question (source)
2015-08-27 07:21:41 -0700 asked a question How can we modify the artifacts in ODL?

Hi,

I wanted to modify the artifacts in ODL. I cant locate them. Does anyone know where they are located and how I can modify them?

2015-08-25 05:36:57 -0700 received badge  Notable Question (source)
2015-08-19 12:12:27 -0700 received badge  Notable Question (source)
2015-08-19 12:12:27 -0700 received badge  Famous Question (source)