[ovs-git] [openvswitch/ovs] 089005: dpctl: cleaner dpctl output for tunnel ports.

GitHub noreply at github.com
Fri May 1 21:27:19 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0890056e596ac1d1d972ea3e7ad867fa76ffb875
      https://github.com/openvswitch/ovs/commit/0890056e596ac1d1d972ea3e7ad867fa76ffb875
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Changed paths:
    M lib/netdev-vport.c

  Log Message:
  -----------
  dpctl: cleaner dpctl output for tunnel ports.

Currently dont-fragment and TTL are initialized to zero, but
those are not default config for tunnel ports.  dpctl
does not show default config of a port.  So by setting these
values to default we can get cleaner `dpctl show` output.

% ovs-dpctl show
system at ovs-system:
	port 0: ovs-system (internal)
	port 1: br0 (internal)
	port 4: gre_sys (gre: df_default=false, ttl=0)

% ovs-dpctl show # After initializing default values.
system at ovs-system:
	port 0: ovs-system (internal)
	port 1: br0 (internal)
	port 4: gre_sys (gre)

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>




More information about the git mailing list