Ask Your Question
0

Adding Flows [closed]

asked 2015-12-07 08:05:16 -0700

harsha gravatar image

Hello all, I am building a simple SDN network with Mininet. Topology is the default one with one switch and two hosts. I pushed (used 'PUT') two flows using Postman. I can see the flows pushed in the config store using 'GET' but cannot find these flows in operational store. I'm unable to ping between the hosts. Features installed in ODL are DLUX-all, restconf-all, mdsal-apidocs, openflowplugin-all, l2switch-switch-ui. Fields "is-proactive-flood-mode" is set to false and "is-learning-only-mode" is set to true so that i can add flows manually.Are there any more features which are required install to work these flows? I tried Installing adsal-all also but the issue persists. Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by harsha
close date 2015-12-08 17:06:07

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-07 14:47:08 -0700

runamuck gravatar image

Ensure that the flows you push contain the following stanzas:

<match>
 <ethernet-match>
    <ethernet-type>
      <type>2048</type>
    </ethernet-type>
 </ethernet-match>

 ...

 <ip-match>
  <ip-protocol>6</ip-protocol>
 </ip-match>
</match>

See this answer for more details.

In addition, I recommend you run bin/karaf clean and then only install odl-l2switch-switch-ui

image description

edit flag offensive delete publish link more

Comments

@runamuck Thank you very much! You are a savior!

harsha ( 2015-12-07 16:50:47 -0700 )edit

My pleasure!

runamuck ( 2015-12-09 06:39:02 -0700 )edit

Question Tools

Follow
1 follower

Stats

Asked: 2015-12-07 08:05:16 -0700

Seen: 172 times

Last updated: Dec 07 '15