*/
#include "vom/ip_unnumbered.hpp"
-#include "vom/cmd.hpp"
+#include "vom/ip_unnumbered_cmds.hpp"
+#include "vom/singular_db_funcs.hpp"
namespace VOM {
/**
ip_unnumbered::sweep()
{
if (m_config) {
- HW::enqueue(
- new unconfig_cmd(m_config, m_itf->handle(), m_l3_itf->handle()));
+ HW::enqueue(new ip_unnumbered_cmds::unconfig_cmd(m_config, m_itf->handle(),
+ m_l3_itf->handle()));
}
HW::write();
}
void
ip_unnumbered::dump(std::ostream& os)
{
- m_db.dump(os);
+ db_dump(m_db, os);
}
void
ip_unnumbered::replay()
{
if (m_config) {
- HW::enqueue(new config_cmd(m_config, m_itf->handle(), m_l3_itf->handle()));
+ HW::enqueue(new ip_unnumbered_cmds::config_cmd(m_config, m_itf->handle(),
+ m_l3_itf->handle()));
}
}
ip_unnumbered::update(const ip_unnumbered& desired)
{
if (!m_config) {
- HW::enqueue(new config_cmd(m_config, m_itf->handle(), m_l3_itf->handle()));
+ HW::enqueue(new ip_unnumbered_cmds::config_cmd(m_config, m_itf->handle(),
+ m_l3_itf->handle()));
}
}
void
ip_unnumbered::event_handler::show(std::ostream& os)
{
- m_db.dump(os);
+ db_dump(m_db, os);
}
}