16 #ifndef __VOM_RA_CONFIG_H__ 17 #define __VOM_RA_CONFIG_H__ 19 #include <vapi/ip.api.vapi.hpp> 33 uint8_t default_router,
34 uint32_t max_interval);
59 void to_vpp(vapi_payload_sw_interface_ip6nd_ra_config& ra_config)
const;
90 uint8_t m_send_unicast;
100 uint8_t m_default_router;
106 uint32_t m_max_interval;
113 uint32_t m_min_interval;
127 uint32_t m_initial_count;
133 uint32_t m_initial_interval;
ra_config(uint8_t suppress, uint8_t send_unicast, uint8_t default_router, uint32_t max_interval)
Construct a new object matching the desried state.
~ra_config()=default
Destructor.
The VPP Object Model (VOM) library.
bool operator==(const ra_config &ra_config) const
Comparison operator - only used for UT.
A representation of Router Advertisement configuration.
std::string to_string() const
convert to string format for debug purposes
void to_vpp(vapi_payload_sw_interface_ip6nd_ra_config &ra_config) const
convert the ra config to VPP API