X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Finterface_factory.hpp;h=120816bddba44273257f7b6f4d681209d7cd24f3;hb=33b81da;hp=dda52752352e2d2cd0eef227d75ab8cd1fda7a9b;hpb=164e5f8c63652028ecb9c3570e1ea8618b163071;p=vpp.git diff --git a/extras/vom/vom/interface_factory.hpp b/extras/vom/vom/interface_factory.hpp index dda52752352..120816bddba 100644 --- a/extras/vom/vom/interface_factory.hpp +++ b/extras/vom/vom/interface_factory.hpp @@ -18,11 +18,18 @@ #include +#include "vom/bond_interface.hpp" #include "vom/bond_member.hpp" #include "vom/interface.hpp" +#include "vom/pipe.hpp" +#include "vom/tap_interface.hpp" +#include #include #include +#include +#include +#include #include namespace VOM { @@ -39,11 +46,23 @@ public: static std::shared_ptr new_vhost_user_interface( const vapi_payload_sw_interface_vhost_user_details& vd); + static std::shared_ptr new_af_packet_interface( + const vapi_payload_af_packet_details& vd); + + static std::shared_ptr new_tap_interface( + const vapi_payload_sw_interface_tap_details& vd); + + static std::shared_ptr new_tap_v2_interface( + const vapi_payload_sw_interface_tap_v2_details& vd); + static std::shared_ptr new_bond_interface( const vapi_payload_sw_interface_bond_details& vd); static bond_member new_bond_member_interface( const vapi_payload_sw_interface_slave_details& vd); + + static std::shared_ptr new_pipe_interface( + const vapi_payload_pipe_details& payload); }; };