I am using OpenDaylight Carbon release and the openflow plugin. I am writing code to install a flow. The flow gets written to MDSAL and picked up and installed by the Southbound plugin. I want to see what is in the config database for the switch. How can I do this? Thanks.
opendaylight: How to view config database
790 views Asked by LostInTheFrequencyDomain At
1
There are 1 answers
Related Questions in OPENFLOW
- onos service start error - ONOS GUI not ready yet... please stand by
- Connecting local instance of OpenDaylight controller to local instance of Mininet
- Collect Flow Stats from Multiple SDN Switches
- Hybrid OF Ports on Allied Telesis Switches
- How can I handle OFPT_ERROR: MeterModFailedCode.OFPMMFC_OUT_OF_BANDS error code?
- Is there some way to verify in Ryu controller whether a packet will match to a specified OFPMatch object or not?
- Cannot resolve the problem of not opening miniedit in mininet
- How to get source/destination IP address of a packet in NS3 when I am using MacRX or SwitchPortRx TraceSource for CsmaNetDevice or OFSwittch13Port?
- OpenFlow rules based on a packet size
- How to get the statistics of queues for each switch with ryu controller application in python?
- MPLS Implementation in Ryu [SDN]: Pingall 1/2 - How to fix it?
- Opendaylight Openflow accepted Cipher Suits and TLS Version
- Does an SDN Controller need to be connected to every OpenFlow enabled Switch directly?
- Fatal unable to connect to github.com while doing git pull origin master. I am upgrading floodlight to v 1.2
- Implement QoS with Ryu controller
Related Questions in OPENDAYLIGHT
- how to migate a Akka cluster without stopping service
- Lighty netconf implementation using spring boot application
- Connecting local instance of OpenDaylight controller to local instance of Mininet
- Opendaylight does not see the topology
- opendaylight incremental backup
- SDN OpenDayLight (Aluminium SR2) SDN Link State Family
- OpenDaylight Netconf notification fail for step 4 (Create the http Stream for the events)
- Opendaylight ODL java JSON XML binding problem
- How to access opendaylight API's
- NoClassDefFoundError in org.opendaylight.yangtools.yang.parser.rfc7950.reactor.ServiceLoaderState$XPath
- ODL Chlorine ping mininet hosts
- Opendaylight Openflow accepted Cipher Suits and TLS Version
- Add meter to Openflow node in Opendaylight
- Can I user OpenDaylight to query a network node via JSON RPC?
- OpenDaylight TestTool: NETCONF notification
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
With the MDSAL Openflow plugin (and general MDSAL usage overall), the flows get written to the config datastore (which is effectively the intention of what you want) then if there is a switch connected for these flows, the flows will be written to the switch and to the operational data store (which is where the result is stored).
Lets assume you're using OVS and have set the manager and controller to Opendaylight, you can query the flows in the config and operational data stores as follows:
Get the OVS datapath ID: (needed below in the queries)
Query the flows in the configuration data store:
Query the flows in the operational data store:
Notice, you can go into more detail with the URL to get flows in specific tables, for instance, do this to get table 4 flows:
Also notice that using "python -m json.tool" formats the output so its not all on one line. Its not mandatory to use.