VOM: GBP: L3-out subnets need only the sclass not an EPG
[vpp.git] / extras / vom / vom / gbp_subnet.hpp
index f18aa01..bff32ff 100644 (file)
@@ -82,7 +82,7 @@ public:
    */
   gbp_subnet(const gbp_route_domain& rd,
              const route::prefix_t& prefix,
-             const gbp_endpoint_group& epg);
+             sclass_t sclass);
 
   /**
    * Copy Construct
@@ -220,6 +220,11 @@ private:
    */
   std::shared_ptr<gbp_endpoint_group> m_epg;
 
+  /**
+   * Sclass for l3-out subnets
+   */
+  sclass_t m_sclass;
+
   /**
    * A map of all bridge_domains
    */