~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to utilities/bugtool/ovs-bugtool-ovs-appctl-dpif

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# This library is free software; you can redistribute it and/or
 
4
# modify it under the terms of version 2.1 of the GNU Lesser General
 
5
# Public License as published by the Free Software Foundation.
 
6
#
 
7
# This library is distributed in the hope that it will be useful,
 
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
10
# Lesser General Public License for more details.
 
11
#
 
12
# You should have received a copy of the GNU Lesser General Public
 
13
# License along with this library; if not, write to the Free Software
 
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
15
# USA
 
16
#
 
17
# Copyright (C) 2013 Nicira, Inc.
 
18
 
 
19
for bridge in `ovs-vsctl -- --real list-br`
 
20
do
 
21
    echo "ovs-appctl dpif/show ${bridge}"
 
22
    ovs-appctl dpif/show "${bridge}"
 
23
    echo "ovs-appctl dpif/dump-flows ${bridge}"
 
24
    ovs-appctl dpif/dump-flows "$bridge"
 
25
    echo ""
 
26
done