Fixes for 'make UNATTENDED=yes CC=clang CXX=clang verify'
[vpp.git] / src / vpp-api / vom / ip_unnumbered.cpp
index 7df391c..caeeb41 100644 (file)
@@ -14,7 +14,8 @@
  */
 
 #include "vom/ip_unnumbered.hpp"
-#include "vom/cmd.hpp"
+#include "vom/ip_unnumbered_cmds.hpp"
+#include "vom/singular_db_funcs.hpp"
 
 namespace VOM {
 /**
@@ -49,8 +50,8 @@ void
 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();
 }
@@ -58,14 +59,15 @@ ip_unnumbered::sweep()
 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()));
   }
 }
 
@@ -83,7 +85,8 @@ void
 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()));
   }
 }
 
@@ -126,7 +129,7 @@ ip_unnumbered::event_handler::order() const
 void
 ip_unnumbered::event_handler::show(std::ostream& os)
 {
-  m_db.dump(os);
+  db_dump(m_db, os);
 }
 }