mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
Implement OpenFlow 1.5 port desc stats request.
OpenFlow 1.4 and earlier always send the description of every port in response to an OFPMP_PORT_DESC request. OpenFlow 1.5 proposes allowing the controller to request a description of a single port. This commit implements a prototype. EXT-69. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -875,7 +875,12 @@ void ofputil_append_flow_update(const struct ofputil_flow_update *,
|
||||
uint32_t ofputil_decode_flow_monitor_cancel(const struct ofp_header *);
|
||||
struct ofpbuf *ofputil_encode_flow_monitor_cancel(uint32_t id);
|
||||
|
||||
/* Encoding OpenFlow stats messages. */
|
||||
/* Port desc stats requests and replies. */
|
||||
enum ofperr ofputil_decode_port_desc_stats_request(const struct ofp_header *,
|
||||
ofp_port_t *portp);
|
||||
struct ofpbuf *ofputil_encode_port_desc_stats_request(
|
||||
enum ofp_version ofp_version, ofp_port_t);
|
||||
|
||||
void ofputil_append_port_desc_stats_reply(const struct ofputil_phy_port *pp,
|
||||
struct list *replies);
|
||||
|
||||
|
Reference in New Issue
Block a user