aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/onos_cluster/files
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/onos_cluster/files')
-rwxr-xr-xdeploy/adapters/ansible/roles/onos_cluster/files/driver.sh5
-rwxr-xr-x[-rw-r--r--]deploy/adapters/ansible/roles/onos_cluster/files/sfc_plugins.conf6
2 files changed, 11 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/onos_cluster/files/driver.sh b/deploy/adapters/ansible/roles/onos_cluster/files/driver.sh
new file mode 100755
index 00000000..97706dbe
--- /dev/null
+++ b/deploy/adapters/ansible/roles/onos_cluster/files/driver.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+sed -i '/\[networking_sfc.sfc.drivers\]/a onos = networking_onos.services.sfc.driver:OnosSfcDriver' /usr/local/lib/python2.7/dist-packages/networking_sfc-3.0.0.dist-info/entry_points.txt
+
+sed -i '/\[networking_sfc.flowclassifier.drivers\]/a onos = networking_onos.services.flowclassifier.driver:OnosFlowClassifierDriver' /usr/local/lib/python2.7/dist-packages/networking_sfc-3.0.0.dist-info/entry_points.txt
diff --git a/deploy/adapters/ansible/roles/onos_cluster/files/sfc_plugins.conf b/deploy/adapters/ansible/roles/onos_cluster/files/sfc_plugins.conf
index ddef928d..a5049f61 100644..100755
--- a/deploy/adapters/ansible/roles/onos_cluster/files/sfc_plugins.conf
+++ b/deploy/adapters/ansible/roles/onos_cluster/files/sfc_plugins.conf
@@ -2,3 +2,9 @@
service_plugins = networking_sfc.services.sfc.plugin.SfcPlugin,networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin,onos_router
+[sfc]
+drivers = onos
+
+[flowclassifier]
+drivers = onos
+