static
const
struct ovs_cmdl_command all_commands[] = {
????{ "show", "switch",
??????1, 1, ofctl_show },
????{ "monitor", "switch [misslen] [invalid_ttl] [watch:[...]]",
??????1, 3, ofctl_monitor },
????{ "snoop", "switch",
??????1, 1, ofctl_snoop },
????{ "dump-desc", "switch",
??????1, 1, ofctl_dump_desc },
????{ "dump-tables", "switch",
??????1, 1, ofctl_dump_tables },
????{ "dump-table-features", "switch",
??????1, 1, ofctl_dump_table_features },
????{ "dump-table-desc", "switch",
??????1, 1, ofctl_dump_table_desc },
????{ "dump-flows", "switch",
??????1, 2, ofctl_dump_flows },
????{ "dump-aggregate", "switch",
??????1, 2, ofctl_dump_aggregate },
????{ "queue-stats", "switch [port [queue]]",
??????1, 3, ofctl_queue_stats },
????{ "queue-get-config", "switch port",
??????2, 2, ofctl_queue_get_config },
????{ "add-flow", "switch flow",
??????2, 2, ofctl_add_flow },
????{ "add-flows", "switch file",
??????2, 2, ofctl_add_flows },
????{ "mod-flows", "switch flow",
??????2, 2, ofctl_mod_flows },
????{ "del-flows", "switch [flow]",
??????1, 2, ofctl_del_flows },
????{ "replace-flows", "switch file",
??????2, 2, ofctl_replace_flows },
????{ "diff-flows", "source1 source2",
??????2, 2, ofctl_diff_flows },
????{ "add-meter", "switch meter",
??????2, 2, ofctl_add_meter },
????{ "mod-meter", "switch meter",
??????2, 2, ofctl_mod_meter },
????{ "del-meter", "switch meter",
??????2, 2, ofctl_del_meters },
????{ "del-meters", "switch",
??????1, 1, ofctl_del_meters },
????{ "dump-meter", "switch meter",
??????2, 2, ofctl_dump_meters },
????{ "dump-meters", "switch",
??????1, 1, ofctl_dump_meters },
????{ "meter-stats", "switch [meter]",
??????1, 2, ofctl_meter_stats },
????{ "meter-features", "switch",
??????1, 1, ofctl_meter_features },
????{ "packet-out", "switch in_port actions packet...",
??????4, INT_MAX, ofctl_packet_out },
????{ "dump-ports", "switch [port]",
??????1, 2, ofctl_dump_ports },
????{ "dump-ports-desc", "switch [port]",
??????1, 2, ofctl_dump_ports_desc },
????{ "mod-port", "switch iface act",
??????3, 3, ofctl_mod_port },
????{ "mod-table", "switch mod",
??????3, 3, ofctl_mod_table },
????{ "get-frags", "switch",
??????1, 1, ofctl_get_frags },
????{ "set-frags", "switch frag_mode",
??????2, 2, ofctl_set_frags },
????{ "probe", "target",
??????1, 1, ofctl_probe },
????{ "ping", "target [n]",
??????1, 2, ofctl_ping },
????{ "benchmark", "target n count",
??????3, 3, ofctl_benchmark },
? ????{ "ofp-parse", "file",
??????1, 1, ofctl_ofp_parse },
????{ "ofp-parse-pcap", "pcap",
??????1, INT_MAX, ofctl_ofp_parse_pcap },
? ????{ "add-group", "switch group",
??????1, 2, ofctl_add_group },
????{ "add-groups", "switch file",
??????1, 2, ofctl_add_groups },
????{ "mod-group", "switch group",
??????1, 2, ofctl_mod_group },
????{ "del-groups", "switch [group]",
??????1, 2, ofctl_del_groups },
????{ "insert-buckets", "switch [group]",
??????1, 2, ofctl_insert_bucket },
????{ "remove-buckets", "switch [group]",
??????1, 2, ofctl_remove_bucket },
????{ "dump-groups", "switch [group]",
??????1, 2, ofctl_dump_group_desc },
????{ "dump-group-stats", "switch [group]",
??????1, 2, ofctl_dump_group_stats },
????{ "dump-group-features", "switch",
??????1, 1, ofctl_dump_group_features },
????{ "add-tlv-map", "switch map",
??????2, 2, ofctl_add_tlv_map },
????{ "del-tlv-map", "switch [map]",
??????1, 2, ofctl_del_tlv_map },
????{ "dump-tlv-map", "switch",
??????1, 1, ofctl_dump_tlv_map },
????{ "help", NULL, 0, INT_MAX, ofctl_help },
????{ "list-commands", NULL, 0, INT_MAX, ofctl_list_commands },
? ????/* Undocumented commands for testing. */
????{ "parse-flow", NULL, 1, 1, ofctl_parse_flow },
????{ "parse-flows", NULL, 1, 1, ofctl_parse_flows },
????{ "parse-nx-match", NULL, 0, 0, ofctl_parse_nxm },
????{ "parse-nxm", NULL, 0, 0, ofctl_parse_nxm },
????{ "parse-oxm", NULL, 1, 1, ofctl_parse_oxm },
????{ "parse-actions", NULL, 1, 1, ofctl_parse_actions },
????{ "parse-instructions", NULL, 1, 1, ofctl_parse_instructions },
????{ "parse-ofp10-match", NULL, 0, 0, ofctl_parse_ofp10_match },
????{ "parse-ofp11-match", NULL, 0, 0, ofctl_parse_ofp11_match },
????{ "parse-pcap", NULL, 1, 1, ofctl_parse_pcap },
????{ "check-vlan", NULL, 2, 2, ofctl_check_vlan },
????{ "print-error", NULL, 1, 1, ofctl_print_error },
????{ "encode-error-reply", NULL, 2, 2, ofctl_encode_error_reply },
????{ "ofp-print", NULL, 1, 2, ofctl_ofp_print },
????{ "encode-hello", NULL, 1, 1, ofctl_encode_hello },
? ????{ NULL, NULL, 0, 0, NULL },
};
|