Re: [integration-dev] showOvsdbMdsal.py tool available


Jamo Luhrsen <jluhrsen@...>
 

Flavio,

this looks like it could be very useful for CI.  Thanks for the work :)


Is there anyone in OVSDB land doing tests that could make use of this?  If
so, I'm wondering if a better place to keep this is in the integration repo
under test/tools/  ?


JamO




On 07/15/2015 01:42 PM, Flavio Fernandes wrote:
Hi folks,

After getting cross eyed from staring at postman outputs [1] to debug ovsdb net-virt, I decided to write
a tool to dump mdsal info related to ovsdb and its netvirt (including high level flows). I placed this tool
in the ‘resources’ dir in the ovsdb project [2]. Gerrit is here [3].

With that, we can narrow into that is available in either config or operational trees. Usage is below [5].
See [4] for an example output.

Hope this is useful to folks playing with ovsdb netvirt.

Best,

— flavio





[5]:

    Add showOvsdbMdsal.py tool

    This tool can provide useful info in regards to ovsdb's mdsal structures.
    It looks at the operational or config trees in mdsal, depending on the
    parameter '--config':

    $ ./showOvsdbMdsal.py -h
    Usage: showOvsdbMdsal.py [options]

    Options:
      --version             show program's version number and exit
      -h, --help            show this help message and exit
      -d, --debug           Verbosity. Can be provided multiple times for more
                            debug.
      -n, --noalias         Do not map nodeId of bridges to an alias
      -i ODLIP, --ip=ODLIP  opendaylights ip address
      -t ODLPORT, --port=ODLPORT
                            opendaylights listening tcp port on restconf
                            northbound
      -u ODLUSERNAME, --user=ODLUSERNAME
                            opendaylight restconf username
      -p ODLPASSWORD, --password=ODLPASSWORD
                            opendaylight restconf password
      -c, --config          parse mdsal restconf config tree instead of
                            operational tree
      -f, --hide-flows      hide flows





_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.