Hello,

I need to manage openvswitch bridges, create VXLAN tunnels, add them to the bridges, etc. Also, I need to set up default flow for the br-int as NORMAL automatically, once opendaylight discoverred topology.

I have installed ODL. Instaled components(l2switch too) but I can't find configuration files to change default settings for the L2switch, which are described here:
http://docs.opendaylight.org/en/stable-nitrogen/developer-guide/l2switch-developer-guide.html


I have tried to find: 52-loopremover.xml, 54-arphandler.xml, 58-l2switchmain.xml but no luck.

In theory they should be available for modifying here:
/root/karaf-0.7.1/etc/opendaylight/datastore/initial/config

but this directory doesn't contains this files:
-rw-r--r-- 1 root root 14955 Nov 29 12:20 aaa-app-config.xml
-rw-r--r-- 1 root root   793 Nov 29 12:51 aaa-cert-config.xml
-rw-r--r-- 1 root root   518 Nov 29 12:20 aaa-encrypt-service-config.xml
-rw-r--r-- 1 root root 821 Nov 29 12:18 default-openflow-connection-config.xml -rw-r--r-- 1 root root 820 Nov 29 12:18 legacy-openflow-connection-config.xml

Installed features:

Logging in as karaf
odl-l2switch-switch | 0.6.1 | x | Started | odl-l2switch-switch | OpenDaylight :: L2Switch :: Switch odl-l2switch-addresstracker | 0.6.1 | | Started | odl-l2switch-addresstracker | OpenDaylight :: L2Switch :: AddressTracker odl-l2switch-packethandler | 0.6.1 | | Started | odl-l2switch-packethandler | OpenDaylight :: L2Switch :: PacketHandler odl-l2switch-switch-rest | 0.6.1 | x | Started | odl-l2switch-switch-rest | OpenDaylight :: L2Switch :: Switch REST odl-l2switch-arphandler | 0.6.1 | x | Started | odl-l2switch-arphandler | OpenDaylight :: L2Switch :: ArpHandler odl-l2switch-hosttracker | 0.6.1 | x | Started | odl-l2switch-hosttracker | OpenDaylight :: L2Switch :: HostTracker odl-l2switch-loopremover | 0.6.1 | x | Started | odl-l2switch-loopremover | OpenDaylight :: L2Switch :: LoopRemover

odl-openflowplugin-nsf-model | 0.5.1 | | Started | odl-openflowplugin-nsf-model | OpenDaylight :: OpenflowPlugin :: NSF :: Model odl-openflowjava-protocol | 0.5.1 | | Started | odl-openflowjava-0.5.1 | ODL :: openflowjava :: odl-openflowjava-protocol odl-openflowplugin-app-topology | 0.5.1 | | Started | odl-openflowplugin-app-topology | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-app-config-pusher | 0.5.1 | | Started | odl-openflowplugin-app-config-pusher | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-app-forwardingrules-manager | 0.5.1 | | Started | odl-openflowplugin-app-forwardingrules-manager | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-flow-services | 0.5.1 | x | Started | odl-openflowplugin-flow-services | OpenDaylight :: Openflow Plugin :: Flow Services odl-openflowplugin-app-reconciliation-framework | 0.5.1 | | Started | odl-openflowplugin-app-reconciliation-framework | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-southbound | 0.5.1 | | Started | openflowplugin-0.5.1 | OpenDaylight :: Openflow Plugin :: Li southbound


Could you please point me what do I do wrong here? And what could be possible solution to me?

Thanks in advance.

11/16/17 21:17, Luis Gomez пише:
I think the easier would be to do new installation skipping l2switch application. That would get rid of the the undesired flows.

On Nov 16, 2017, at 2:32 AM, Igor Levchuk <[email protected] <mailto:[email protected]>> wrote:

Hi,

You are right. In this case its l2switch app I think.
But what do I do wrong here ?

I have unpacked Nitrogen, started karaf and installed apropriate plugins ( like odl-l2switch-all) but I can't not find file arp-handler-config.yang which is mentioned into documentation you sent to perform changes.

Thanks!

11/15/17 23:40, Jamo Luhrsen пише:
Hard to follow what you are doing here, but maybe you are using the l2switch app? I know that will put some default flows so it can do things like learn links: http://docs.opendaylight.org/en/latest/user-guide/l2switch-user-guide.html?highlight=default flows
you can add/remove flows via NB and openflowplugin:
http://docs.opendaylight.org/en/latest/user-guide/openflow-plugin-project-user-guide.html?highlight=push%20flows#end-to-end-flows
Not sure if it helps.
JamO
On 11/15/2017 10:26 AM, Igor Levchuk wrote:
Hi,

Actually, I am not trying to install features. I have already installed them. Here is full list:

odl-l2switch-addresstracker
odl-aaa-encryption-service
odl-openflowplugin-nsf-model
jdbc
odl-javassist-3
odl-openflowplugin-app-topology
odl-dluxapps-yangutils
odl-openflowjava-protocol
odl-ovsdb-southbound-api
pax-jdbc-spec
pax-jdbc
pax-jdbc-config
odl-mdsal-eos-common
odl-mdsal-broker
odl-mdsal-binding-api
odl-karaf-feat-jdbc
odl-mdsal-binding-base
odl-aaa-shiro
odl-l2switch-all
odl-aaa-cert
odl-akka-clustering-2.4
odl-l2switch-packethandler
odl-config-netty
odl-guava-22
odl-mdsal-common
odl-openflowplugin-app-config-pusher
odl-ovsdb-hwvtepsouthbound-ui
odl-l2switch-switch
odl-mdsal-dom-broker
odl-mdsal-dom-api
odl-akka-system-2.4
odl-mdsal-common
odl-akka-persistence-2.4
odl-openflowplugin-app-reconciliation-framework
odl-dluxapps-yangui
odl-mdsal-binding-runtime
odl-ovsdb-hwvtepsouthbound-api
odl-restconf-noauth
odl-l2switch-arphandler
odl-mdsal-remoterpc-connector
odl-yangtools-yang-data
odl-ovsdb-hwvtepsouthbound
odl-mdsal-clustering-commons
odl-lmax-3
odl-mdsal-broker-local
odl-l2switch-hosttracker
odl-mdsal-models
odl-karaf-feat-jetty
odl-dluxapps-topology
odl-ovsdb-southbound-impl
odl-config-manager
odl-config-api
odl-dluxapps-yangvisualizer
odl-mdsal-eos-dom
odl-dluxapps-applications
odl-openflowplugin-app-forwardingrules-manager
odl-config-startup
odl-ovsdb-hwvtepsouthbound-rest
odl-config-netty-config-api
odl-ovsdb-southbound-impl-ui
odl-l2switch-loopremover
odl-config-persister
odl-openflowplugin-flow-services
odl-mdsal-apidocs
odl-mdsal-distributed-datastore
odl-ovsdb-library
odl-dluxapps-yangman
odl-mdsal-binding-dom-adapter
pax-jetty
pax-http-jetty
pax-http
pax-http-whiteboard
pax-war
odl-restconf
odl-yangtools-yang-parser
odl-openflowplugin-southbound
odl-mdsal-singleton-common
odl-dlux-core
odl-dluxapps-nodes
odl-netty-4
odl-mdsal-singleton-dom
odl-yangtools-common
odl-mdsal-dom
southbound-features
odl-ovsdb-southbound-impl-rest
odl-config-core
odl-ovsdb-southbound-test
odl-mdsal-eos-binding
odl-akka-scala-2.11
features-dluxapps
odl-aaa-api
aries-proxy
aries-blueprint
feature
shell
shell-compat
deployer
bundle
config
diagnostic
instance
jaas
log
package
service
system
http
war
kar
ssh
management
wrap
standard
odl-akka-leveldb-0.7


I am using Nitrogen release.

I am simply trying to work with flows and bridge br-int. And I am wondering if there is an option to perform changes to the default list of flows which apllies to the br-int by default.  I just want to change them and can't find any information how
to do it.

Thanks!


11/15/17 18:11, Jamo Luhrsen пише:
Hi Igor,

I've added openflowplugin-dev and netvirt-dev mailing lists as those are
probably more appropriate than controller-dev.

Someone there can probably help, but can you also let us know what
ODL features you are installing?

Thanks,
JamO

On 11/15/2017 04:49 AM, Igor Levchuk wrote:
Hello,

Could someone point me in right direction.
Trying to figure out how can I change default flows for th br-int form:
OFPST_FLOW reply (OF1.3) (xid=0x2):
  cookie=0x2b00000000000001, duration=12.664s, table=0, n_packets=0, n_bytes=0, priority=100,dl_type=0x88cc
actions=CONTROLLER:65535
  cookie=0x2b00000000000001, duration=12.664s, table=0, n_packets=0, n_bytes=0, priority=0 actions=drop

to:

  cookie=0x0, duration=9.931s, table=0, n_packets=0, n_bytes=0, actions=NORMAL

via ODL API.

I am trying to use br-int as public interface for incoming connections to the hypervisor and interface for the ODL-controller
communication.

Thanks in advance!
_______________________________________________
controller-users mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-users

_______________________________________________
controller-users mailing list
[email protected] <mailto:[email protected]>
https://lists.opendaylight.org/mailman/listinfo/controller-users

_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to