+struct ofproto_ipfix_bridge_exporter_options {
+ struct sset targets;
+ uint32_t sampling_rate;
+ uint32_t obs_domain_id; /* Bridge-wide Observation Domain ID. */
+ uint32_t obs_point_id; /* Bridge-wide Observation Point ID. */
+ uint32_t cache_active_timeout;
+ uint32_t cache_max_flows;
+ bool enable_tunnel_sampling;
+ bool enable_input_sampling;
+ bool enable_output_sampling;
+};
+
+struct ofproto_ipfix_flow_exporter_options {
+ uint32_t collector_set_id;
+ struct sset targets;
+ uint32_t cache_active_timeout;
+ uint32_t cache_max_flows;
+};
+
+struct ofproto_rstp_status {
+ bool enabled; /* If false, ignore other members. */
+ rstp_identifier root_id;
+ rstp_identifier bridge_id;
+ rstp_identifier designated_id;
+ uint32_t root_path_cost;
+ uint16_t designated_port_id;
+ uint16_t bridge_port_id;
+};
+
+struct ofproto_rstp_settings {
+ rstp_identifier address;
+ uint16_t priority;
+ uint32_t ageing_time;
+ enum rstp_force_protocol_version force_protocol_version;
+ uint16_t bridge_forward_delay;
+ uint16_t bridge_max_age;
+ uint16_t transmit_hold_count;
+};
+
+struct ofproto_port_rstp_status {
+ bool enabled; /* If false, ignore other members. */
+ uint16_t port_id;
+ enum rstp_port_role role;
+ enum rstp_state state;
+ rstp_identifier designated_bridge_id;
+ uint16_t designated_port_id;
+ uint32_t designated_path_cost;
+ int tx_count; /* Number of BPDUs transmitted. */
+ int rx_count; /* Number of valid BPDUs received. */
+ int error_count; /* Number of bad BPDUs received. */
+ int uptime;
+};
+
+struct ofproto_port_rstp_settings {
+ bool enable;
+ uint16_t port_num; /* In the range 1-4095, inclusive. */
+ uint8_t priority;
+ uint32_t path_cost;
+ bool admin_edge_port;
+ bool auto_edge;
+ bool mcheck;
+ uint8_t admin_p2p_mac_state;
+ bool admin_port_state;
+};
+