|
OpenSDN source code
|
#include <route_kstate.h>


Public Member Functions | |
| RouteKState (KRouteResp *obj, const std::string &resp_ctx, vr_route_req &encoder, int id, int family_id, sandesh_op::type op_code, int prefix_size) | |
| virtual void | SendResponse () |
| virtual void | Handler () |
| void | InitEncoder (vr_route_req &req, int id, sandesh_op::type op_code) const |
| virtual void | SendNextRequest () |
| const std::string | FamilyToString (int family) const |
| const std::string | LabelFlagsToString (int flags) const |
Public Member Functions inherited from KState | |
| KState (const std::string &s, Sandesh *obj) | |
| void | EncodeAndSend (Sandesh &encoder) |
| virtual void | Release () |
| const std::string | response_context () const |
| Sandesh * | response_object () const |
| const boost::any & | more_context () const |
| void | set_vr_response_code (int value) |
| bool | MoreData () const |
| const std::string | MacToString (const std::vector< signed char > &mac) const |
| virtual void | IfMsgHandler (vr_interface_req *req) |
| virtual void | NHMsgHandler (vr_nexthop_req *req) |
| virtual void | RouteMsgHandler (vr_route_req *req) |
| virtual void | MplsMsgHandler (vr_mpls_req *req) |
| virtual void | MirrorMsgHandler (vr_mirror_req *req) |
| virtual int | VrResponseMsgHandler (vr_response *r) |
| virtual void | FlowMsgHandler (vr_flow_req *req) |
| virtual void | VrfAssignMsgHandler (vr_vrf_assign_req *req) |
| virtual void | VrfMsgHandler (vr_vrf_req *req) |
| virtual void | VrfStatsMsgHandler (vr_vrf_stats_req *req) |
| virtual void | DropStatsMsgHandler (vr_drop_stats_req *req) |
| virtual void | VxLanMsgHandler (vr_vxlan_req *req) |
| virtual void | VrouterOpsMsgHandler (vrouter_ops *req) |
| virtual void | ForwardingClassMsgHandler (vr_fc_map_req *req) |
| virtual void | QosConfigMsgHandler (vr_qos_map_req *req) |
Public Member Functions inherited from AgentSandeshContext | |
| AgentSandeshContext () | |
| virtual | ~AgentSandeshContext () |
| virtual void | FlowResponseHandler (vr_flow_response *req) |
| virtual void | FlowTableInfoHandler (vr_flow_table_data *r) |
| virtual void | BridgeTableInfoHandler (vr_bridge_table_data *r) |
| virtual void | VrouterHugePageHandler (vr_hugepage_config *req) |
| virtual void | SetErrno (int err) |
| int | GetErrno () const |
| void | set_ksync_io_ctx (const KSyncIoContext *ioc) |
| const KSyncIoContext * | ksync_io_ctx () const |
Public Member Functions inherited from SandeshContext | |
| virtual | ~SandeshContext () |
Public Attributes | |
| int | family_id_ |
| sandesh_op::type | op_code_ |
| std::vector< int8_t > | prefix_ |
Additional Inherited Members | |
Static Public Attributes inherited from KState | |
| static const int | kMaxEntriesPerResponse = 100 |
Protected Member Functions inherited from SandeshContext | |
| SandeshContext () | |
Protected Attributes inherited from KState | |
| std::string | response_context_ |
| Sandesh * | response_object_ |
| int | vr_response_code_ |
| boost::any | more_context_ |
Definition at line 8 of file route_kstate.h.
| RouteKState::RouteKState | ( | KRouteResp * | obj, |
| const std::string & | resp_ctx, | ||
| vr_route_req & | encoder, | ||
| int | id, | ||
| int | family_id, | ||
| sandesh_op::type | op_code, | ||
| int | prefix_size | ||
| ) |
| const string RouteKState::FamilyToString | ( | int | family | ) | const |
Definition at line 77 of file route_kstate.cc.
|
virtual |
Implements KState.
Definition at line 27 of file route_kstate.cc.

| void RouteKState::InitEncoder | ( | vr_route_req & | req, |
| int | id, | ||
| sandesh_op::type | op_code | ||
| ) | const |
Definition at line 18 of file route_kstate.cc.
| const string RouteKState::LabelFlagsToString | ( | int | flags | ) | const |
Definition at line 91 of file route_kstate.cc.
|
virtual |
Implements KState.
Definition at line 51 of file route_kstate.cc.

|
virtual |
Implements KState.
Definition at line 67 of file route_kstate.cc.
| int RouteKState::family_id_ |
Definition at line 12 of file route_kstate.h.
| sandesh_op::type RouteKState::op_code_ |
Definition at line 13 of file route_kstate.h.
| std::vector<int8_t> RouteKState::prefix_ |
Definition at line 15 of file route_kstate.h.