Add Qos transcriber file and n/w and port extensions
[neutron.git] / transcriber / src / main / java / org / opendaylight / neutron / transcriber / NeutronTranscriberProvider.java
index 3ce44be3b76921ab2f44ff4731da97befad246aa..e73a65f4088a0a896b5dd519be7b5bec285d12dc 100644 (file)
@@ -38,6 +38,7 @@ import org.opendaylight.neutron.spi.INeutronVPNIKEPolicyCRUD;
 import org.opendaylight.neutron.spi.INeutronVPNIPSECPolicyCRUD;
 import org.opendaylight.neutron.spi.INeutronVPNIPSECSiteConnectionsCRUD;
 import org.opendaylight.neutron.spi.INeutronVPNServiceCRUD;
+import org.opendaylight.neutron.spi.INeutronQosPolicyCRUD;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
 import org.slf4j.Logger;
@@ -82,6 +83,7 @@ public class NeutronTranscriberProvider
     private NeutronSFCPortPairInterface sfcPortPairInterface;
     private NeutronSFCPortPairGroupInterface sfcPortPairGroupInterface;
     private NeutronSFCPortChainInterface sfcPortChainInterface;
+    private NeutronQosPolicyInterface qosPolicyInterface;
 
     public NeutronTranscriberProvider(BundleContext context, DataBroker db) {
         LOGGER.debug("DataBroker set to: {}", db);
@@ -181,6 +183,9 @@ public class NeutronTranscriberProvider
         sfcPortChainInterface = new NeutronSFCPortChainInterface(db);
         registerCRUDInterface(INeutronSFCPortChainCRUD.class, sfcPortChainInterface);
 
+        qosPolicyInterface = new NeutronQosPolicyInterface(db);
+        registerCRUDInterface(INeutronQosPolicyCRUD.class, qosPolicyInterface);
+
         // We don't need context any more
         this.context = null;
     }