22 : m_vapi_conn(
new vapi::Connection())
34 m_vapi_conn->disconnect();
42 rv = m_vapi_conn->connect(m_app_name.c_str(),
51 return (*m_vapi_conn);
vl_api_cnat_endpoint_t new
Class representing a connection to VPP.
void disconnect()
Blocking disconnect.
vapi::Connection & ctx()
Retrun the VAPI context the commands will use.
The VPP Object Model (VOM) library.
int connect()
Blocking [re]connect call - always eventually succeeds, or the universe expires.