``local port'' to allow \fBsecchan\fR to connect to that controller.
The OpenFlow local port is a virtual network port that \fBsecchan\fR
bridges to the physical switch ports. The name of the local port for
-a given \fIdatapath\fR may be seen by running \fBdpctl showdp
-\fIdatapath\fR; the local port is listed as port 0 in \fBshowdp\fR's
+a given \fIdatapath\fR may be seen by running \fBdpctl dp-show
+\fIdatapath\fR; the local port is listed as port 0 in \fBdp-show\fR's
output.
.IP
device acting as its local port.
.TP
-\fBshowdp \fR[\fIdp\fR...]
+\fBdp-show \fR[\fIdp\fR...]
Prints a summary of configured datapaths, including their datapath
numbers and a list of ports connected to each datapath. (The local
port is identified as port 0.)
" deldp DP delete local datapath DP\n"
" addif DP IFACE... add each IFACE as a port on DP\n"
" delif DP IFACE... delete each IFACE from DP\n"
- " showdp show basic info on all datapaths\n"
- " showdp DP... show basic info on each DP\n"
+ " dp-show show basic info on all datapaths\n"
+ " dp-show DP... show basic info on each DP\n"
" dp-dump-flows DP display flows in DP\n"
" dp-dump-groups DP display port groups in DP\n"
"\nFor OpenFlow switches:\n"
}
static void
-do_show_dp(const struct settings *s UNUSED, int argc UNUSED, char *argv[])
+do_dp_show(const struct settings *s UNUSED, int argc UNUSED, char *argv[])
{
bool failure = false;
if (argc > 1) {
{ "delif", 2, INT_MAX, do_del_port },
{ "get-idx", 1, 1, do_get_idx },
{ "get-name", 1, 1, do_get_name },
- { "showdp", 0, INT_MAX, do_show_dp },
+ { "dp-show", 0, INT_MAX, do_dp_show },
{ "dp-dump-flows", 1, 1, do_dp_dump_flows },
{ "dp-dump-groups", 1, 1, do_dp_dump_groups },
#endif
BRCOMPATD_MEMLEAK_LOGFILE="${BRCOMPATD_MEMLEAK_LOGFILE:-}"
function dp_list {
- $VSWITCH_BASE/utilities/dpctl showdp | grep '^dp[0-9]\+:' | cut -d':' -f 1
+ $VSWITCH_BASE/utilities/dpctl dp-show | grep '^dp[0-9]\+:' | cut -d':' -f 1
}
function dp_intf {
local dp=$1
# Currently port0 is hardcoded to be the local port.
- $VSWITCH_BASE/utilities/dpctl showdp $dp | grep 'port 0:' | cut -d' ' -f 3
+ $VSWITCH_BASE/utilities/dpctl dp-show $dp | grep 'port 0:' | cut -d' ' -f 3
}
function clear_old_bridge_ports {