GBP: Sclass to src-epg conversions
[vpp.git] / extras / vom / vom / gbp_endpoint_group.hpp
index 4957800..b60b155 100644 (file)
@@ -51,6 +51,15 @@ public:
   gbp_endpoint_group(epg_id_t epg_id,
                      const gbp_route_domain& rd,
                      const gbp_bridge_domain& bd);
+  gbp_endpoint_group(epg_id_t epg_id,
+                     uint16_t sclass,
+                     const interface& itf,
+                     const gbp_route_domain& rd,
+                     const gbp_bridge_domain& bd);
+  gbp_endpoint_group(epg_id_t epg_id,
+                     uint16_t sclass,
+                     const gbp_route_domain& rd,
+                     const gbp_bridge_domain& bd);
 
   /**
    * Copy Construct
@@ -177,6 +186,11 @@ private:
    */
   epg_id_t m_epg_id;
 
+  /**
+   * The SClass on the wire
+   */
+  uint16_t m_sclass;
+
   /**
    * The uplink interface for the endpoint group
    */